采购说明:
@@ -120,34 +118,49 @@
+
+
+
+ 拒绝原因:
+
+
+
+
+
+
+
+
-
-
- 拒绝原因:
-
-
-
-
-
-
-
+
+
-
- 产品录入
-
-
+
+
+
+
+
+ 产品录入
+
+ 选入申购单
+
+
+
+
+
@@ -162,18 +175,7 @@
prop="spec"
show-overflow-tooltip
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -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,6 +341,19 @@ export default {
return;
}
if (status === '2') {
+
+ 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) {
+ return this.$message.error("采购仓库不能为空!");
+ }
+ if (this.formData.invWarehouseCode == "" || this.formData.invWarehouseCode == null) {
+ return this.$message.error("采购分库不能为空!");
+ }
for (let i = 0; i < this.codeArray.length; i++) {
if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") {
return this.$message.error('单据数量不能为0');
diff --git a/src/views/purchase/purPlanSearch.vue b/src/views/purchase/purPlanSearch.vue
index c67827b..467c825 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 473a86d..e28b7ef 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 e58f9ca..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
>
-
+
+
-
-
+
-
+
+
@@ -230,6 +255,7 @@
>
@@ -281,7 +307,8 @@ export default {
targetInv: null,
targetSubInv: null,
targetBillType: null,
- auditRemark:"",
+ auditRemark: "",
+ audtoPlan: false,
},
formRules: {},
codeArray: [],
diff --git a/src/views/purchase/pureApplySearch.vue b/src/views/purchase/pureApplySearch.vue
index a4e3b7b..e647b66 100644
--- a/src/views/purchase/pureApplySearch.vue
+++ b/src/views/purchase/pureApplySearch.vue
@@ -52,6 +52,7 @@
+
@@ -93,12 +94,15 @@
-
-
+
+
+
+
+