剩余模块:生产退料
This commit is contained in:
@@ -111,6 +111,7 @@
|
||||
inputFocus: true,
|
||||
scanFrameDataFeedback: {},
|
||||
shortcutDataFeedback: {},
|
||||
code:''
|
||||
})
|
||||
onLoad((pageData : any) => {
|
||||
console.log(pageData);
|
||||
@@ -133,7 +134,8 @@
|
||||
|
||||
})
|
||||
const scanConfirmFun = (e : any) => {
|
||||
getReceiveBillScanData(e)
|
||||
if(e != '') state.code = e
|
||||
getReceiveBillScanData(state.code)
|
||||
}
|
||||
const shortcutBoxShowShow = (val : boolean) => {
|
||||
state.shortcutRefShow = val
|
||||
@@ -161,11 +163,13 @@
|
||||
if (debounceTimer.value !== null) clearTimeout(debounceTimer.value)
|
||||
debounceTimer.value = setTimeout(() => {
|
||||
state.queryString = e
|
||||
if(e != '') state.code = e
|
||||
if (state.queryString !== '') getReceiveBillScanData(e)
|
||||
})
|
||||
}
|
||||
const confirmFun = (e : any) => {
|
||||
getReceiveBillScanData(e)
|
||||
if(e != '') state.code = e
|
||||
getReceiveBillScanData(state.code)
|
||||
}
|
||||
//查询录入
|
||||
const getReceiveBillScanData = (val : string) => {
|
||||
@@ -220,7 +224,7 @@
|
||||
temporaryScanDraftSave({
|
||||
FVHUBFormId: "PRD_PPBOM", //数据类型
|
||||
FVHUBFBillNo: state.BillNo, //单据编号
|
||||
FVHUBScanNumber: state.queryString, //条码
|
||||
FVHUBScanNumber: state.code, //条码
|
||||
FVHUBMaterialNumber: item.articlesStr, //物料编码
|
||||
FVHUBScanQty: item.quantityStr + '', //扫描数量
|
||||
FVHUBEntryId: scanFrameRef.value.state.receiveBillScanData.Id, //物料ID
|
||||
|
||||
Reference in New Issue
Block a user