98d4c17a by lihua

修复重新提交问题

1 parent c780ea84
...@@ -232,7 +232,7 @@ const getTableBtns = (row) => { ...@@ -232,7 +232,7 @@ const getTableBtns = (row) => {
232 if (flowState === 3) { 232 if (flowState === 3) {
233 btnsArr.push({ label: "删除", value: "del" }) 233 btnsArr.push({ label: "删除", value: "del" })
234 } 234 }
235 if (flowState === 3 && (bizApproveState != 'D' || row.crossPlatformApproveState == 'E' || row.crossPlatformApproveState == 'R')) { 235 if (flowState === 3 && bizApproveState != 'D') {
236 btnsArr.push({ label: "重新提交", value: "redit" }) 236 btnsArr.push({ label: "重新提交", value: "redit" })
237 } 237 }
238 if (isShowCancel) { 238 if (isShowCancel) {
......
...@@ -212,7 +212,7 @@ const getTableBtns = (row, includeDetail = true) => { ...@@ -212,7 +212,7 @@ const getTableBtns = (row, includeDetail = true) => {
212 if (flowState === 2) { 212 if (flowState === 2) {
213 btnsArr.push(...[{ label: "通过", value: "pass" }, { label: "驳回", value: "reject" }]) 213 btnsArr.push(...[{ label: "通过", value: "pass" }, { label: "驳回", value: "reject" }])
214 } else if (flowState === 3) { 214 } else if (flowState === 3) {
215 if (bizApproveState != 'D' || row.crossPlatformApproveState == 'E' || row.crossPlatformApproveState == 'R') { 215 if (bizApproveState != 'D') {
216 btnsArr.push({ label: "重新提交", value: "edit" }) 216 btnsArr.push({ label: "重新提交", value: "edit" })
217 } 217 }
218 } 218 }
......
...@@ -174,7 +174,7 @@ const tableInfo = ref({ ...@@ -174,7 +174,7 @@ const tableInfo = ref({
174 if (flowState === 3) { 174 if (flowState === 3) {
175 list.push({ label: "删除", value: "del" }) 175 list.push({ label: "删除", value: "del" })
176 } 176 }
177 if (flowState === 3 && (bizApproveState != 'D' || row.crossPlatformApproveState == 'E' || row.crossPlatformApproveState == 'R')) { 177 if (flowState === 3 && bizApproveState != 'D') { //重新提交过的不能再重新提交
178 list.push({ label: "重新提交", value: "redit" }) //已驳回 178 list.push({ label: "重新提交", value: "redit" }) //已驳回
179 } 179 }
180 if (isShowCancel) { 180 if (isShowCancel) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!