[update] 企标制修订流程和企标更改流程切换企标或企标计划后,在线编辑文件不置空
This commit is contained in:
@@ -517,7 +517,6 @@ export default {
|
||||
// 上方表单企标编号修改了
|
||||
async listChange (value) {
|
||||
console.log(value)
|
||||
this.onEditFile = ''
|
||||
await this.getStandardFile(value[0].id)
|
||||
console.log(this.onEditFile)
|
||||
},
|
||||
|
||||
@@ -645,7 +645,6 @@ export default {
|
||||
// 征求意见稿计划完成日期,因为部所联络人节点征求意见截止日期需要限制比征求意见稿计划完成日期早
|
||||
this.formInline.solicitationDraftPlanCompleteDate = value[0].solicitationDraftPlanCompleteDate
|
||||
this.formInline = Object.assign({}, this.formInline)
|
||||
this.$emit('listChange')
|
||||
// 设置流程名称
|
||||
const processName = this.formInline.standard_number + '-' + (this.formInline.standard_name || '') + '-' + this.formInline.typeOfRevision_dictText
|
||||
this.$emit('processNameChange', processName)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<base-info-form ref="baseInfoForm" v-bind="$attrs" :disabled="disabled" @processNameChange="processNameChange" @listChange="listChange"></base-info-form>
|
||||
<base-info-form ref="baseInfoForm" v-bind="$attrs" :disabled="disabled" @processNameChange="processNameChange"></base-info-form>
|
||||
<!-- 标准文本 -->
|
||||
<div class="box-title-text form-flex-item">
|
||||
<div class="title-text">
|
||||
@@ -168,9 +168,6 @@ export default {
|
||||
return false
|
||||
}
|
||||
},
|
||||
listChange () {
|
||||
this.onEditFile = ''
|
||||
},
|
||||
processNameChange (value) {
|
||||
this.$emit('processNameChange', value)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user