From 7b901da9873ba780ea5effc632c0563525587f1c Mon Sep 17 00:00:00 2001 From: anthonyywj2 <353682448@qq.com> Date: Wed, 1 Jun 2022 11:04:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=89=AB=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E8=80=97=E6=9D=90=E5=AD=97=E6=AE=B5=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/code.js | 9 ++ src/views/basic/UdiInfoManage.vue | 10 +- src/views/basic/UdiInfoManageSp.vue | 10 +- src/views/inout/DialogSelectRl.vue | 8 +- src/views/inout/IOAddOrder.vue | 229 +++++++++++++++++++--------- src/views/inout/editCode.vue | 139 +++++++++++++++++ src/views/thrsys/SysUdimsConfig.vue | 2 + 7 files changed, 332 insertions(+), 75 deletions(-) create mode 100644 src/api/inout/code.js create mode 100644 src/views/inout/editCode.vue diff --git a/src/api/inout/code.js b/src/api/inout/code.js new file mode 100644 index 0000000..1e5a40c --- /dev/null +++ b/src/api/inout/code.js @@ -0,0 +1,9 @@ +import axios from "@/utils/axios"; + +export function saveCode(query) { + return axios({ + url: "/warehouse/inout/saveTempCode", + method: "post", + data: query + }); +} diff --git a/src/views/basic/UdiInfoManage.vue b/src/views/basic/UdiInfoManage.vue index d891e6c..cd5e735 100644 --- a/src/views/basic/UdiInfoManage.vue +++ b/src/views/basic/UdiInfoManage.vue @@ -700,7 +700,13 @@ >是否寄售 是否允许无批次号扫码 + >允许无批次号 + + 允许无失效日期 + + 允许无生产日期 @@ -834,6 +840,8 @@ export default { isLock: null, isAdavence: null, allowNoBatch: null, + allowNoExpire:null, + allowNoProduct:null, }, defaultSys: null, isImport: false, diff --git a/src/views/basic/UdiInfoManageSp.vue b/src/views/basic/UdiInfoManageSp.vue index ddabe9a..290bea9 100644 --- a/src/views/basic/UdiInfoManageSp.vue +++ b/src/views/basic/UdiInfoManageSp.vue @@ -643,8 +643,14 @@ 是否寄售 - 是否允许无批次号扫码 + 允许无批次号 + + 允许无失效日期 + + 允许无生产日期 diff --git a/src/views/inout/DialogSelectRl.vue b/src/views/inout/DialogSelectRl.vue index 81955fd..e81470e 100644 --- a/src/views/inout/DialogSelectRl.vue +++ b/src/views/inout/DialogSelectRl.vue @@ -463,7 +463,13 @@ >是否寄售 是否允许无批次号扫码 + >允许无批次号 + + 允许无失效日期 + + 允许无生产日期 diff --git a/src/views/inout/IOAddOrder.vue b/src/views/inout/IOAddOrder.vue index d79e2d7..9c164e9 100644 --- a/src/views/inout/IOAddOrder.vue +++ b/src/views/inout/IOAddOrder.vue @@ -63,7 +63,6 @@ {{ item.name }} @@ -80,9 +79,6 @@ - - - - -
允许出库自动缺量补单 + :disabled="!curAction.changeEnable || corpOrderIdDisabled">允许出库自动缺量补单 + 是否预验收产品 @@ -218,17 +213,9 @@ - - - - - - - - 分段扫码
条码数量:{{ total }} @@ -248,7 +235,26 @@ prop="code" show-overflow-tooltip > - + + + + @@ -274,21 +279,24 @@ 选择产品 - 选择供应商 - + 编辑 + @@ -329,6 +337,33 @@ v-on:closeBindDialog="closeBindDialog" > + + + + + + + + + + +
@@ -337,17 +372,16 @@ + + diff --git a/src/views/thrsys/SysUdimsConfig.vue b/src/views/thrsys/SysUdimsConfig.vue index c0510aa..e343ea0 100644 --- a/src/views/thrsys/SysUdimsConfig.vue +++ b/src/views/thrsys/SysUdimsConfig.vue @@ -298,6 +298,8 @@ export default { this.testLoading = false; if (response.code == 20000) { this.$message.success("连接成功"); + } else { + this.$message.error("连接失败!"); } }) .catch(() => {