马宇豪
2024-01-19 f52ca56c8508f33c1dad9c7dcaaaec701c83e3e3
src/views/purchase/person.vue
@@ -155,6 +155,9 @@
                <el-table-column label="退货数量(挂、个)" prop="returnnum" align="center" width="100">
                </el-table-column>
                <el-table-column label="最近购买时间" prop="saletime" align="center" width="200">
                    <template slot-scope="scope">
                        <span>{{scope.row.saletime | formatDate}}</span>
                    </template>
                </el-table-column>
                <el-table-column label="证件照" align="center">
                    <template slot-scope="scope">
@@ -201,8 +204,9 @@
import {getCityListData, getProvinceListData , } from "../../api/area";
import uploadDialog from "./customerPhoto/index";
import Cookies from "js-cookie";
export default {
    name: "addSelfExam",
    name: "person",
    data(){
        return{
            tableKey:'',
@@ -278,6 +282,7 @@
      uploadDialog
    },
    created() {
        console.log('Component created:', this.$options.name);
      this.initValidTime()
      this.getPersonProductList()
      this.getProvince()
@@ -312,7 +317,6 @@
            }
            this.listLoading = false
        },
        showPurchaseDetail(val){
            this.$refs.person.openPersonPurchaseDetail(this.listQuery.filter.starttime,this.listQuery.filter.endtime,val.identify,val.companynumber,this.listQuery.filter.directioncode)