来料验证,成套领料验证,生产退料验证,下推接口入参更换
This commit is contained in:
parent
39fb07af49
commit
12fbda1604
@ -288,9 +288,6 @@
|
||||
Ids:state.materialId,
|
||||
EntryIds: item.FVHUBEntryId,
|
||||
FQty: item.FVHUBScanQty + ' ',
|
||||
// Flot: item.FVHUBFlot,
|
||||
// StockId: item.FVHUBStock,
|
||||
// StockFlex: item.FVHUBStockFlex,
|
||||
FMaxcessSNo: item.FVHUBJSON
|
||||
})
|
||||
})
|
||||
|
@ -256,7 +256,7 @@
|
||||
};
|
||||
uni.showLoading({ mask: true });
|
||||
//获取扫描数据里的所有数据
|
||||
temporaryScanList(param).then(res => {
|
||||
temporaryScanList(param).then((res :any) => {
|
||||
if (res.code == 200) {
|
||||
if (res.data.list.length != 0) {
|
||||
res.data.list.forEach((item : any) => {
|
||||
|
@ -257,6 +257,7 @@
|
||||
if (res.confirm) {
|
||||
let ids : any = []
|
||||
let checkIds : any = []
|
||||
let ScanEntry : any = []
|
||||
let param = {
|
||||
FormId: 'PUR_ReceiveBill',
|
||||
UserId: uni.getStorageSync('userInfo').Context.UserId,
|
||||
@ -272,10 +273,16 @@
|
||||
})
|
||||
resLIst.data.list.forEach((item : any) => {
|
||||
checkIds.push(item.FID)
|
||||
ScanEntry.push({
|
||||
Ids:state.materialId,
|
||||
EntryIds: item.FVHUBEntryId,
|
||||
FQty: item.FVHUBScanQty + ' ',
|
||||
})
|
||||
})
|
||||
PURReceiveBillScanCheck({
|
||||
EntryIds: ids.toString(),
|
||||
Ids: state.materialId
|
||||
// EntryIds: ids.toString(),
|
||||
// Ids: state.materialId
|
||||
Items:ScanEntry
|
||||
}).then((resCheck : any) => {
|
||||
if (resCheck.code === 200) {
|
||||
fStockFlexDetailDelete({ Ids: checkIds.toString() }).then((resDelete : any) => {
|
||||
|
2
unpackage/dist/dev/app-plus/app-service.js
vendored
2
unpackage/dist/dev/app-plus/app-service.js
vendored
@ -24954,7 +24954,7 @@ This will fail in production if not fixed.`);
|
||||
FMaxcessSNo: item.FVHUBJSON
|
||||
});
|
||||
});
|
||||
PRD_FeedMtrlCheck({ Item: ScanEntry }).then((resA) => {
|
||||
PRD_FeedMtrlCheck({ Items: ScanEntry }).then((resA) => {
|
||||
if (resA.code === 200) {
|
||||
fStockFlexDetailDelete({ Ids: ids.toString() }).then((res3) => {
|
||||
if (res3.code === 200) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user