add:增加出库分配支持同单分配到同一个托盘逻辑

fix:出库库存变动时如果库存数0则变成出库状态,不为0的为组盘状态等待后续走回库逻辑
This commit is contained in:
zhangzq
2025-08-19 14:48:44 +08:00
parent 953cc5bae5
commit 48506ecb4a
10 changed files with 146 additions and 55 deletions

View File

@@ -261,7 +261,7 @@ export default {
type: Array,
default: () => { return [] }
},
storId: {
storCode: {
type: String,
default: null
}
@@ -298,7 +298,7 @@ export default {
sects: [],
pointList: [],
rules: {
},
}
}
},
watch: {
@@ -321,7 +321,7 @@ export default {
},
methods: {
open() {
crudSectattr.getSect({ 'stor_id': this.storId }).then(res => {
crudSectattr.getSectCode({ 'stor_code': this.storCode }).then(res => {
this.sects = res.content
})
@@ -344,7 +344,7 @@ export default {
},
openStructIvt() {
this.currentRow.remark = ''
this.currentRow.stor_id = this.storId
this.currentRow.stor_code = this.storCode
this.loadingAlldiv = true
checkoutbill.getStructIvt(this.currentRow).then(res => {
this.openParam = res