bug 67719
This commit is contained in:
+8
-7
@@ -234,13 +234,14 @@ export default {
|
||||
|
||||
this.form = res.result
|
||||
this.form.otaId=''
|
||||
if (this.$route.query.type == 1 && res.result.cxmb == null && !item) {
|
||||
this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh
|
||||
} else {
|
||||
if (this.$route.query.type == 2 && res.result.cxmb == null && !item) {
|
||||
this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh
|
||||
} else {
|
||||
if(this.$route.query.type == 1 && res.result.cxmb == null && !item){
|
||||
this.form.cxmb = this.form.babh+'-'+ this.form.bapc+'-'+this.form.cpxh
|
||||
}else {
|
||||
if(this.$route.query.type == 2 && res.result.cxmb == null && !item){
|
||||
// this.form.cxmb = res.result.cxmb ? res.result.cxmb : this.form.djbh+'-'+ this.form.ggpc+'-'+this.form.cpxh
|
||||
this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined
|
||||
}else{
|
||||
this.form.cxmb = res.result.cxmb ? res.result.cxmb : this.form.babh+'-'+ this.form.bapc+'-'+this.form.cpxh
|
||||
}
|
||||
}
|
||||
|
||||
@@ -375,7 +376,7 @@ export default {
|
||||
localStorage.removeItem('otaId')
|
||||
localStorage.removeItem('otaIdT')
|
||||
localStorage.setItem('otaIdT', val)
|
||||
this.getData()
|
||||
this.getData('qiehuan')
|
||||
},
|
||||
update2() {
|
||||
this.$forceUpdate()
|
||||
|
||||
@@ -286,7 +286,7 @@ import { message } from 'ant-design-vue'
|
||||
localStorage.removeItem('otaIdT')
|
||||
localStorage.setItem('otaIdT',value)
|
||||
|
||||
this.getData()
|
||||
this.getData('qiehuan')
|
||||
},
|
||||
// 模板下载
|
||||
handleModule() {
|
||||
@@ -337,15 +337,16 @@ import { message } from 'ant-design-vue'
|
||||
this.form.cxmb = this.form.djbh+'-'+ this.form.ggpc+'-'+this.form.cpxh
|
||||
}else {
|
||||
if(this.$route.query.type == 2 && res.result.cxmb == null && !item){
|
||||
this.form.cxmb = this.form.djbh+'-'+ this.form.ggpc+'-'+this.form.cpxh
|
||||
}else{
|
||||
// this.form.cxmb = res.result.cxmb ? res.result.cxmb : this.form.djbh+'-'+ this.form.ggpc+'-'+this.form.cpxh
|
||||
this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined
|
||||
}else{
|
||||
this.form.cxmb = res.result.cxmb ? res.result.cxmb : this.form.djbh+'-'+ this.form.ggpc+'-'+this.form.cpxh
|
||||
}
|
||||
}
|
||||
if(res.result.dllx1 == '' ){
|
||||
if(res.result.dllx1 == '' || res.result.dllx1 == null){
|
||||
res.result.dllx1 = undefined
|
||||
}
|
||||
if(res.result.dllx2 == ''){
|
||||
if(res.result.dllx2 == '' || res.result.dllx2 == null){
|
||||
res.result.dllx2 = undefined
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user