[update] 修改企标复审流程

This commit is contained in:
lideqin
2023-11-22 13:47:59 +08:00
parent 12a8210534
commit 99ec73db94
10 changed files with 462 additions and 53 deletions
@@ -11,11 +11,11 @@
</span>
</div>
<a-form-model-item class="item-model" prop="standardNumber">
<standard-selection :source="StandardSource.ENTERPRISE.value"
<enterprise-recheck-plan-selection
:disabled="disabled"
:disabledSourceSearch="true"
type="radio"
v-model="formInline.standardNumber"
:standardNumber="formInline.standardNumber"
@listChange="listChange" />
</a-form-model-item>
</div>
@@ -59,12 +59,12 @@
<script>
import { StandardSource } from '@/enums/commonEnums'
import StandardSelection from '@/components/selection/StandardSelection'
import UserSelection from '@/components/selection/UserSelection'
import EnterpriseRecheckPlanSelection from '@/components/selection/EnterpriseRecheckPlanSelection'
export default {
name: 'StandardizationInitBaseInfo',
components: { StandardSelection, UserSelection },
components: { EnterpriseRecheckPlanSelection, UserSelection },
props: {
disabled: {
type: Boolean,
@@ -78,7 +78,7 @@ export default {
formInline: {},
rules: {
// 企标编号
standardNumber: [
recheckPlanId: [
{
required: true,
message: this.$t('workCenter.enterpriseInitChangePlan.enterpriseStandardNum') + this.$t('cannotEmpty'),
@@ -127,7 +127,8 @@ export default {
// 企标名称
this.formInline.standardName = value[0].standardName
// 主起草人赋值给联络人
// this.formInline.contactPerson = value[0].
this.formInline.contactPerson = value[0].mainDraftingUser
this.formInline.contactPerson_dictText = value[0].mainDraftingUser_dictText
this.$emit('processNameChange', (this.formInline.standardNumber || '') + '-' + (this.formInline.standardName || '') + '-' + '复审')
},
// 选择用户得到用户名