bug 标准入库流程--下拉框无法自适应

This commit is contained in:
fanlin
2021-07-23 17:30:22 +08:00
parent 80c92b02ce
commit dd8da6f0c9
2 changed files with 27 additions and 15 deletions
@@ -1295,6 +1295,7 @@ export default {
children: 'children',
label: 'menuName'
},
id: '',
modalShowFlag1: false, // drawer开关
modalShowFlag2: false, // drawer开关
modalShowFlag3: false, // drawer开关
@@ -2262,6 +2263,7 @@ export default {
},
// 编辑标准属性
selectStandardPro (item, state) {
this.id = item.id
this.addOrUPdateFlag = 2
this.modalshowtitle = '编辑国内标准'
this.modalshowflag = true
@@ -3116,6 +3118,14 @@ export default {
}, res => {
this.isSubmit = false
if (res.ok) {
this.personCollect.collectType = 'INLAND_STAND'
this.personCollect.id = this.id
this.personCollect.userId = this.$store.getters.userInfo.userId
this.$http.get('person/personCollect/updatePersonCollect', this.personCollect, {
_this: this,
loading: 'loading'
}, res => {
}, e => {})
this.getDomesticStandardTable(this.tableFlag)
this.resetForm()
if (this.addOrUPdateFlag === 1) {