[update] 市场清单发布流程增加清单说明字段
This commit is contained in:
@@ -99,6 +99,20 @@
|
|||||||
placeholder="" />
|
placeholder="" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<!-- 清单说明 -->
|
||||||
|
<a-col :span="24">
|
||||||
|
<a-form-item
|
||||||
|
:labelCol="$i18n.locale === EN ? longLabelColEn : longLabelCol"
|
||||||
|
:wrapperCol="$i18n.locale === EN ? longWrapperColEn : longWrapperCol"
|
||||||
|
:label="$t('standardRegulationLibrary.marketRegulationsList.listDeclaration')"
|
||||||
|
:colon="formItemColon">
|
||||||
|
<a-textarea v-decorator="['manifestDesc', validatorRules.manifestDesc]"
|
||||||
|
disabled
|
||||||
|
:maxLength="500"
|
||||||
|
:auto-size="{ minRows: 3, maxRows: 6 }"
|
||||||
|
placeholder=""/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -378,11 +392,13 @@ export default {
|
|||||||
processInfo.manifestNo = this.model.businessInfoDTO.manifestNo
|
processInfo.manifestNo = this.model.businessInfoDTO.manifestNo
|
||||||
// 清单名称
|
// 清单名称
|
||||||
processInfo.manifestName = this.model.businessInfoDTO.manifestName
|
processInfo.manifestName = this.model.businessInfoDTO.manifestName
|
||||||
|
// 清单说明
|
||||||
|
processInfo.manifestDesc = this.model.businessInfoDTO.manifestDesc
|
||||||
// 国家/地区
|
// 国家/地区
|
||||||
processInfo.country = this.model.businessInfoDTO.country.split(',').map(item => {
|
processInfo.country = this.model.businessInfoDTO.country.split(',').map(item => {
|
||||||
return { value: item }
|
return { value: item }
|
||||||
})
|
})
|
||||||
this.processInfoForm.setFieldsValue(pick(processInfo, 'processName', 'processDueDate', 'processDescription', 'manifestNo', 'manifestName', 'country'))
|
this.processInfoForm.setFieldsValue(pick(processInfo, 'processName', 'processDueDate', 'processDescription', 'manifestNo', 'manifestName', 'country', 'manifestDesc'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 有草稿json按草稿进来的回显
|
// 有草稿json按草稿进来的回显
|
||||||
@@ -397,11 +413,13 @@ export default {
|
|||||||
processInfo.manifestNo = this.draftModel.businessInfoDTO.manifestNo
|
processInfo.manifestNo = this.draftModel.businessInfoDTO.manifestNo
|
||||||
// 清单名称
|
// 清单名称
|
||||||
processInfo.manifestName = this.draftModel.businessInfoDTO.manifestName
|
processInfo.manifestName = this.draftModel.businessInfoDTO.manifestName
|
||||||
|
// 清单说明
|
||||||
|
processInfo.manifestDesc = this.draftModel.businessInfoDTO.manifestDesc
|
||||||
// 国家/地区
|
// 国家/地区
|
||||||
processInfo.country = this.draftModel.businessInfoDTO.country.split(',').map(item => {
|
processInfo.country = this.draftModel.businessInfoDTO.country.split(',').map(item => {
|
||||||
return { value: item }
|
return { value: item }
|
||||||
})
|
})
|
||||||
this.processInfoForm.setFieldsValue(pick(processInfo, 'processName', 'processDueDate', 'processDescription', 'manifestNo', 'manifestName', 'country'))
|
this.processInfoForm.setFieldsValue(pick(processInfo, 'processName', 'processDueDate', 'processDescription', 'manifestNo', 'manifestName', 'country', 'manifestDesc'))
|
||||||
}
|
}
|
||||||
// 初始化流程审批信息
|
// 初始化流程审批信息
|
||||||
this.approvalInfoForm.setFieldsValue(pick(this.draftModel.basicTaskInfoDTO, 'handleText', 'handleFile'))
|
this.approvalInfoForm.setFieldsValue(pick(this.draftModel.basicTaskInfoDTO, 'handleText', 'handleFile'))
|
||||||
|
|||||||
@@ -55,6 +55,22 @@
|
|||||||
:placeholder="disabled ? '' : $t('autoTakeout')" />
|
:placeholder="disabled ? '' : $t('autoTakeout')" />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 清单说明 -->
|
||||||
|
<div class="box-title-text form-flex-item form-flex-item-half form-flex-item-all">
|
||||||
|
<div class="title-text title-text-long">
|
||||||
|
<span class="title-text-text" :title="$t('standardRegulationLibrary.marketRegulationsList.listDeclaration')">
|
||||||
|
{{ $t('standardRegulationLibrary.marketRegulationsList.listDeclaration') }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="item-model" prop="manifestDesc">
|
||||||
|
<a-textarea class="box-input"
|
||||||
|
disabled
|
||||||
|
:maxLength="500"
|
||||||
|
:auto-size="{ minRows: 3, maxRows: 6 }"
|
||||||
|
v-model="formInline.manifestDesc"
|
||||||
|
:placeholder="disabled ? '' : $t('autoTakeout')" />
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
|
|
||||||
@@ -329,6 +345,8 @@ export default {
|
|||||||
formInline.manifestNo = result.manifestNo
|
formInline.manifestNo = result.manifestNo
|
||||||
// 清单名称
|
// 清单名称
|
||||||
formInline.manifestName = result.manifestName
|
formInline.manifestName = result.manifestName
|
||||||
|
// 清单说明
|
||||||
|
formInline.manifestDesc = result.manifestDesc
|
||||||
// 版本号
|
// 版本号
|
||||||
formInline.manifestVersion = result.manifestVersion
|
formInline.manifestVersion = result.manifestVersion
|
||||||
// 国家/地区
|
// 国家/地区
|
||||||
@@ -438,6 +456,8 @@ export default {
|
|||||||
formInline.manifestNo = result.manifestNo
|
formInline.manifestNo = result.manifestNo
|
||||||
// 清单名称
|
// 清单名称
|
||||||
formInline.manifestName = result.manifestName
|
formInline.manifestName = result.manifestName
|
||||||
|
// 清单说明
|
||||||
|
formInline.manifestDesc = result.manifestDesc
|
||||||
// 版本号
|
// 版本号
|
||||||
formInline.manifestVersion = result.manifestVersion
|
formInline.manifestVersion = result.manifestVersion
|
||||||
// 国家/地区
|
// 国家/地区
|
||||||
@@ -492,6 +512,10 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-flex-item-all {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.form-user {
|
.form-user {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user