diff --git a/src/views/business/stockOrderEditDistribution.vue b/src/views/business/stockOrderEditDistribution.vue index 74a603e..de5ad96 100644 --- a/src/views/business/stockOrderEditDistribution.vue +++ b/src/views/business/stockOrderEditDistribution.vue @@ -430,15 +430,11 @@ export default { this.submitFunction(status); } else { for (let i = 0; i < this.codeArray.length; i++) { - // if (this.$isBlank(this.codeArray[i].batchNo)) { - // if (!this.codeArray[i].allowNoBatch) { - // return this.$message.error('批次号不能为空'); - // } - // } + if (this.$isBlank(this.codeArray[i].productDate) && this.$isBlank(this.codeArray[i].expireDate)) { return this.$message.error('生产日期与失效日期不能全部为空'); } - if (this.$isBlank(this.codeArray[i].reCount) || this.codeArray[i].reCount === '0') { + if (this.$isBlank(this.codeArray[i].reCount) || this.codeArray[i].reCount < 1) { return this.$message.error('配货数量不能小于0'); } if (this.detailCountMax) { diff --git a/src/views/business/stockOrderNewDistribution.vue b/src/views/business/stockOrderNewDistribution.vue index 4a3600c..0088da4 100644 --- a/src/views/business/stockOrderNewDistribution.vue +++ b/src/views/business/stockOrderNewDistribution.vue @@ -1,394 +1,394 @@ diff --git a/src/views/inout/DialogSelectRl.vue b/src/views/inout/DialogSelectRl.vue index e81470e..07a03c7 100644 --- a/src/views/inout/DialogSelectRl.vue +++ b/src/views/inout/DialogSelectRl.vue @@ -453,22 +453,22 @@
- 以使用单元数量入库 - 是否禁用 - 是否寄售 - 允许无批次号 - 允许无失效日期 - 允许无生产日期
diff --git a/src/views/thrsys/SysUdimsConfig.vue b/src/views/thrsys/SysUdimsConfig.vue index d1e5b47..d977cbf 100644 --- a/src/views/thrsys/SysUdimsConfig.vue +++ b/src/views/thrsys/SysUdimsConfig.vue @@ -199,7 +199,10 @@
- 添加扫码单据类型 + 添加扫码单据类型 +