全局修改标准选择

This commit is contained in:
范强强
2023-10-23 15:33:19 +08:00
parent de87010a14
commit 5f1a78b74f
9 changed files with 164 additions and 42 deletions
@@ -207,6 +207,9 @@
<a-form-model-item class="itemModel" :prop="item.db_field_name">
<Standardselection :query="item"
:disabled="disabled"
:standard="formInline"
:standardId="formInline[item.db_field_name+'_id']"
@change="StandardselectionChange"
v-model="formInline[item.db_field_name]"/>
</a-form-model-item>
</div>
@@ -305,6 +308,10 @@
// console.log('idssss111',this.ids)
},
methods: {
StandardselectionChange(value, id) {
this.formInline[value + '_id'] = id
this.formInline = { ...this.formInline }
},
sumber() {
// console.log('vilidate',this.formInline)
this.$refs.ruleForm1.validate(valid => {