|
|
@ -624,7 +624,6 @@ export default {
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
console.log(val);
|
|
|
|
|
|
|
|
this.multipleSelection = val;
|
|
|
|
this.multipleSelection = val;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getStorageName(code) {
|
|
|
|
getStorageName(code) {
|
|
|
@ -703,7 +702,6 @@ export default {
|
|
|
|
this.filterQuery.customerId = store.getters.customerId;
|
|
|
|
this.filterQuery.customerId = store.getters.customerId;
|
|
|
|
filterOrder(this.filterQuery)
|
|
|
|
filterOrder(this.filterQuery)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
console.log(response)
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
this.list = response.data.list || [];
|
|
|
|
this.list = response.data.list || [];
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
this.total = response.data.total || 0;
|
|
|
@ -751,7 +749,6 @@ export default {
|
|
|
|
refresgOrderDetail() {
|
|
|
|
refresgOrderDetail() {
|
|
|
|
orderDetail(this.detailQuery)
|
|
|
|
orderDetail(this.detailQuery)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
console.log(response)
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
this.detailList = response.data || [];
|
|
|
|
this.detailList = response.data || [];
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -793,7 +790,6 @@ export default {
|
|
|
|
this.successOrderExportPDFSettingVisible = true;
|
|
|
|
this.successOrderExportPDFSettingVisible = true;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
successOrderExportPDF(row) {
|
|
|
|
successOrderExportPDF(row) {
|
|
|
|
console.log(row)
|
|
|
|
|
|
|
|
let tQuery = {
|
|
|
|
let tQuery = {
|
|
|
|
orderId: row.id,
|
|
|
|
orderId: row.id,
|
|
|
|
customerId: store.getters.customerId
|
|
|
|
customerId: store.getters.customerId
|
|
|
@ -828,7 +824,6 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
selectUnit(row) {
|
|
|
|
selectUnit(row) {
|
|
|
|
console.log(row.id);
|
|
|
|
|
|
|
|
this.unitUpdateQuery.id = this.curIndex;
|
|
|
|
this.unitUpdateQuery.id = this.curIndex;
|
|
|
|
this.unitUpdateQuery.fromCorp = row.name;
|
|
|
|
this.unitUpdateQuery.fromCorp = row.name;
|
|
|
|
this.unitUpdateQuery.fromCorpId = row.unitid;
|
|
|
|
this.unitUpdateQuery.fromCorpId = row.unitid;
|
|
|
@ -920,7 +915,6 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uploadOrderDialog(value) {
|
|
|
|
uploadOrderDialog(value) {
|
|
|
|
console.log(value.id + "---" + value.orderid);
|
|
|
|
|
|
|
|
this.uploadQuery = {
|
|
|
|
this.uploadQuery = {
|
|
|
|
orderId: value.id,
|
|
|
|
orderId: value.id,
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -958,6 +952,7 @@ export default {
|
|
|
|
this.$message.success("选入成功");
|
|
|
|
this.$message.success("选入成功");
|
|
|
|
this.refresgOrderDetail();
|
|
|
|
this.refresgOrderDetail();
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
this.detailList = [];
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.error("选入失败");
|
|
|
|
this.$message.error("选入失败");
|
|
|
|
}
|
|
|
|
}
|
|
|
|