修改认证清单维护调取

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"> <a-col :span="12">
<div class="box-title-text"> <div class="box-title-text">
<div class="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> <span class="title-text-text" :title="$t('regulationNo')">{{$t('regulationNo')}}</span>
</div> </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')" <a-select :placeholder="$t('PleaseSelect')+$t('regulationNo')"
optionFilterProp="label" optionFilterProp="label"
@change="serialNumberChange" @change="serialNumberChange"
:disabled="this.formInline.id?true:false"
showSearch showSearch
v-model="formInline.bussDocumentLibraryId"> v-model="formInline.bussDocumentLibraryId">
<a-select-option v-for="(item, key) in projectNameList" <a-select-option v-for="(item, key) in projectNameList"
@@ -785,9 +786,9 @@
if (res.success) { if (res.success) {
if (this.formInline.id) { if (this.formInline.id) {
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人 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 this.formInline.sdt = res.result.engineeringInterfacePersonList[0].value
}else if(this.engineeringInterfacePersonList.length == 0){ } else if (this.engineeringInterfacePersonList.length == 0) {
this.formInline.sdt = undefined this.formInline.sdt = undefined
} }
} else { } else {
@@ -237,7 +237,7 @@ export default {
this.confirmLoading = true this.confirmLoading = true
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys)) let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
postAction('/authDummy/authDummyInventoryInfoEO/acquireAdd', { postAction('/authDummy/authDummyInventoryInfoEO/acquireAdd', {
authDummyInventoryBaseId: this.dummyInventoryBaseId, authDummyInventoryBaseId: this.$route.query.id,
ids: selectedRowKeys.join(','), ids: selectedRowKeys.join(','),
}).then((res) => { }).then((res) => {
if (res.success) { if (res.success) {