剩余模块:生产退料

This commit is contained in:
2025-06-09 22:07:10 +08:00
parent 63a44af1d8
commit 03e22dd9f6
77 changed files with 2832 additions and 817 deletions

View File

@@ -40,11 +40,11 @@
<view class="zongjian"></view>
<view>{{ item.FVHUBScanQty }}</view>
</view>
<view class="itemBox">
<!-- <view class="itemBox">
<view>{{ t('index.ck') }}</view>
<view class="zongjian"></view>
<view>{{ item['FVHUBStock.FName'] }}</view>
</view>
</view> -->
<view class="itemBox">
<view>{{ t('public.xxh') }}</view>
<view class="zongjian"></view>
@@ -91,7 +91,8 @@
{ name: computed(() => t('index.bz')), type: '1' },
{ name: computed(() => t('index.minbz')), type: '2' },
],
options: []
options: [],
code:''
})
onShow(() => {
fnDataList()
@@ -103,7 +104,8 @@
}).exec();
})
const scanConfirmFun = (e : any) => {
getReceiveBillScanData(e)
if(e != '') state.code = e
getReceiveBillScanData(state.code)
}
/**
* 数据逻辑
@@ -125,6 +127,7 @@
if (debounceTimer.value !== null) clearTimeout(debounceTimer.value)
debounceTimer.value = setTimeout(() => {
state.queryString = e
if(e != '') state.code = e
if (state.queryString !== '') getReceiveBillScanData(e)
})
}
@@ -134,6 +137,7 @@
FBarCode: val,
}).then((res : any) => {
if (res.code === 200) {
console.log('断点1',res.data.Entry[0]);
postTemporaryScanDraftSaveFun(res.data.Entry[0])
}
architectureRef.value.closeFun()
@@ -144,7 +148,7 @@
console.log(item);
temporaryScanDraftSave({
FVHUBFormId: "VHUB_BarcodePackBill", //数据类型
FVHUBScanNumber: state.queryString, //条码
FVHUBScanNumber: state.code, //条码
FVHUBMaterialNumber: item.MaterialNumber, //物料编码
FVHUBScanQty: item.BarCodeQty + '', //扫描数量
FVHUBEntryId: item.Id, //行ID
@@ -171,6 +175,7 @@
}
//删除数据
const fStockFlexDetailDeleteFun = (item : any) => {
debugger
uni.showModal({
title: t('index.ts'), content: t('index.qdysc'), cancelText: t('index.qx'), confirmText: t('index.qd'),
success(res) {