剩余模块:生产入库,销售出库

This commit is contained in:
2025-05-20 14:40:44 +08:00
parent 14a5fa371b
commit 933ddab8f3
68 changed files with 8868 additions and 13081 deletions

View File

@@ -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'))