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

创建项目添加默认

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