[update] 市场法规清单增加修改清单版本功能
This commit is contained in:
+7
-1
@@ -9,6 +9,12 @@
|
|||||||
@ok="handleOk"
|
@ok="handleOk"
|
||||||
@cancel="handleCancel">
|
@cancel="handleCancel">
|
||||||
<a-form :form="form">
|
<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-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('standardRegulationLibrary.marketRegulationsList.listVersion')">
|
||||||
<a-input :placeholder="$t('pleaseEnter') + $t('standardRegulationLibrary.marketRegulationsList.listVersion')"
|
<a-input :placeholder="$t('pleaseEnter') + $t('standardRegulationLibrary.marketRegulationsList.listVersion')"
|
||||||
@@ -61,7 +67,7 @@ export default {
|
|||||||
this.visible = true
|
this.visible = true
|
||||||
this.model = Object.assign({}, record)
|
this.model = Object.assign({}, record)
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form.setFieldsValue(pick(this.model, 'manifestVersion'))
|
this.form.setFieldsValue(pick(this.model, 'manifestNo', 'manifestVersion'))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleOk () {
|
handleOk () {
|
||||||
|
|||||||
Reference in New Issue
Block a user