|
@@ -84,6 +84,9 @@
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
clearable
|
|
clearable
|
|
|
multiple
|
|
multiple
|
|
|
|
|
+ filterable
|
|
|
|
|
+ allow-create
|
|
|
|
|
+ default-first-option
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
|
:label="item.trakNumber"
|
|
:label="item.trakNumber"
|
|
@@ -441,7 +444,7 @@
|
|
|
this.oldProductList = JSON.parse(JSON.stringify(productList));
|
|
this.oldProductList = JSON.parse(JSON.stringify(productList));
|
|
|
if (eom_saleOrder_addInvoice?.value == 1) {
|
|
if (eom_saleOrder_addInvoice?.value == 1) {
|
|
|
this.$refs.inventoryTableref &&
|
|
this.$refs.inventoryTableref &&
|
|
|
- this.$refs.inventoryTableref.putTableValue(productList,true);
|
|
|
|
|
|
|
+ this.$refs.inventoryTableref.putTableValue(productList, true);
|
|
|
} else {
|
|
} else {
|
|
|
this.$refs.inventoryTableref &&
|
|
this.$refs.inventoryTableref &&
|
|
|
this.$refs.inventoryTableref.$refs.productListRef.open(
|
|
this.$refs.inventoryTableref.$refs.productListRef.open(
|
|
@@ -519,7 +522,10 @@
|
|
|
data.carNo = data.carNo ? data.carNo.split(',') : [];
|
|
data.carNo = data.carNo ? data.carNo.split(',') : [];
|
|
|
this.form = data;
|
|
this.form = data;
|
|
|
this.$refs.inventoryTableref &&
|
|
this.$refs.inventoryTableref &&
|
|
|
- this.$refs.inventoryTableref.putTableValue(data.productList,true);
|
|
|
|
|
|
|
+ this.$refs.inventoryTableref.putTableValue(
|
|
|
|
|
+ data.productList,
|
|
|
|
|
+ true
|
|
|
|
|
+ );
|
|
|
this.$refs.stowageTableRef &&
|
|
this.$refs.stowageTableRef &&
|
|
|
this.$refs.stowageTableRef.putTableValue(data.carList);
|
|
this.$refs.stowageTableRef.putTableValue(data.carList);
|
|
|
this.$refs.taskInfoTableRef &&
|
|
this.$refs.taskInfoTableRef &&
|
|
@@ -543,7 +549,7 @@
|
|
|
linkName: '',
|
|
linkName: '',
|
|
|
linkPhone: '',
|
|
linkPhone: '',
|
|
|
orderNo: '',
|
|
orderNo: '',
|
|
|
- productList:[],
|
|
|
|
|
|
|
+ productList: [],
|
|
|
orderId: '',
|
|
orderId: '',
|
|
|
contactId: '',
|
|
contactId: '',
|
|
|
contactName: '',
|
|
contactName: '',
|
|
@@ -553,7 +559,7 @@
|
|
|
pricingWay: ''
|
|
pricingWay: ''
|
|
|
});
|
|
});
|
|
|
this.$refs.inventoryTableref &&
|
|
this.$refs.inventoryTableref &&
|
|
|
- this.$refs.inventoryTableref.putTableValue([],true);
|
|
|
|
|
|
|
+ this.$refs.inventoryTableref.putTableValue([], true);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
this.searchParams = {
|
|
this.searchParams = {
|
|
@@ -600,7 +606,7 @@
|
|
|
entrustedCode: code,
|
|
entrustedCode: code,
|
|
|
entrustedId: id
|
|
entrustedId: id
|
|
|
});
|
|
});
|
|
|
- this.getSaleOrderDetails([orderId]);
|
|
|
|
|
|
|
+ this.getSaleOrderDetails([orderId]);
|
|
|
// productList.forEach((item, index) => {
|
|
// productList.forEach((item, index) => {
|
|
|
// item.id = '';
|
|
// item.id = '';
|
|
|
// item['tempId'] = index;
|
|
// item['tempId'] = index;
|