fix 标准入库/变更、标准征求意见、法规采购流程保存
This commit is contained in:
@@ -140,7 +140,8 @@
|
||||
<user-selection v-decorator="['moduleOwnerId', validatorRules.moduleOwnerId]"
|
||||
:name-str="dispatchInfo.moduleOwnerId_dictText"
|
||||
type="checkbox"
|
||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardConsultationProcess.moduleOwner')" />
|
||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardConsultationProcess.moduleOwner')"
|
||||
@nameChange="handleModuleOwnerNameChange" />
|
||||
</a-form-item>
|
||||
</div>
|
||||
<!--下发人员类型选了模块负责人或者模块负责人分发节点都显示这个选项-->
|
||||
@@ -151,7 +152,8 @@
|
||||
<user-selection v-decorator="['designEngineerId', validatorRules.designEngineerId]"
|
||||
:name-str="dispatchInfo.designEngineerId_dictText"
|
||||
type="checkbox"
|
||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardConsultationProcess.designEngineer')" />
|
||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardConsultationProcess.designEngineer')"
|
||||
@nameChange="handleDesignEngineerNameChange" />
|
||||
</a-form-item>
|
||||
</div>
|
||||
</div>
|
||||
@@ -977,6 +979,7 @@ export default {
|
||||
basicServiceInfo = Object.assign(this.basicServiceInfo, this.basicServiceInfoForm.getFieldsValue())
|
||||
// 流程审批信息
|
||||
approvalInfo = Object.assign(this.approvalInfo, this.approvalInfoForm.getFieldsValue())
|
||||
approvalInfo.finishFlag = 1 // 保存——1;提交/同意/驳回——2
|
||||
// 业务分派信息
|
||||
if (this.showDispatchInformation) {
|
||||
dispatchInfo = Object.assign(this.dispatchInfo, this.dispatchInfoForm.getFieldsValue())
|
||||
@@ -1012,6 +1015,7 @@ export default {
|
||||
this.approvalInfoForm.validateFields((errors, values) => {
|
||||
if (!errors) {
|
||||
approvalInfo = Object.assign(this.approvalInfo, values)
|
||||
approvalInfo.finishFlag = 2 // 保存——1;提交/同意/驳回——2
|
||||
} else {
|
||||
flag = false
|
||||
}
|
||||
@@ -1248,6 +1252,20 @@ export default {
|
||||
*/
|
||||
consultationDueDateDisabledDate (current) {
|
||||
return current && current < moment().subtract(1, 'days').endOf('day')
|
||||
},
|
||||
/**
|
||||
* 模块负责人名字
|
||||
* @param name
|
||||
*/
|
||||
handleModuleOwnerNameChange (name) {
|
||||
this.dispatchInfo.moduleOwnerId_dictText = name
|
||||
},
|
||||
/**
|
||||
* 设计工程师名字
|
||||
* @param name
|
||||
*/
|
||||
handleDesignEngineerNameChange (name) {
|
||||
this.dispatchInfo.designEngineerId_dictText = name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user