修改认证清单维护调取

This commit is contained in:
范强强
2023-03-24 11:46:56 +08:00
parent 108b8095e1
commit 24945eadd1
2 changed files with 6 additions and 5 deletions
@@ -15,13 +15,14 @@
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required">*</span>
<span class="Required" v-if="!this.formInline.id">*</span>
<span class="title-text-text" :title="$t('regulationNo')">{{$t('regulationNo')}}</span>
</div>
<a-form-model-item class="itemModel" prop="serialNumber">
<a-form-model-item class="itemModel" :prop="this.formInline.id?'':'serialNumber'">
<a-select :placeholder="$t('PleaseSelect')+$t('regulationNo')"
optionFilterProp="label"
@change="serialNumberChange"
:disabled="this.formInline.id?true:false"
showSearch
v-model="formInline.bussDocumentLibraryId">
<a-select-option v-for="(item, key) in projectNameList"
@@ -785,9 +786,9 @@
if (res.success) {
if (this.formInline.id) {
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
if (res.result.engineeringInterfacePersonList && res.result.engineeringInterfacePersonList.length == 1){
if (res.result.engineeringInterfacePersonList && res.result.engineeringInterfacePersonList.length == 1) {
this.formInline.sdt = res.result.engineeringInterfacePersonList[0].value
}else if(this.engineeringInterfacePersonList.length == 0){
} else if (this.engineeringInterfacePersonList.length == 0) {
this.formInline.sdt = undefined
}
} else {
@@ -237,7 +237,7 @@ export default {
this.confirmLoading = true
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
postAction('/authDummy/authDummyInventoryInfoEO/acquireAdd', {
authDummyInventoryBaseId: this.dummyInventoryBaseId,
authDummyInventoryBaseId: this.$route.query.id,
ids: selectedRowKeys.join(','),
}).then((res) => {
if (res.success) {