add:增加出库分配支持同单分配到同一个托盘逻辑
fix:出库库存变动时如果库存数0则变成出库状态,不为0的为组盘状态等待后续走回库逻辑
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -203,7 +203,7 @@
|
||||
</div>
|
||||
<AddDialog @AddChanged="querytable" />
|
||||
<ViewDialog :dialog-show.sync="viewShow" :rowmst="mstrow" @AddChanged="querytable" />
|
||||
<DivDialog :dialog-show.sync="divShow" :open-array="openParam" :stor-id="storId" :rowmst="mstrow" @DivChanged="querytable" />
|
||||
<DivDialog :dialog-show.sync="divShow" :open-array="openParam" :stor-code="storCode" :rowmst="mstrow" @DivChanged="querytable" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
checkrows: [],
|
||||
storlist: [],
|
||||
billtypelist: [],
|
||||
storId: null
|
||||
storCode: null
|
||||
}
|
||||
},
|
||||
mounted: function() {
|
||||
@@ -382,7 +382,7 @@ export default {
|
||||
divOpen() {
|
||||
checkoutbill.getOutBillDtl({ 'iostorinv_id': this.currentRow.iostorinv_id }).then(res => {
|
||||
this.openParam = res
|
||||
this.storId = this.currentRow.stor_id
|
||||
this.storCode = this.currentRow.stor_code
|
||||
this.divShow = true
|
||||
this.mstrow = this.currentRow
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user