diff --git a/src/views/emis/EmisBaseTools/CityPicker.vue b/src/views/emis/EmisBaseTools/CityPicker.vue index 621f4dd3..b14d8e97 100644 --- a/src/views/emis/EmisBaseTools/CityPicker.vue +++ b/src/views/emis/EmisBaseTools/CityPicker.vue @@ -44,7 +44,7 @@ this.svalue = newVal; }, svalue(newVal, oldVal) { - this.$emit("input", this.svalue); + // this.$emit("input", this.svalue); }, parentCode(newVal) { this.queryData(); diff --git a/src/views/emis/EmisBaseTools/ProvincePicker.vue b/src/views/emis/EmisBaseTools/ProvincePicker.vue index 59b12d3d..931f3294 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,36 +38,33 @@ }; }, 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() { this.$emit("input", this.svalue); - this.$emit("onChange"); + this.$emit("onChange",this.svalue); }, + queryData() { - this.optionItems =[]; - if(this.countryCode==null && this.svalue==null){ - return; - } - let queryParams = {countryCode:this.countryCode,regionType:1}; + let queryParams = { + pageNum:1, + pageSize:50, + countryCode:this.countryCode, + regionCode:this.svalue, + regionType:1 + }; + console.log(queryParams); listSimpleEmisRegion(queryParams).then(response => { this.optionItems = response.rows; + console.log(response); }); }, diff --git a/src/views/emis/emisCustomerUser/moneyUserForm.vue b/src/views/emis/emisCustomerUser/moneyUserForm.vue index d0824b6b..7d0fdce8 100644 --- a/src/views/emis/emisCustomerUser/moneyUserForm.vue +++ b/src/views/emis/emisCustomerUser/moneyUserForm.vue @@ -419,7 +419,7 @@ export default { customerNameEn: null, phone: null, mobile: null, - customerType: this.customerType, + customerType: '1', settledType: '1', userType: null, company: null, diff --git a/src/views/emis/emisCustomerUser/monthUserForm.vue b/src/views/emis/emisCustomerUser/monthUserForm.vue index d4870523..3afc30da 100644 --- a/src/views/emis/emisCustomerUser/monthUserForm.vue +++ b/src/views/emis/emisCustomerUser/monthUserForm.vue @@ -7,8 +7,8 @@ --> - - + + @@ -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 @@ --> - {{scope.row.company}} + {{scope.row.customerName}} 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 @@ - - - - - - - {{ $t('发货信息') }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{dict.label}} - - - - - - - - - - - - - - - {{dict.label}} - - - - - - - - - - - - - - {{ $t('收寄件信息') }} - - - - - - - 寄件信息 - - - - 寄件地址薄 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 寄件/签收短信 - - - - - - - - - - - 收件信息 - - - 收件地址薄 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 派件短信 - - - - - - - - - - {{ $t('重量收费信息') }} - - - - - - - 货物信息 - - - - - - - - - handleCalcQty(val,scope.row)" size="mini" placeholder=""> - - - - - - handleCalcVolume(val,scope.row)" size="mini" placeholder=""> - - - - - handleCalcVolume(val,scope.row)" size="mini" placeholder=""> - - - - - handleCalcVolume(val,scope.row)" size="mini" placeholder=""> - - - - - - - - - - handleCalcQty(val,scope.row)" size="mini" placeholder=""> - - - - - - - deleteGoodsItem(scope.row)"> - - - - - - - - - - - - - (kg) - - - - - - - - (m³) - - - - - - - - - - - - - - (kg) - - - - - - - - (kg) - - - - - - - - - - - - - 是否超重 - - - - - - - - - - - 是 - 否 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{dict.label}} - - - - - - - - - - - - - {{ scope.row.feeName }} - - - - - {{ scope.row.fee }} - - - - - - handleCalcFeeItem(val,scope.row)" size="mini" placeholder=""> - - - - - handleCalcFeeItem(val,scope.row)" size="mini" placeholder=""> - - - - - handleCalcFeeItem(val,scope.row)" size="mini" placeholder=""> - - - - - - - - - - deleteFeeItem(scope.row)"> - - - - - - - - 增加自定义费用 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 确 定 - 重置 - - - - - - - - - - - - - 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 @@ - handleCalcVolume(val,scope.row)" size="mini" placeholder=""> + handleCalcVolume(scope.row)" size="mini" placeholder=""> - handleCalcVolume(val,scope.row)" size="mini" placeholder=""> + handleCalcVolume(scope.row)" size="mini" placeholder=""> - handleCalcVolume(val,scope.row)" size="mini" placeholder=""> + handleCalcVolume(scope.row)" size="mini" placeholder=""> + + + + + handleCargoQtyChange(scope.row)" size="mini" placeholder=""> @@ -415,11 +420,6 @@ - - - handleCargoQtyChange(val,scope.row)" @keyup.enter.native="(val)=>handleCargoQtyChange(val,scope.row)" size="mini" placeholder=""> - - - - - + @@ -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 {