全局修改标准选择
This commit is contained in:
@@ -173,6 +173,8 @@
|
||||
<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>
|
||||
@@ -626,6 +628,10 @@
|
||||
this.loadFormInfo()
|
||||
},
|
||||
methods:{
|
||||
StandardselectionChange(value, id) {
|
||||
this.formInline[value + '_id'] = id
|
||||
this.formInline = { ...this.formInline }
|
||||
},
|
||||
loadData(){
|
||||
this.loading=true
|
||||
getAction(`split/sarFileSplitItemsVal/getItemsValList`,{itemId:this.itemId}).then(res=>{
|
||||
|
||||
@@ -123,6 +123,8 @@
|
||||
:standard="formInline"
|
||||
v-if="!disabled"
|
||||
:disabled="disabled"
|
||||
:standardId="formInline.correspondingStandardId"
|
||||
@change="StandardselectionChange"
|
||||
v-model="formInline.correspondingStandard"/>
|
||||
<a-input class="box-input"
|
||||
v-else
|
||||
@@ -763,6 +765,10 @@
|
||||
this.getFirstLevelDutyTerritory()
|
||||
},
|
||||
methods: {
|
||||
StandardselectionChange(value, id) {
|
||||
this.formInline.correspondingStandardId = id
|
||||
this.formInline = { ...this.formInline }
|
||||
},
|
||||
DutyDepartChange(event) {
|
||||
this.formInline.dutyTerritory = []
|
||||
this.formInline = { ...this.formInline }
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
:query="{'db_field_txt':$t('Relevantlawsregulations')}"
|
||||
:standard="formInline"
|
||||
:disabled="false"
|
||||
:standardId="formInline.lawsId"
|
||||
@input="Standardselectioninput"
|
||||
@change="StandardselectionChange"
|
||||
v-model="formInline.lawsName"/>
|
||||
|
||||
+1
@@ -74,6 +74,7 @@
|
||||
<Standardselection
|
||||
:query="{'db_field_txt':$t('Relevantlawsregulations')}"
|
||||
:standard="formInline"
|
||||
:standardId="formInline.lawsId"
|
||||
:disabled="false"
|
||||
@input="Standardselectioninput"
|
||||
@change="StandardselectionChange"
|
||||
|
||||
@@ -73,6 +73,7 @@
|
||||
:query="{'db_field_txt':$t('Relevantlawsregulations')}"
|
||||
:standard="formInline"
|
||||
:disabled="false"
|
||||
:standardId="formInline.lawsId"
|
||||
@input="Standardselectioninput"
|
||||
@change="StandardselectionChange"
|
||||
v-model="formInline.lawsName"/>
|
||||
|
||||
Reference in New Issue
Block a user