|
@@ -38,8 +38,7 @@
|
|
|
<a-row v-if="form.payerType=='DEALER'" >
|
|
|
<a-col :span="12">
|
|
|
<a-form-model-item style="margin-bottom:5px;" label="付款方" prop="dealerSn">
|
|
|
- <!-- <dealerSubareaScopeList ref="settleClientName" @change="custChange" /> -->
|
|
|
- {{ form.payerName }}
|
|
|
+ <dealerSubareaScopeList ref="settleClientName" @change="custChange" :disabled="true" />
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
@@ -77,8 +76,8 @@
|
|
|
<a-row v-if="form.payerType=='DEPT'" >
|
|
|
<a-col :span="12">
|
|
|
<a-form-model-item style="margin-bottom:5px;" label="付款方" prop="payerName">
|
|
|
- <!-- <a-input :maxLength="30" placeholder="请输入付款方名称" v-model="form.payerName"></a-input> -->
|
|
|
- {{ form.payerName }}
|
|
|
+ <!-- <a-input :maxLength="30" placeholder="请输入付款方名称" disabled v-model="form.payerName"></a-input> -->
|
|
|
+ {{form.payerName}}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
@@ -404,7 +403,9 @@ export default {
|
|
|
setDetail (data) {
|
|
|
this.form = Object.assign(this.form, { payerTypeDictValue: data.payerTypeDictValue, payerType: data.payerType, dealerSn: data.dealerSn, payerName: data.payerName })
|
|
|
this.$nextTick(() => {
|
|
|
- this.accountTypeChange()
|
|
|
+ if(this.form.dealerSn){
|
|
|
+ this.$refs.settleClientName.getDetail(this.form.dealerSn)
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
// 详情
|
|
@@ -439,9 +440,9 @@ export default {
|
|
|
pageInit () {
|
|
|
this.$nextTick(() => {
|
|
|
this.title = '新增收款明细'
|
|
|
- // if (this.$refs.settleClientName) {
|
|
|
- // this.$refs.settleClientName.resetForm()
|
|
|
- // }
|
|
|
+ if (this.$refs.settleClientName) {
|
|
|
+ this.$refs.settleClientName.resetForm()
|
|
|
+ }
|
|
|
})
|
|
|
this.bankNameList = []
|
|
|
this.form = {
|