zhanbo.xu

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

......@@ -47,6 +47,7 @@
id="inputInner-edit-logisticsNo"
v-model="formData.logisticsNo"
:remote="true"
disabled
clearable
filterable
collapse-tags
......@@ -193,6 +194,7 @@ export default {
if (val) {
this.formData.logisticsNo = this.logisticsNo;
this.formData.receiptType = "list";
this.receiptInfo = "";
setTimeout(() => {
this.getOtherInfo(this.logisticsNo);
}, 100);
......@@ -362,6 +364,8 @@ export default {
receiptType: "",
logisticsNo: "",
receiptStatus: "",
preNo: "",
invtNo: "",
};
this.loadings.dialogLoading = false;
this.receiptInfo = "";
......
......@@ -183,6 +183,13 @@ export default {
},
},
watch: {
outerVisible(val) {
if (val) {
this.receiptInfo = "";
}
},
},
data() {
return {
formData: {
......@@ -240,6 +247,9 @@ export default {
},
methods: {
getpreNoInfo(e) {
console.log(e);
},
handleOtherInfo() {
if (this.formData.logisticsNo) {
this.getOtherInfo(this.formData.logisticsNo);
......@@ -247,6 +257,8 @@ export default {
},
// 生成xml
receiptXml() {
console.log("==============");
if (!this.formData.receiptType) {
return;
}
......@@ -262,6 +274,7 @@ export default {
if (!this.formData.invtNo) {
return;
}
generateReceiptXml({
...this.formData,
logisticsNo: this.formData.logisticsNo,
......@@ -343,6 +356,8 @@ export default {
receiptType: "",
logisticsNo: "",
receiptStatus: "",
preNo: "",
invtNo: "",
};
this.loadings.dialogLoading = false;
this.receiptInfo = "";
......