Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
+3
-3
@@ -376,8 +376,8 @@ this.$forceUpdate()
|
|||||||
}
|
}
|
||||||
getAction('/ota/otaBaSjSjyxpg/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
|
getAction('/ota/otaBaSjSjyxpg/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
|
||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
if(res.result.zxsj==0){
|
if(res.result.zxsj==null){
|
||||||
res.result.zxsj=null
|
res.result.zxsj=undefined
|
||||||
}
|
}
|
||||||
this.form=res.result==null ? {
|
this.form=res.result==null ? {
|
||||||
sjmd:'',
|
sjmd:'',
|
||||||
@@ -400,7 +400,7 @@ this.$forceUpdate()
|
|||||||
}
|
}
|
||||||
this.form.otaId=otaId
|
this.form.otaId=otaId
|
||||||
if(this.form.zxsj==undefined){
|
if(this.form.zxsj==undefined){
|
||||||
this.form.zxsj=0
|
this.form.zxsj=undefined
|
||||||
}
|
}
|
||||||
postAction('/ota/otaBaSjSjyxpg/add',this.form).then(res=>{
|
postAction('/ota/otaBaSjSjyxpg/add',this.form).then(res=>{
|
||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
|
|||||||
+9
-9
@@ -232,15 +232,15 @@ export default {
|
|||||||
|
|
||||||
this.form = res.result
|
this.form = res.result
|
||||||
this.form.otaId=''
|
this.form.otaId=''
|
||||||
if (this.$route.query.type == 1 && res.result.cxmb == null) {
|
// if (this.$route.query.type == 1 && res.result.cxmb == null) {
|
||||||
this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh
|
// this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh
|
||||||
} else {
|
// } else {
|
||||||
if (this.$route.query.type == 2 && res.result.cxmb == null) {
|
// if (this.$route.query.type == 2 && res.result.cxmb == null) {
|
||||||
this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh
|
// this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh
|
||||||
} else {
|
// } else {
|
||||||
this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined
|
// this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (res.result.dllx1 == null || res.result.dllx1 == "") {
|
if (res.result.dllx1 == null || res.result.dllx1 == "") {
|
||||||
this.form.dllx1 = undefined
|
this.form.dllx1 = undefined
|
||||||
|
|||||||
@@ -333,10 +333,10 @@ import { message } from 'ant-design-vue'
|
|||||||
this.form.cdotasj=res.result.cdotasj
|
this.form.cdotasj=res.result.cdotasj
|
||||||
this.form.id=res.result.id
|
this.form.id=res.result.id
|
||||||
if(this.$route.query.type == 1 && res.result.cxmb == null){
|
if(this.$route.query.type == 1 && res.result.cxmb == null){
|
||||||
this.form.cxmb = this.form.ggpc+'-'+ this.form.cpmc+'-'+this.form.cpxh
|
this.form.cxmb = this.form.djbh+'-'+ this.form.ggpc+'-'+this.form.cpxh
|
||||||
}else {
|
}else {
|
||||||
if(this.$route.query.type == 2 && res.result.cxmb == null){
|
if(this.$route.query.type == 2 && res.result.cxmb == null){
|
||||||
this.form.cxmb = this.form.ggpc+'-'+ this.form.cpmc+'-'+this.form.cpxh
|
this.form.cxmb = this.form.djbh+'-'+ this.form.ggpc+'-'+this.form.cpxh
|
||||||
}else{
|
}else{
|
||||||
this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined
|
this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user