diff --git a/src/api/inout/order.js b/src/api/inout/order.js
index c6bcc551..25770bb2 100644
--- a/src/api/inout/order.js
+++ b/src/api/inout/order.js
@@ -673,3 +673,13 @@ export function getProcessingOrder(params) {
params: params
});
}
+
+
+export function batchUpdateCode(query) {
+ return axios({
+ url: "/udiwms/ioSplit/collect/order/batchUpdateCode",
+ method: "post",
+ data: query
+ });
+}
+
diff --git a/src/views/collect/DealOrder.vue b/src/views/collect/DealOrder.vue
index 0f42cc4f..767f2781 100644
--- a/src/views/collect/DealOrder.vue
+++ b/src/views/collect/DealOrder.vue
@@ -165,7 +165,7 @@
-
+
{
- },
- });
+ // this.$alert(tip, "提示", {
+ // confirmButtonText: "确定",
+ // type: "warning",
+ // closeOnClickModal: true,
+ // callback: (action) => {
+ // },
+ // });
+
+ this.warnVisible = true;
+ this.warnResult = tip;
this.scanTip = "扫码拆零确认:"
this.$refs.inputRef.focus();
this.$refs.inputRef.select();
@@ -802,6 +805,30 @@ export default {
}
//剔除码
this.removeCodesTemp(query)
+ } else if (this.scanSplit) {
+
+ //todo 拆零扫码确认
+ const codeArray = this.filterQuery.code.split(";");
+ let query = {
+ orderId: this.formData.billNo,
+ codeList: codeArray
+ }
+ //更新扫码确认
+ batchUpdateCode(query).then((response) => {
+ this.saveLoading = false
+ if (response.code === 20000) {
+ this.$message.success('确认成功')
+ this.result = ''
+ this.$refs.inputRef.focus()
+ this.getBizDetailList();
+ } else {
+ this.$message.error(response.message)
+ }
+ this.loading = false
+ this.saveLoading = false
+ })
+
+
} else {
enterCodeWeb(tQuery).then((response) => {
if (response.code === 20000) {
@@ -1576,6 +1603,9 @@ export default {
this.scanStatus = null
this.scanTip = "扫码录入:"
this.placeholder = '请点击输入框进行选扫码'
+ this.scanSplit = false;
+ this.warnVisible = false;
+ this.warnResult = "";
},
},
mounted() {