Commit 4d606b1c authored by 张冬's avatar 张冬

创建项目添加默认

parent 9c4bc3a8
...@@ -466,13 +466,22 @@ export default { ...@@ -466,13 +466,22 @@ export default {
computed: { computed: {
}, },
created() { created() {
this.ruleForm.purchaseAgent=JSON.parse(localStorage.getItem("userInfo")).companyName // 默认操作
let phone=JSON.parse(localStorage.getItem("userInfo")).phone let userInfo=JSON.parse(localStorage.getItem("userInfo"))
this.ruleForm.projectManager=JSON.parse(localStorage.getItem("userInfo")).userId this.ruleForm.purchaseAgent=userInfo.companyName
let phone=userInfo.phone
this.ruleForm.projectManager=userInfo.userId
this.ruleForm.contactsWay=phone this.ruleForm.contactsWay=phone
this.bidBookInfoPO.phone=phone this.bidBookInfoPO.phone=phone
this.earnestInfoPO.phone=phone this.earnestInfoPO.phone=phone
this.ruleForm.contacts=userInfo.name
this.pageObj.companyId=localStorage.getItem("companyId") this.pageObj.companyId=localStorage.getItem("companyId")
this.bidBookInfoPO.account=userInfo.bankAccount
this.bidBookInfoPO.bank=userInfo.bankName
this.bidBookInfoPO.accountName=userInfo.bankAccountName
this.earnestInfoPO.account=userInfo.bankAccount
this.earnestInfoPO.bank =userInfo.bankName
this.earnestInfoPO.userName=userInfo.bankAccountName
this.userList() this.userList()
this.industryList() this.industryList()
this.projectClassifyList() this.projectClassifyList()
......
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