Commit ea97899b by lichengming

修改了业务管理报价登记添加编辑

parent 20c6b17d
......@@ -306,10 +306,12 @@ export default {
this._cusNameQuery(data)
break
}
} else {
} else if (this.customerData.indexOf(data) !== -1) {
this._getQueryList(data)
// 编辑的时候选择单位(互不影响)
// this.cusName = data
// this.formObj.customer.cname = data
} else {
}
},
_customerMatch(data) {
......@@ -644,6 +646,7 @@ export default {
this.modalTitle = '报价单编辑'
this.id = formObj.id
this.formObj = formObj
this.formObj.client = formObj.client
this._showAddress(formObj)
this._showTime(formObj)
this.getPage.records = formObj.sampleList
......@@ -651,10 +654,8 @@ export default {
_getList: async function() {
const result = await meterEntrust.pageList()
const list = []
console.log('result', result)
if (result) {
for (let i = 0; i < result.length; i++) {
console.log(result[i].cname)
list.push(result[i].cname)
}
console.log('委托单位名单', list)
......
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