全局修改标准选择
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user