Commit 3adb133e authored by youjie's avatar youjie

付款对象管理

parent 4c26bc4b
......@@ -660,6 +660,7 @@ export default {
this.addMsg.ObjID = null
let url = "supplier_get_GetPageList"
let msg = JSON.parse(JSON.stringify(this.supplierMsg))
if(this.addMsg.Type==5) {
url = "dmc_post_visa_GetCommuneInfoPageList"
msg = {
......@@ -800,6 +801,7 @@ export default {
}
this.supplierList.push(Obj)
})
console.log(dataList,'====')
if(this.addMsg.ObjIdStr&&this.supplierList&&this.supplierList.length>0){
this.addMsg.ObjID = Number(this.supplierList[0].ID)
}
......@@ -983,7 +985,14 @@ export default {
res.data.data.AccountClassify.toString();
this.addMsg.BankId = res.data.data.BankId;
this.addMsg.IsOtherEdit = 1
this.supplierMsg.Type = this.addMsg.Type
// if(res.data.data.Type==1) this.supplierMsg.Type = 1
// else if(res.data.data.Type==2) this.supplierMsg.Type = 3
// else if(res.data.data.Type==4) this.supplierMsg.Type = 5
// else if(res.data.data.Type==6) this.supplierMsg.Type = 7
// else if(res.data.data.Type==8) this.supplierMsg.Type = 6
if(res.data.data.Type==4) this.supplierMsg.Type = 5
else this.supplierMsg.Type = res.data.data.Type
if(this.addMsg.ObjIdStr){
this.supplierMsg.Name = this.addMsg.ObjIdStr
this.supplierMsg.ID = this.addMsg.ObjID
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment