|
|
|
@ -749,12 +749,15 @@ export default {
|
|
|
|
|
this.$emit('refreshDataList', true)
|
|
|
|
|
},
|
|
|
|
|
changeData(model, index) {
|
|
|
|
|
console.log(this.dataForm.contractId,"this.dataForm.contractIdthis.dataForm.contractIdthis.dataForm.contractId");
|
|
|
|
|
if (model == 'contractId' && (this.dataForm.contractId != null || this.dataForm.contractId != undefined)) {
|
|
|
|
|
console.log(111111111);
|
|
|
|
|
request({
|
|
|
|
|
url: '/api/example/Contract/getMerchantById/' + this.dataForm.contractId,
|
|
|
|
|
method: 'get'
|
|
|
|
|
}).then(res => {
|
|
|
|
|
this.$set(this.dataForm, 'merchantId', res.data.merchantName);
|
|
|
|
|
console.log( res.data.merchantName," res.data.merchantName res.data.merchantName res.data.merchantName");
|
|
|
|
|
this.$set(this.dataForm, 'merchantName', res.data.merchantName);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.isEdit = false
|
|
|
|
|