fix:出库逻辑
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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}
|
||||
Reference in New Issue
Block a user