对接虚拟清单详情
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="WVTAID">
|
||||
<a-input class="box-input"
|
||||
:disabled="true"
|
||||
:disabled="false"
|
||||
v-model="formInline.wvtaId"
|
||||
:placeholder="$t('PleaseEnter')+'WVTA ID'"/>
|
||||
</a-form-model-item>
|
||||
@@ -523,6 +523,7 @@
|
||||
this.visible = true
|
||||
this.$nextTick(() => {
|
||||
this.formInline = item || {}
|
||||
this.formInline.technologyTerritory = this.formInline.technologyTerritory ? this.formInline.technologyTerritory.split(',') : []
|
||||
})
|
||||
},
|
||||
clickButtonToUpload(item) {
|
||||
@@ -553,8 +554,14 @@
|
||||
this.visible = false
|
||||
},
|
||||
handleSubmit() {
|
||||
let formInline = JSON.parse(JSON.stringify(this.formInline))
|
||||
Object.keys(formInline).forEach(res => {
|
||||
if (formInline[res] && formInline[res] instanceof Array) {
|
||||
formInline[res] = formInline[res].join(',')
|
||||
}
|
||||
})
|
||||
this.confirmLoading = true
|
||||
postAction(this.url.editModel, this.formInline).then((res) => {
|
||||
postAction(this.url.editModel, formInline).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.visible = false
|
||||
|
||||
@@ -189,7 +189,7 @@
|
||||
title: this.$t('standard'),
|
||||
align: 'center',
|
||||
dataIndex: 'serialNumber',
|
||||
width: 100,
|
||||
width: 180,
|
||||
fixed: 'left'
|
||||
},
|
||||
{
|
||||
@@ -272,12 +272,12 @@
|
||||
},
|
||||
{
|
||||
title: this.$t('Sponsor'),
|
||||
dataIndex: 'designInitiator',
|
||||
dataIndex: 'designInitiator_dictText',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: this.$t('personLiable'),
|
||||
dataIndex: 'designDuty',
|
||||
dataIndex: 'designDuty_dictText',
|
||||
align: 'center'
|
||||
}
|
||||
]
|
||||
@@ -292,12 +292,12 @@
|
||||
},
|
||||
{
|
||||
title: this.$t('Sponsor'),
|
||||
dataIndex: 'prehomoInitiator',
|
||||
dataIndex: 'prehomoInitiator_dictText',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: this.$t('personLiable'),
|
||||
dataIndex: 'prehomoDuty',
|
||||
dataIndex: 'prehomoDuty_dictText',
|
||||
align: 'center'
|
||||
}
|
||||
]
|
||||
@@ -312,12 +312,12 @@
|
||||
},
|
||||
{
|
||||
title: this.$t('Sponsor'),
|
||||
dataIndex: 'verifyInitiator',
|
||||
dataIndex: 'verifyInitiator_dictText',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: this.$t('personLiable'),
|
||||
dataIndex: 'verifyDuty',
|
||||
dataIndex: 'verifyDuty_dictText',
|
||||
align: 'center'
|
||||
}
|
||||
]
|
||||
@@ -331,7 +331,7 @@
|
||||
}
|
||||
],
|
||||
selectedRowKeys: [],
|
||||
isTrue: false,
|
||||
isTrue: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user