fix:出库逻辑

This commit is contained in:
zhangzq
2025-07-11 15:28:39 +08:00
parent db4b49c58f
commit 02f56f7a8d
8 changed files with 156 additions and 334 deletions

View File

@@ -324,7 +324,7 @@ export default {
this.sects = res.content
})
const area_type = 'NBJ01'
const area_type = 'CKQ'
crudPoint.getPointList({ 'region_code': area_type }).then(res => {
this.pointList = res
})
@@ -356,16 +356,16 @@ export default {
},
sectQueryChange(val) {
if (val.length === 1) {
this.mstrow.stor_id = val[0]
this.mstrow.sect_id = ''
this.mstrow.stor_code = val[0]
this.mstrow.sect_code = ''
}
if (val.length === 0) {
this.mstrow.sect_id = ''
this.mstrow.stor_id = ''
this.mstrow.sect_code = ''
this.mstrow.stor_code = ''
}
if (val.length === 2) {
this.mstrow.stor_id = val[0]
this.mstrow.sect_id = val[1]
this.mstrow.stor_code = val[0]
this.mstrow.sect_code = val[1]
}
},
tabledisabled(row) {

View File

@@ -0,0 +1,28 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: 'api/stIvtStructivtflow',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: 'api/stIvtStructivtflow',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: 'api/stIvtStructivtflow',
method: 'put',
data
})
}
export default {add, edit, del}