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 @@ - - -