采购说明:
@@ -120,34 +118,49 @@
+
+
+
+ 拒绝原因:
+
+
+
+
+
+
+
+
-
-
- 拒绝原因:
-
-
-
-
-
-
-
+
+
-
- 产品录入
-
-
+
+
+
+
+
+ 产品录入
+
+ 选入申购单
+
+
+
+
+
@@ -162,27 +175,43 @@
prop="spec"
show-overflow-tooltip
>
-
-
-
-
+
+ oninput="value=value.replace(/[^d]/g,'')">
+
+
+
+
+
+
+
+
+
+
+
@@ -220,6 +249,7 @@
>
@@ -303,6 +333,7 @@ export default {
},
methods: {
saveOrder(status) {
+
this.$refs["dataForm"].validate(valid => {
if (valid) {
if (this.codeArray.length < 1) {
@@ -310,16 +341,17 @@ export default {
return;
}
if (status === '2') {
- if(this.formData.billDate=="" || this.formData.billDate==null){
+
+ if (this.formData.billDate == "" || this.formData.billDate == null) {
return this.$message.error("单据日期不能为空!");
}
- if(this.formData.billType=="" || this.formData.billType==null){
- return this.$message.error("采购类型不能为空!");
- }
- if(this.formData.locStorageCode=="" || this.formData.locStorageCode==null){
+ // if (this.formData.billType == "" || this.formData.billType == null) {
+ // return this.$message.error("采购类型不能为空!");
+ // }
+ if (this.formData.locStorageCode == "" || this.formData.locStorageCode == null) {
return this.$message.error("采购仓库不能为空!");
}
- if(this.formData.invWarehouseCode=="" || this.formData.invWarehouseCode==null){
+ if (this.formData.invWarehouseCode == "" || this.formData.invWarehouseCode == null) {
return this.$message.error("采购分库不能为空!");
}
for (let i = 0; i < this.codeArray.length; i++) {
diff --git a/src/views/purchase/purPlanSearch.vue b/src/views/purchase/purPlanSearch.vue
index 3f0c9d9..5eb6d1d 100644
--- a/src/views/purchase/purPlanSearch.vue
+++ b/src/views/purchase/purPlanSearch.vue
@@ -43,7 +43,8 @@
{{ parseTime(scope.row.billDate, '{y}-{m}-{d}') }}
-
+
+
@@ -85,9 +86,11 @@
-
-
+
+
+
+
diff --git a/src/views/purchase/pureApplyAudit.vue b/src/views/purchase/pureApplyAudit.vue
index 86f1e55..2249d73 100644
--- a/src/views/purchase/pureApplyAudit.vue
+++ b/src/views/purchase/pureApplyAudit.vue
@@ -52,7 +52,8 @@
{{ parseTime(scope.row.billDate, '{y}-{m}-{d}') }}
-
+
+
@@ -95,9 +96,11 @@
-
-
+
+
+
+
diff --git a/src/views/purchase/pureApplyDetailDialog.vue b/src/views/purchase/pureApplyDetailDialog.vue
index a51ba04..d4afd11 100644
--- a/src/views/purchase/pureApplyDetailDialog.vue
+++ b/src/views/purchase/pureApplyDetailDialog.vue
@@ -89,35 +89,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 当前仓库:
+ 申购说明:
-
-
-
-
- {{ item.name }}
-
-
-
-
- {{ item.name }}
-
-
+
+
@@ -128,25 +140,25 @@
-
-
- 生成采购计划:
-
-
-
-
-
-
- {{ item.originName }}
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -159,6 +171,14 @@
autosize>
+
+
+
+
+
+ 是否生成采购计划
+
+
@@ -180,10 +200,11 @@
prop="spec"
show-overflow-tooltip
>
-
+
+
-
-
+
+
-
-
+
+
+
+
+
以使用单元数量入库
+ >启用使用单元
diff --git a/src/views/thrsys/thrOrderNew.vue b/src/views/thrsys/thrOrderNew.vue
index 7a9c134..a98bd8f 100644
--- a/src/views/thrsys/thrOrderNew.vue
+++ b/src/views/thrsys/thrOrderNew.vue
@@ -476,11 +476,7 @@ export default {
if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") {
return this.$message.error('单据数量不能为0');
}
- if (this.$isBlank(this.codeArray[i].batchNo)) {
- return this.$message.error('批次号不能为空');
- }
-
-
+
}
}
if (status === '0') {