fix:修复查询订单号异常

This commit is contained in:
2024-07-31 16:11:58 +08:00
parent 3de0fdbaf8
commit 076ef25531
2 changed files with 6 additions and 1 deletions

View File

@@ -388,7 +388,9 @@ export default {
this.form.checked = row.material_code this.form.checked = row.material_code
this.form.sale_order_name = this.saleOrderName this.form.sale_order_name = this.saleOrderName
await crudPackagerelation.updateEntityList(this.form) await crudPackagerelation.updateEntityList(this.form)
const res = crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.saleOrderName }) debugger
const queryParam = { sale_order_name: this.saleOrderName, type: '0' }
const res = crudSubpackagerelation.queryContainerization(queryParam)
this.openParam = res.content this.openParam = res.content
this.clearSelection() this.clearSelection()
this.form.tableMater = [] this.form.tableMater = []

View File

@@ -224,6 +224,7 @@ export default {
this.crud.toQuery() this.crud.toQuery()
}, },
async divOpen() { async divOpen() {
debugger
this.saleOrderName = this.currentRow.sale_order_name this.saleOrderName = this.currentRow.sale_order_name
const queryParam = { sale_order_name: this.currentRow.sale_order_name, type: '0' } const queryParam = { sale_order_name: this.currentRow.sale_order_name, type: '0' }
const res = await crudSubpackagerelation.queryContainerization(queryParam) const res = await crudSubpackagerelation.queryContainerization(queryParam)
@@ -231,6 +232,8 @@ export default {
// this.divShow = true // this.divShow = true
}, },
divOpen1() { divOpen1() {
debugger
this.saleOrderName = this.currentRow.sale_order_name
const queryParam = { sale_order_name: this.currentRow.sale_order_name, type: '0' } const queryParam = { sale_order_name: this.currentRow.sale_order_name, type: '0' }
crudSubpackagerelation.queryContainerization(queryParam).then(res => { crudSubpackagerelation.queryContainerization(queryParam).then(res => {
this.openParam = res.content this.openParam = res.content