[update] 市场法规清单增加修改清单版本功能

This commit is contained in:
lideqin
2024-10-10 13:40:26 +08:00
parent 8e306d30bb
commit 86993a3df3
@@ -9,6 +9,12 @@
@ok="handleOk"
@cancel="handleCancel">
<a-form :form="form">
<!-- 清单编号 -->
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('standardRegulationLibrary.marketRegulationsList.listNumber')">
<a-input :placeholder="$t('pleaseEnter') + $t('standardRegulationLibrary.marketRegulationsList.listNumber')"
disabled
v-decorator.trim="[ 'manifestNo', validatorRules.manifestNo ]" />
</a-form-item>
<!-- 清单版本 -->
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('standardRegulationLibrary.marketRegulationsList.listVersion')">
<a-input :placeholder="$t('pleaseEnter') + $t('standardRegulationLibrary.marketRegulationsList.listVersion')"
@@ -61,7 +67,7 @@ export default {
this.visible = true
this.model = Object.assign({}, record)
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model, 'manifestVersion'))
this.form.setFieldsValue(pick(this.model, 'manifestNo', 'manifestVersion'))
})
},
handleOk () {