Commit 8c45aa1a authored by jingnan's avatar jingnan 👀

移库入库调整枯萎组件优化

parent ddd382fb
......@@ -120,6 +120,15 @@ export default {
handler(v) {
if (v !== this.selVal) {
this.selVal = this.value
// 解决虚拟滚动后返回界面数据展示为id/code的问题
if (!this.options.length && this.selVal && this.selVal.includes('/')) {
this.options = [{
label: this.selVal.split('/')[1],
value: this.selVal
}]
} else {
this.options = []
}
}
}
}
......
......@@ -65,7 +65,7 @@ export default {
}
const extWorkCenterId = this.$refs.inStorageMoveform.$refs.asCom.form.extWorkCenterId
const params = this.basicData.inventory.map(item => {
const params = this.resultData.map(item => {
return {
inventoryId: item.id,
extWorkCenterId: extWorkCenterId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment