From 057e588d2bf317e6114cedb6f53e6c8fa665f683 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 22 May 2024 14:21:10 +0800 Subject: [PATCH 1/2] md --- .../emis/EmisBaseTools/ProvincePicker.vue | 29 ++-- .../emis/emisWaybill/emisWaybillRecord.vue | 162 +++++++----------- 2 files changed, 71 insertions(+), 120 deletions(-) diff --git a/src/views/emis/EmisBaseTools/ProvincePicker.vue b/src/views/emis/EmisBaseTools/ProvincePicker.vue index 59b12d3d..b3172d83 100644 --- a/src/views/emis/EmisBaseTools/ProvincePicker.vue +++ b/src/views/emis/EmisBaseTools/ProvincePicker.vue @@ -29,11 +29,6 @@ type: String, required: false }, - isInitiated:{ - type: [Boolean,String], - required: false, - default:false - } }, data() { @@ -43,34 +38,32 @@ }; }, watch: { - value(newVal) { - this.svalue = newVal; - }, - svalue(newVal, oldVal) { - this.$emit("input", this.svalue); - }, countryCode(newVal, oldVal) { this.queryData(); } }, created() { - if(this.isInitiated || this.svalue!=null){ - this.queryData(); - } + this.queryData(); }, methods: { onChange() { + console.log("xxxxx00000:"+this.svalue) this.$emit("input", this.svalue); - this.$emit("onChange"); + this.$emit("onChange",this.svalue); }, - queryData() { + queryData() { this.optionItems =[]; - if(this.countryCode==null && this.svalue==null){ + if(!this.countryCode && !this.svalue){ return; } - let queryParams = {countryCode:this.countryCode,regionType:1}; + let queryParams = { + pageNum:1, + pageSize:100, + countryCode:this.countryCode, + regionType:1 + }; listSimpleEmisRegion(queryParams).then(response => { this.optionItems = response.rows; }); diff --git a/src/views/emis/emisWaybill/emisWaybillRecord.vue b/src/views/emis/emisWaybill/emisWaybillRecord.vue index 2bfd3560..c33388ea 100644 --- a/src/views/emis/emisWaybill/emisWaybillRecord.vue +++ b/src/views/emis/emisWaybill/emisWaybillRecord.vue @@ -297,7 +297,7 @@
- +
@@ -360,7 +360,7 @@ - + (kg) @@ -397,17 +397,22 @@ + + + @@ -415,11 +420,6 @@ - - - - - + + @@ -18,6 +18,9 @@ + + + @@ -76,7 +79,14 @@ - + @@ -357,7 +367,7 @@ export default { simpleName: null, phone: null, mobile: null, - customerType: null, + customerType: '2', settledType: '2', userType: null, company: null, @@ -415,13 +425,14 @@ export default { this.$refs["form"].validate(valid => { if (valid) { if (this.form.id != null) { + this.form.company=this.form.customerName; updateEmisCustomerUser(this.form).then(response => { this.$modal.msgSuccess("修改成功"); this.$emit("on-changed"); }); } else { addEmisCustomerUser(this.form).then(response => { - this.$modal.msgSuccess("修改成功"); + this.$modal.msgSuccess("新增成功"); this.$emit("on-changed"); }); } diff --git a/src/views/emis/emisCustomerUser/monthUserList.vue b/src/views/emis/emisCustomerUser/monthUserList.vue index 28ad1498..d7a2a506 100644 --- a/src/views/emis/emisCustomerUser/monthUserList.vue +++ b/src/views/emis/emisCustomerUser/monthUserList.vue @@ -117,7 +117,7 @@ --> diff --git a/src/views/emis/emisWaybill/emisWaybillModify copy.vue b/src/views/emis/emisWaybill/emisWaybillModify copy.vue deleted file mode 100644 index d8835fee..00000000 --- a/src/views/emis/emisWaybill/emisWaybillModify copy.vue +++ /dev/null @@ -1,1492 +0,0 @@ - - - - - - diff --git a/src/views/emis/emisWaybill/waybillList.vue b/src/views/emis/emisWaybill/waybillList.vue index 394f4278..8ce49cca 100644 --- a/src/views/emis/emisWaybill/waybillList.vue +++ b/src/views/emis/emisWaybill/waybillList.vue @@ -260,20 +260,17 @@ - - - - + @@ -287,10 +284,8 @@ - - - + @@ -405,7 +400,8 @@ - + + @@ -432,7 +428,9 @@ import CountryPicker1 from '@/views/emis/EmisBaseTools/CountryPicker.vue'; export default { name: "WaybillIsPrinted", components: { elDateAdvPicker,emisWaybillForm,CountryPicker0,CountryPicker1 }, - dicts: ['emis_waybill_status','emis_declare_mode','emis_customs_clear','emis_payment_type' + dicts: ['emis_qujian_fangshi','emis_declare_mode','emis_customs_clear', + 'emis_tab_packing_type','emis_tab_dispatch_mode','emis_payment_type', + 'emis_calc_fee_type','emis_print_type' ], data() { return {