[update] 修改企标制修订流程区分自动发起和手动发起的撤回草稿,手动发起的撤回不获取计划详情

This commit is contained in:
lideqin
2024-02-20 15:08:28 +08:00
parent 043e4fb765
commit ac6c744610
@@ -400,8 +400,9 @@ export default {
},
methods: {
initData (data) {
console.log(data)
this.isEditSetData = true
if ((this.flowInitType === 'auto' && !data.businessJson) || (this.$route.query.draftId && !data.standard_number)) {
if ((this.flowInitType === 'auto' && !data.businessJson) || (this.$route.query.draftId && data.autoStartFlag)) {
// 说明是刚刚自动发起的流程,或者是自动发起的流程强制撤回后的草稿
getEnterpriseStandardPlanInfoById({ id: data.espId }).then(res => {
if (res.success) {