From 39f7a45581e5139a81dd221f496841f860fab620 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Mon, 13 Dec 2021 13:41:12 +0800
Subject: [PATCH] commit
---
.../pages/creatProcess/xmpg/step3.vue | 49 +++++---
.../pages/creatProcess/xmpg2/step6.vue | 113 ------------------
2 files changed, 35 insertions(+), 127 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
index 4c3779ccb..06a3c55c2 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
@@ -142,12 +142,12 @@
-
+
+
{
inboundLiaisonDetail({
@@ -555,6 +577,7 @@ export default {
xcxssrq: item.pepdtos[i].XCXSSRQ,
zccssrq: item.pepdtos[i].ZCCSSRQ
});
+ this.total = this.listForm.breakdownList.length
}
}
} else {
@@ -579,7 +602,7 @@ export default {
this.listForm.breakdownList[this.lsIndex].implementer = nameList;
} else if (this.type === 2) {
this.listForm.breakdownList.forEach(item => {
- this.selectList.forEach(items => {
+ this.selectStandList.forEach(items => {
if (item === items) {
item.implementerId = idList;
item.implementer = nameList;
@@ -594,6 +617,7 @@ export default {
this.modalshowflag = false;
},
choiceZRRS(row, type, index) {
+ this.selectStandList = this.selectList
this.type = type;
if (type === 1) {
this.drawerTitle = "选择责任人";
@@ -653,14 +677,13 @@ export default {
},
//提交事件
handleSubmit() {
+ let standList = []
this.listForm.breakdownList.forEach(item => {
- if (item.implementer === null || item.implementer === "" || item.implementer === undefined) {
- this.sarFlag = false;
- } else {
- this.sarFlag = true;
+ if (item.implementer) {
+ standList.push(item)
}
});
- if (this.sarFlag === true) {
+ this.listForm.breakdownList = standList
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
@@ -684,9 +707,6 @@ export default {
this.isSubmit = false;
}, e => {
});
- } else {
- this.$message.warning("请选择落实人");
- }
},
drawerCheck(data) {
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
@@ -699,6 +719,7 @@ export default {
},
//标准表格选择框改变
selectStandChange(data) {
+ console.log(data);
this.selectList = data;
},
selectThree() {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue
index b388d992c..38d19e256 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue
@@ -121,10 +121,6 @@
align="center"
label="在产车实施日期">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-