|
|
@@ -281,7 +281,6 @@
|
|
|
this.editForm.inchargeName = this.username
|
|
|
this.editForm.signatoryId = this.userId
|
|
|
this.editForm.signatoryName = this.username
|
|
|
- console.log(this.editForm.signatoryName)
|
|
|
} else {
|
|
|
this.title = '编辑合同'
|
|
|
const [err, res] = await to(contractApi.getDetails({ id }))
|
|
|
@@ -329,7 +328,6 @@
|
|
|
this.editForm.custSignatoryId = business.contactId
|
|
|
this.editForm.custSignatoryName = business.contactName
|
|
|
this.businessUserQueryParams = { busId: business.id, custId: business.custId }
|
|
|
- console.log('项目信息', data)
|
|
|
// 获取产品信息
|
|
|
this.getProjectInfo(business.id)
|
|
|
},
|
|
|
@@ -360,7 +358,6 @@
|
|
|
},
|
|
|
// 获取签约人信息
|
|
|
getUser(userList, property, label) {
|
|
|
- console.log(userList, property, label)
|
|
|
this.editForm[label] = userList.map((item) => item.nickName).join()
|
|
|
if (this.multiple) {
|
|
|
this.editForm[property] = userList.map((item) => item.id)
|
|
|
@@ -389,7 +386,6 @@
|
|
|
async getProjectInfo(id) {
|
|
|
let params = { id }
|
|
|
const [err, res] = await to(businessApi.getProductByBusinessId(params))
|
|
|
- console.log(res)
|
|
|
if (err) return
|
|
|
if (res.data && res.data.length > 0) this.setProductData(res.data)
|
|
|
},
|
|
|
@@ -397,6 +393,7 @@
|
|
|
let projData = data.map((item) => ({
|
|
|
id: item.prodId ? item.prodId : item.id,
|
|
|
prodName: item.prodName,
|
|
|
+ prodCode: item.prodCode,
|
|
|
prodClass: item.prodClass,
|
|
|
guidPrice: item.guidPrice,
|
|
|
price: item.prodPrice ? item.prodPrice : item.guidPrice,
|