剩余模块:生产退料
This commit is contained in:
@@ -44,9 +44,9 @@
|
||||
<view>{{ item['FVHUBStock.FName'] }}</view>
|
||||
</view>
|
||||
<view class="itemBox">
|
||||
<view>{{ t('receive.ph') }}</view>
|
||||
<view>{{ t('public.xxh') }}</view>
|
||||
<view class="zongjian"></view>
|
||||
<view>{{ item.FVHUBFlot }}</view>
|
||||
<view>{{ item.FVHUBJSON }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</uni-swipe-action-item>
|
||||
@@ -142,6 +142,7 @@
|
||||
FVHUBScanQty: item.BarCodeQty + '', //扫描数量
|
||||
FVHUBEntryId: item.Id, //行ID
|
||||
FVHUBFlot: item.FLot_Text, //批号
|
||||
FVHUBJSON:item.MaxcessSNo, //序列号
|
||||
FVHUBStock: {
|
||||
FNUMBER: item.StockId.Number //仓库编号
|
||||
},
|
||||
@@ -151,10 +152,15 @@
|
||||
}).then((res : any) => {
|
||||
console.log(res);
|
||||
state.queryString = ''
|
||||
if (res.data.IsSuccess) {
|
||||
fnDataList();
|
||||
uni.$u.toast(t('public.cg'))
|
||||
if(res.code === 200) {
|
||||
if (res.data.IsSuccess) {
|
||||
fnDataList();
|
||||
uni.$u.toast(t('public.cg'))
|
||||
}
|
||||
} else {
|
||||
uni.$u.toast(res.msg)
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
//删除数据
|
||||
@@ -210,15 +216,18 @@
|
||||
if (FDRes.code === 200) {
|
||||
fnDataList();
|
||||
uni.$u.toast(t('public.cg'))
|
||||
console.log('===================================================',BPRes.data.SuccessEntitys);
|
||||
toPages('/pages/encasement/print',{
|
||||
type:'Arr',
|
||||
list:JSON.stringify(BPRes.data.SuccessEntitys)
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
})
|
||||
} else {
|
||||
uni.$u.toast(t('public.noDataMessage'))
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user