剩余模块:生产退料

This commit is contained in:
2025-06-09 22:07:10 +08:00
parent 63a44af1d8
commit 03e22dd9f6
77 changed files with 2832 additions and 817 deletions

View File

@@ -113,6 +113,7 @@
inputFocus: true,
scanFrameDataFeedback: {},
shortcutDataFeedback: {},
code:''
})
onLoad((pageData : any) => {
console.log(pageData);
@@ -134,7 +135,8 @@
})
const scanConfirmFun = (e : any) => {
getReceiveBillScanData(e)
if(e != '') state.code = e
getReceiveBillScanData(state.code)
}
const shortcutBoxShowShow = (val : boolean) => {
state.shortcutRefShow = val
@@ -163,6 +165,7 @@
if (debounceTimer.value !== null) clearTimeout(debounceTimer.value)
debounceTimer.value = setTimeout(() => {
state.queryString = e
if(e != '') state.code = e
if (state.queryString !== '') getReceiveBillScanData(e)
}, 500)
}
@@ -215,7 +218,7 @@
temporaryScanDraftSave({
FVHUBFormId: "PUR_ReceiveBill", //数据类型
FVHUBFBillNo: state.FBillNo, //单据编号
FVHUBScanNumber: state.queryString, //条码
FVHUBScanNumber: state.code, //条码
FVHUBMaterialNumber: item.articlesStr, //物料编码
FVHUBScanQty: item.quantityStr + '', //扫描数量
FVHUBEntryId: scanFrameRef.value.state.receiveBillScanData.Id, //物料ID