Browse Source

厂商管理

master
Zhao Qiqi 3 years ago
parent
commit
112322f9fd
  1. 31
      anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanliAdd.vue

31
anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanliAdd.vue

@ -420,6 +420,7 @@ export default {
if (!BanGongDianHua.test(value)) {
callback(new Error("请输入正确的传真格式"));
}
callback();
} else {
callback();
}
@ -1052,13 +1053,13 @@ export default {
this.FormLoading = true;
this.dialogStatus = "create";
if (this.stateId == 0) {
if (this.useOrgArry) {
var abc = []
this.useOrgArry.forEach((e) => {
abc.push(e[e.length - 1])
})
this.temp.useOrg = abc.toString()
}
// if (this.useOrgArry) {
// var abc = []
// this.useOrgArry.forEach((e) => {
// abc.push(e[e.length - 1])
// })
// this.temp.useOrg = abc.toString()
// }
var Codese = this.deCode.join(',')
this.temp.orgAddress = Codese
var data = {
@ -1088,15 +1089,15 @@ export default {
}
})
} else {
if (this.useOrgArry) {
var abc = []
this.useOrgArry.forEach((e) => {
abc.push(e[e.length - 1])
})
this.temp.useOrg = abc.toString()
}
// if (this.useOrgArry) {
// var abc = []
// this.useOrgArry.forEach((e) => {
// abc.push(e[e.length - 1])
// })
// this.temp.useOrg = abc.toString()
// }
var data = {
"sid":this.sid,
"sid": this.sid,
"baseManufacturerDto": this.temp,
"baseManufacturerFinanceDto": this.temp1,
"baseManufacturerBankDto": this.temp2

Loading…
Cancel
Save