|
@ -6,15 +6,17 @@ |
|
|
<itemCompareQty :dataContent="dataContent" :handleQty="dataContent.handleQty" |
|
|
<itemCompareQty :dataContent="dataContent" :handleQty="dataContent.handleQty" |
|
|
:isShowPackUnit="false"></itemCompareQty> |
|
|
:isShowPackUnit="false"></itemCompareQty> |
|
|
</template> |
|
|
</template> |
|
|
<package-list :dataContent="dataContent.subList" :isEdit="settingParam.allowModifyQty=='TRUE'" :settingParam="settingParam" @collapseChange="collapseChange"></package-list> |
|
|
<package-list :dataContent="dataContent.subList" |
|
|
|
|
|
:isEdit="settingParam.allowModifyQty=='TRUE'" |
|
|
|
|
|
:settingParam="settingParam" |
|
|
|
|
|
@collapseChange="collapseChange" |
|
|
|
|
|
@updateData="updateData" |
|
|
|
|
|
></package-list> |
|
|
</uni-collapse-item> |
|
|
</uni-collapse-item> |
|
|
</uni-collapse> |
|
|
</uni-collapse> |
|
|
|
|
|
|
|
|
<recommend-qty-edit ref=" receiptEdit" :dataContent="editItem" :settingParam="settingParam" @confirm="confirm"> |
|
|
<recommend-qty-edit ref=" receiptEdit" :dataContent="editItem" :settingParam="settingParam" @confirm="confirm"> |
|
|
</recommend-qty-edit> |
|
|
</recommend-qty-edit> |
|
|
<win-scan-location ref="scanLocationCode" title="目标库位" @getLocation='getLocation' |
|
|
|
|
|
:locationTypeList="locationTypeList"></win-scan-location> |
|
|
|
|
|
<receipt-detail-info-popup ref="jobDetailPopup" :dataContent="showItem"></receipt-detail-info-popup> |
|
|
|
|
|
<comMessage ref="message"></comMessage> |
|
|
<comMessage ref="message"></comMessage> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@ -36,6 +38,7 @@ |
|
|
} from '@/common/array.js'; |
|
|
} from '@/common/array.js'; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
|
|
|
emits: ["updateData"], |
|
|
components: { |
|
|
components: { |
|
|
itemCompareQty, |
|
|
itemCompareQty, |
|
|
recommend, |
|
|
recommend, |
|
@ -124,12 +127,8 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
swipeClick(e, item) { |
|
|
swipeClick(e, item) { |
|
|
if (e.content.text == "详情") { |
|
|
if (e.content.text == "编辑") { |
|
|
this.detail(item) |
|
|
|
|
|
} else if (e.content.text == "编辑") { |
|
|
|
|
|
this.edit(item) |
|
|
this.edit(item) |
|
|
} else if (e.content.text == "库位") { |
|
|
|
|
|
this.showLocation(item) |
|
|
|
|
|
} else if (e.content.text == "移除") { |
|
|
} else if (e.content.text == "移除") { |
|
|
this.remove(item) |
|
|
this.remove(item) |
|
|
} |
|
|
} |
|
@ -138,20 +137,6 @@ |
|
|
this.editItem = item; |
|
|
this.editItem = item; |
|
|
this.$refs.receiptEdit.openTaskEditPopup(item.qty, item.handleQty, item.labelQty); |
|
|
this.$refs.receiptEdit.openTaskEditPopup(item.qty, item.handleQty, item.labelQty); |
|
|
}, |
|
|
}, |
|
|
showLocation(item) { |
|
|
|
|
|
this.locatonItem = item; |
|
|
|
|
|
this.$refs.scanLocationCode.openScanPopup(); |
|
|
|
|
|
}, |
|
|
|
|
|
//扫描源库位 |
|
|
|
|
|
getLocation(location, code) { |
|
|
|
|
|
this.locatonItem.toLocationCode = code; |
|
|
|
|
|
this.$emit('updateData') |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
detail(item) { |
|
|
|
|
|
this.showItem = item; |
|
|
|
|
|
this.$refs.jobDetailPopup.openPopup(item) |
|
|
|
|
|
}, |
|
|
|
|
|
remove(item) { |
|
|
remove(item) { |
|
|
this.$refs.message.showQuestionMessage("确定移除扫描信息?", |
|
|
this.$refs.message.showQuestionMessage("确定移除扫描信息?", |
|
|
res => { |
|
|
res => { |
|
@ -166,6 +151,9 @@ |
|
|
confirm(qty) { |
|
|
confirm(qty) { |
|
|
this.editItem.handleQty = qty; |
|
|
this.editItem.handleQty = qty; |
|
|
this.$emit('updateData') |
|
|
this.$emit('updateData') |
|
|
|
|
|
}, |
|
|
|
|
|
updateData(){ |
|
|
|
|
|
this.$emit('updateData') |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|