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

创建项目添加默认

parent 9c4bc3a8
......@@ -67,7 +67,7 @@
</el-form-item>
<el-form-item label="标书费结算开户行:" prop="bank">
<el-input v-model.trim="bidBookInfoPO.bank" placeholder="请输入" maxlength="30"></el-input>
</el-form-item>
</el-form-item>
</div>
<div class="flex-between">
<el-form-item label="标书费结算账户名:" prop="accountName">
......@@ -105,8 +105,8 @@
<el-form-item label="保证金结算开户行:" prop="bank">
<el-input v-model.trim="earnestInfoPO.bank" placeholder="请输入" maxlength="30"></el-input>
</el-form-item>
</div>
<div class="flex-between">
</div>
<div class="flex-between">
<el-form-item label="保证金结算账户名:" prop="userName">
<el-input v-model.trim="earnestInfoPO.userName" placeholder="请输入" maxlength="30"></el-input>
</el-form-item>
......@@ -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.pageObj.companyId=localStorage.getItem("companyId")
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