剩余模块:生产入库,销售出库
This commit is contained in:
@@ -225,7 +225,7 @@
|
||||
success(res) {
|
||||
if (res.confirm) {
|
||||
let ids : any = []
|
||||
// let checkIds : any = []
|
||||
let checkIds : any = []
|
||||
let param = {
|
||||
FormId: 'PUR_ReceiveBill',
|
||||
UserId: uni.getStorageSync('userInfo').Context.UserId,
|
||||
@@ -238,6 +238,7 @@
|
||||
if (resScanList.data.list.length != 0) {
|
||||
resScanList.data.list.forEach((item : any) => {
|
||||
ids.push(item.FVHUBEntryId)
|
||||
checkIds.push(item.FID)
|
||||
})
|
||||
console.log(ids);
|
||||
// debugger
|
||||
@@ -250,7 +251,7 @@
|
||||
Ids: state.materialId
|
||||
}).then((resCheck : any) => {
|
||||
if (resCheck.code === 200) {
|
||||
fStockFlexDetailDelete({ Ids: ids.toString() }).then((resDelete : any) => {
|
||||
fStockFlexDetailDelete({ Ids: checkIds.toString() }).then((resDelete : any) => {
|
||||
if (resDelete.code === 200) {
|
||||
fnDataList(state.materialId);
|
||||
uni.$u.toast(t('public.cg'))
|
||||
|
||||
Reference in New Issue
Block a user