From 69c67ff5acedc217a07a18b847ed22284e80a56d Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期一, 03 十一月 2025 17:49:04 +0800
Subject: [PATCH] 核磅录入增加根据接口查询客户名称校验是否一致
---
pages/product/WorkshopOrderCancellationIssued/index.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/pages/product/WorkshopOrderCancellationIssued/index.vue b/pages/product/WorkshopOrderCancellationIssued/index.vue
index e50244c..af53612 100644
--- a/pages/product/WorkshopOrderCancellationIssued/index.vue
+++ b/pages/product/WorkshopOrderCancellationIssued/index.vue
@@ -114,10 +114,10 @@
</view>
<view class="row-list">
<view class="_label">
- <view class="_label-name">鍙栨秷涓嬪彂鏁伴噺锛�</view>
+ <view class="_label-name">鍙栨秷鏁伴噺锛�</view>
</view>
<view class="_content">
- {{ item.suppliedQuantity }}
+ {{ item.stockQuantity }}
</view>
</view>
</view>
@@ -133,6 +133,7 @@
:show-confirm-button="true"
@confirm="confirm"
@cancel="cancel"
+
>
<view class="popup-content">
<view class="packing-registration-param">
@@ -181,12 +182,12 @@
</view>
<view class="packing-registration-param-item param-extra">
<view class="packing-registration-param-item-left">
- <text class="item-one">鍙栨秷涓嬪彂鏁伴噺</text>
+ <text class="item-one">鍙栨秷鏁伴噺</text>
</view>
<view class="packing-registration-param-item-right">
<u-input
class="item-one item-two"
- v-model="modalList.returnQuantity"
+ v-model="modalList.stockQuantity"
/>
</view>
</view>
@@ -323,8 +324,8 @@
this.$refs.uModal.clearLoading(); // 娓呴櫎鍔犺浇鐘舵��
return;
}
- if (!this.modalList.returnQuantity) {
- this.$u.toast("璇疯緭鍏ュ彇娑堜笅鍙戞暟閲�");
+ if (!this.modalList.stockQuantity) {
+ this.$u.toast("璇疯緭鍏ュ彇娑堟暟閲�");
this.$refs.uModal.clearLoading(); // 娓呴櫎鍔犺浇鐘舵��
return;
}
@@ -337,8 +338,8 @@
this.$u.toast("鎻愪氦鎴愬姛");
this.showModal = false;
const obj = {
- suppliedQuantity: this.modalList.suppliedQuantity,
- outBatchNo: this.modalList.returnQuantity,
+ stockQuantity: this.modalList.stockQuantity,
+ outBatchNo: this.modalList.outBatchNo,
};
this.hasScanSnList.push(obj);
}
@@ -406,12 +407,11 @@
},
// 鎵爜鍚庢暟鎹洖鏄�
scanHandle(val) {
- const { outBatchNo } = val;
- const { workstationId, operationTaskId } = this.registerInfo;
+ const { BN } = val;
+ const { id } = this.registerInfo;
const obj = {
- outBatchNo: outBatchNo,
- feedingWorkstationId: workstationId,
- operationTaskId: operationTaskId,
+ outBatchNo: BN,
+ moId: id,
};
this.getReturnInfo(obj);
// this.$u.api.WorkshopOrderCancellationIssued.checkReturnPartPDA(obj).then(
@@ -483,7 +483,7 @@
}
.packing-registration-param-view {
- height: 450rpx;
+ height: 200rpx;
background-color: #fff;
border-radius: 10rpx;
padding: 0rpx 23rpx;
--
Gitblit v1.9.3