zhanbo.xu

feat: 新增物流运单编号查询逻辑接口和字段必填

...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
47 id="inputInner-edit-logisticsNo" 47 id="inputInner-edit-logisticsNo"
48 v-model="formData.logisticsNo" 48 v-model="formData.logisticsNo"
49 :remote="true" 49 :remote="true"
50 + disabled
50 clearable 51 clearable
51 filterable 52 filterable
52 collapse-tags 53 collapse-tags
...@@ -193,6 +194,7 @@ export default { ...@@ -193,6 +194,7 @@ export default {
193 if (val) { 194 if (val) {
194 this.formData.logisticsNo = this.logisticsNo; 195 this.formData.logisticsNo = this.logisticsNo;
195 this.formData.receiptType = "list"; 196 this.formData.receiptType = "list";
197 + this.receiptInfo = "";
196 setTimeout(() => { 198 setTimeout(() => {
197 this.getOtherInfo(this.logisticsNo); 199 this.getOtherInfo(this.logisticsNo);
198 }, 100); 200 }, 100);
...@@ -362,6 +364,8 @@ export default { ...@@ -362,6 +364,8 @@ export default {
362 receiptType: "", 364 receiptType: "",
363 logisticsNo: "", 365 logisticsNo: "",
364 receiptStatus: "", 366 receiptStatus: "",
367 + preNo: "",
368 + invtNo: "",
365 }; 369 };
366 this.loadings.dialogLoading = false; 370 this.loadings.dialogLoading = false;
367 this.receiptInfo = ""; 371 this.receiptInfo = "";
......
...@@ -183,6 +183,13 @@ export default { ...@@ -183,6 +183,13 @@ export default {
183 }, 183 },
184 }, 184 },
185 185
186 + watch: {
187 + outerVisible(val) {
188 + if (val) {
189 + this.receiptInfo = "";
190 + }
191 + },
192 + },
186 data() { 193 data() {
187 return { 194 return {
188 formData: { 195 formData: {
...@@ -240,6 +247,9 @@ export default { ...@@ -240,6 +247,9 @@ export default {
240 }, 247 },
241 248
242 methods: { 249 methods: {
250 + getpreNoInfo(e) {
251 + console.log(e);
252 + },
243 handleOtherInfo() { 253 handleOtherInfo() {
244 if (this.formData.logisticsNo) { 254 if (this.formData.logisticsNo) {
245 this.getOtherInfo(this.formData.logisticsNo); 255 this.getOtherInfo(this.formData.logisticsNo);
...@@ -247,6 +257,8 @@ export default { ...@@ -247,6 +257,8 @@ export default {
247 }, 257 },
248 // 生成xml 258 // 生成xml
249 receiptXml() { 259 receiptXml() {
260 + console.log("==============");
261 +
250 if (!this.formData.receiptType) { 262 if (!this.formData.receiptType) {
251 return; 263 return;
252 } 264 }
...@@ -262,6 +274,7 @@ export default { ...@@ -262,6 +274,7 @@ export default {
262 if (!this.formData.invtNo) { 274 if (!this.formData.invtNo) {
263 return; 275 return;
264 } 276 }
277 +
265 generateReceiptXml({ 278 generateReceiptXml({
266 ...this.formData, 279 ...this.formData,
267 logisticsNo: this.formData.logisticsNo, 280 logisticsNo: this.formData.logisticsNo,
...@@ -343,6 +356,8 @@ export default { ...@@ -343,6 +356,8 @@ export default {
343 receiptType: "", 356 receiptType: "",
344 logisticsNo: "", 357 logisticsNo: "",
345 receiptStatus: "", 358 receiptStatus: "",
359 + preNo: "",
360 + invtNo: "",
346 }; 361 };
347 this.loadings.dialogLoading = false; 362 this.loadings.dialogLoading = false;
348 this.receiptInfo = ""; 363 this.receiptInfo = "";
......