diff --git a/src/pages/repair/testedInBound/codeList.vue b/src/pages/repair/testedInBound/codeList.vue
index 975021a..8bdfef9 100644
--- a/src/pages/repair/testedInBound/codeList.vue
+++ b/src/pages/repair/testedInBound/codeList.vue
@@ -259,6 +259,7 @@ const cinfirmCodeInBound = async () => {
typeId: queryParams.value.typeId,
agreementId: queryParams.value.agreementId,
maCodeList: arr,
+ inputCode:queryParams.value.inputCode
}
const res = await repairInputWarehouseApi(param)
if (res.code === 200) {
@@ -350,6 +351,7 @@ const confirmBoxInBound = async () => {
agreementId: queryParams.value.agreementId,
inputType: 3,
maCodeList: boxInfo.value,
+ inputCode:queryParams.value.inputCode
}
const res = await repairInputWarehouseApi(param)
if (res.code === 200) {
@@ -471,6 +473,7 @@ const onHandleInbound = async () => {
typeId: queryParams.value.typeId,
agreementId: queryParams.value.agreementId,
maCodeList: paramsList,
+ inputCode:queryParams.value.inputCode
}
console.log(param)
const res = await repairInputWarehouseApi(param)
diff --git a/src/pages/repair/testedInBound/codeScan.vue b/src/pages/repair/testedInBound/codeScan.vue
index 5701053..55162bb 100644
--- a/src/pages/repair/testedInBound/codeScan.vue
+++ b/src/pages/repair/testedInBound/codeScan.vue
@@ -238,7 +238,7 @@ const cinfirmCodeInBound = async () => {
// agreementId: maInfo.value.agreementId,
// maCodeList: arr,
// }
- let param = { qrCode: qrCode.value, maCode: maInfo.value.maCode, maId: maInfo.value.maId }
+ let param = { qrCode: qrCode.value, maCode: maInfo.value.maCode, maId: maInfo.value.maId,inputCode:maInfo.value.inputCode }
console.log("bbbbbbbbbbbbbbbbb")
const res = await repairInputWarehouseApiTwo(param)
console.log("yyyyyyyyy",res)
diff --git a/src/pages/repair/testedInBound/details.vue b/src/pages/repair/testedInBound/details.vue
index 25aedfd..1722faa 100644
--- a/src/pages/repair/testedInBound/details.vue
+++ b/src/pages/repair/testedInBound/details.vue
@@ -101,7 +101,7 @@
取消
- 确定{{ countdown > 0 ? '(' + countdown + ')' : '' }}
+ 确定{{ countdown > 0 ? '(' + countdown + ')' : '' }}
@@ -124,7 +124,7 @@
取消
- 确定{{ countdown > 0 ? '(' + countdown + ')' : '' }}
+ 确定{{ countdown > 0 ? '(' + countdown + ')' : '' }}
@@ -233,6 +233,7 @@ const onClick=async (e,item)=> {
const confirmNumInBound = async () => {
console.log(inBoundNum.value)
if (countdown.value > 0) return
+ console.log(inputItem.value.inputCode)
if(inBoundNum.value==0){
uni.showToast({ title: '入库数量需大于0!',icon: 'none'})
}else{
@@ -240,15 +241,16 @@ const confirmNumInBound = async () => {
taskId:taskInfo.value.taskId,
typeId:inputItem.value.typeId,
pendingInputNum:inputItem.value.pendingInputNum,
- inputNum:inBoundNum.value
- }
- const res = await repairInputWarehouseApi(param)
+ inputNum:inBoundNum.value,
+ inputCode:inputItem.value.inputCode
+ }
+ const res = await repairInputWarehouseApi(param)
if(res.code==200){
uni.showToast({ title: '入库成功!',icon: 'none'})
getDetailsData()
- inBoundNumPopup.value.close();
- }
- }
+ inBoundNumPopup.value.close();
+ }
+ }
}
const closePopup = () => {
inBoundNumPopup.value.close();