添加虚拟清单的适用增补件字段

This commit is contained in:
qq787203167
2022-05-17 10:03:01 +08:00
parent 085c2608b0
commit 1cb0a4c89d
4 changed files with 92 additions and 62 deletions
@@ -260,6 +260,20 @@
</a-form-model-item>
</div>
</a-col>
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('applicableSupplement')">{{$t('applicableSupplement')}}</span>
</div>
<a-form-model-item class="itemModel" prop="applicableSupplement">
<a-input class="box-input"
:disabled="false"
v-model="formInline.applicableSupplement"
:placeholder="$t('PleaseEnter')+$t('applicableSupplement')"/>
</a-form-model-item>
</div>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="24">
@@ -539,6 +553,13 @@
trigger: 'blur'
}
],
applicableSupplement:[
{
max: 100,
message: this.$t('applicableSupplement') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
trigger: 'blur'
}
],
remark: [
{
max: 300,
@@ -271,7 +271,7 @@
exportData: '/dummy/dummyInventoryInfoEO/exportData',
exportTemplate: '/dummy/dummyInventoryInfoEO/exportTemplate',
getSysCategoryTree: '/sys/category/getSysCategoryTree',
logList:'/dummy/dummyLogEO/page',
logList: '/dummy/dummyLogEO/page'
},
loading: false,
dataSource: [],
@@ -370,6 +370,13 @@
dataIndex: 'attestationRank_dictText',
scopedSlots: { customRender: 'titleName' }
},
{
title: this.$t('applicableSupplement'),
align: 'center',
width: 180,
dataIndex: 'applicableSupplement',
scopedSlots: { customRender: 'titleName' }
},
{
title: this.$t('technicalField'),
align: 'center',
@@ -590,7 +597,7 @@
this.getList()
},
UpdateLogClick() {
this.$refs.UpdateLogRef.getList({dummyInventoryBaseId:this.$route.query.id})
this.$refs.UpdateLogRef.getList({ dummyInventoryBaseId: this.$route.query.id })
},
searchQuery() {
this.getList()