|
@@ -34,6 +34,7 @@
|
|
:disabled="display || addType === 2"
|
|
:disabled="display || addType === 2"
|
|
v-model="dataForm.contractNumber"
|
|
v-model="dataForm.contractNumber"
|
|
:fetch-suggestions="queryContracList"
|
|
:fetch-suggestions="queryContracList"
|
|
|
|
+ :value-key="'label'"
|
|
placeholder="请输入合同号"
|
|
placeholder="请输入合同号"
|
|
@select="handleSelect"
|
|
@select="handleSelect"
|
|
></el-autocomplete>
|
|
></el-autocomplete>
|
|
@@ -608,7 +609,7 @@ export default {
|
|
if (data.data != null) {
|
|
if (data.data != null) {
|
|
data.data.forEach(item => {
|
|
data.data.forEach(item => {
|
|
contractOption.push({
|
|
contractOption.push({
|
|
- label: item.contractNumber,
|
|
|
|
|
|
+ label: item.projectName + '-' + item.contractNumber,
|
|
value: item.contractNumber,
|
|
value: item.contractNumber,
|
|
data: item.cusCBookProducts,
|
|
data: item.cusCBookProducts,
|
|
customerId: item.customerId,
|
|
customerId: item.customerId,
|
|
@@ -630,6 +631,7 @@ export default {
|
|
})
|
|
})
|
|
this.dataForm.customerId = item.customerId
|
|
this.dataForm.customerId = item.customerId
|
|
this.dataForm.customerName = item.customerName
|
|
this.dataForm.customerName = item.customerName
|
|
|
|
+ this.dataForm.contractNumber = item.value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|