feat: There is no way the, bug 52907 52906
This commit is contained in:
+12
-1
@@ -583,6 +583,7 @@
|
|||||||
clearable
|
clearable
|
||||||
:title="sarBussionessStandEO[field.attrField]"
|
:title="sarBussionessStandEO[field.attrField]"
|
||||||
v-model="sarBussionessStandEO[field.attrField]"
|
v-model="sarBussionessStandEO[field.attrField]"
|
||||||
|
@blur="filterData(sarBussionessStandEO[field.attrField])"
|
||||||
:disabled="formdisableflag" placeholder="选择起草部门">
|
:disabled="formdisableflag" placeholder="选择起草部门">
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -2453,6 +2454,16 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
filterData(data){
|
||||||
|
let result = ''
|
||||||
|
let str1 = data.substring(0,1);
|
||||||
|
if(str1 === ','){
|
||||||
|
result = data.substring(1,data.length)
|
||||||
|
this.sarBussionessStandEO['QCDW'] = result
|
||||||
|
}else {
|
||||||
|
this.sarBussionessStandEO['QCDW'] = data
|
||||||
|
}
|
||||||
|
},
|
||||||
async getTreeAsync(){
|
async getTreeAsync(){
|
||||||
|
|
||||||
let tsResource = await this.selectMenuList()
|
let tsResource = await this.selectMenuList()
|
||||||
@@ -5155,7 +5166,7 @@ export default {
|
|||||||
'sarBussionessStandEO.QCDW'(val) {
|
'sarBussionessStandEO.QCDW'(val) {
|
||||||
let arr = val.split(',')
|
let arr = val.split(',')
|
||||||
arr.forEach((item, index) => {
|
arr.forEach((item, index) => {
|
||||||
if (item === undefined || item === 'undefined') {
|
if (item === undefined || item === 'undefined' || item === '') {
|
||||||
arr.splice(index, 1)
|
arr.splice(index, 1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user