2024-09-23 对出错的查询就行调整
This commit is contained in:
@@ -65,10 +65,12 @@
|
||||
<span>*买方名称:</span>
|
||||
<el-select
|
||||
v-model="customerNameValue"
|
||||
:remote-method="getCustomer"
|
||||
placeholder="选择买方"
|
||||
size="small"
|
||||
clearable
|
||||
filterable
|
||||
remote
|
||||
style="width: 150px;margin: 10px 0 10px 2px"
|
||||
@change="editContract">
|
||||
<el-option
|
||||
@@ -469,11 +471,13 @@
|
||||
<el-col>
|
||||
<el-select
|
||||
v-model="customerNameValue1"
|
||||
:remote-method="getCustomer"
|
||||
style="width:150px"
|
||||
placeholder="买方名称"
|
||||
size="small"
|
||||
filterable
|
||||
clearable
|
||||
remote
|
||||
@change="searchOldContract()">
|
||||
<el-option
|
||||
v-for="(item, index) in customerName"
|
||||
@@ -1773,6 +1777,21 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
getCustomerById(queryId) {
|
||||
this.customerName = []
|
||||
var param = []
|
||||
param[0] = ['客户流水号', queryId]
|
||||
var Data = this.CreateData('11', '合同管理_客户信息_查询数据_通过ID_bak', param)
|
||||
this.ExecDatabase(Data).then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.customerName.push({
|
||||
label: response.data[i].客户名称,
|
||||
value: response.data[i].客户流水号
|
||||
})
|
||||
}
|
||||
this.customerNameValue = queryId
|
||||
})
|
||||
},
|
||||
getConsigneePeople() {
|
||||
this.consigneePeople = []
|
||||
var param = []
|
||||
@@ -2009,7 +2028,8 @@ export default {
|
||||
this.dialogFormVisible = false
|
||||
this.customerName = []
|
||||
var param10 = []
|
||||
var Data10 = this.CreateData('11', '合同管理_客户信息_查询数据', param10)
|
||||
param10[0] = ['客户名称', this.form.客户名称]
|
||||
var Data10 = this.CreateData('11', '合同管理_客户信息_查询数据_bak', param10)
|
||||
this.ExecDatabase(Data10).then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.customerName.push({
|
||||
@@ -2098,7 +2118,7 @@ export default {
|
||||
param[0] = ['项目流水号', this.contractNoValue]
|
||||
var Data = this.CreateData('11', 'PDM_项目名称_详情_查询数据', param)
|
||||
this.ExecDatabase(Data).then(response => {
|
||||
this.customerNameValue = response.data[0].客户流水号
|
||||
this.getCustomerById(response.data[0].客户流水号)
|
||||
this.signingDate = response.data[0].签订日期
|
||||
this.consignee = response.data[0].收货人员
|
||||
this.paymentMethodValue = response.data[0].付款方式流水号
|
||||
|
||||
Reference in New Issue
Block a user