diff --git a/src/components/ImportForm/src/ImportSupplierMoldCostForm.vue b/src/components/ImportForm/src/ImportSupplierMoldCostForm.vue index a229e9337..d916e4e2b 100644 --- a/src/components/ImportForm/src/ImportSupplierMoldCostForm.vue +++ b/src/components/ImportForm/src/ImportSupplierMoldCostForm.vue @@ -12,7 +12,7 @@ @@ -41,8 +41,8 @@ importUrl + '?yearsMonthStr=' + queryParams.yearsMonthStr + - '&customerCode=' + - queryParams.customerCode + + '&supplierCode=' + + queryParams.supplierCode + '&file=' + file + '&updatePart=' + @@ -292,15 +292,15 @@ const verifyData = async () => { message.error('请选择年月') return } - if (queryParams.customerCode==''||queryParams.customerCode==null) { - message.error('请选择客户代码') + if (queryParams.supplierCode==''||queryParams.supplierCode==null) { + message.error('请选择供应商代码') return } if (fileList.value.length == 0) { message.error('请上传文件') return } - const data = await SuppliperMoldCostMainApi.verifyDataExist(queryParams.yearsMonthStr,queryParams.customerCode); + const data = await SuppliperMoldCostMainApi.verifyDataExist(queryParams.yearsMonthStr,queryParams.supplierCode); console.log('data',data) if(data.status==0){ submitForm(); @@ -430,7 +430,7 @@ const importTemplate = () => { } const customerList = ref(); const queryParams = reactive({ - customerCode: '', + supplierCode: '', yearsMonthStr: '', })