|
@@ -39,7 +39,7 @@
|
|
|
<a-col :span="12">
|
|
|
<a-form-model-item style="margin-bottom:5px;" label="付款方" prop="dealerSn">
|
|
|
<!-- <dealerSubareaScopeList ref="settleClientName" @change="custChange" :disabled="true" /> -->
|
|
|
- {{form.payerName}}
|
|
|
+ {{ form.payerName }}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
@@ -78,7 +78,7 @@
|
|
|
<a-col :span="12">
|
|
|
<a-form-model-item style="margin-bottom:5px;" label="付款方" prop="payerName">
|
|
|
<!-- <a-input :maxLength="30" placeholder="请输入付款方名称" disabled v-model="form.payerName"></a-input> -->
|
|
|
- {{form.payerName}}
|
|
|
+ {{ form.payerName }}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
@@ -135,7 +135,7 @@
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
- <a-form-model-item style="margin-bottom:5px;" label="跨月打款">
|
|
|
+ <a-form-model-item style="margin-bottom:5px;">
|
|
|
<a-input-number
|
|
|
style="width:100%"
|
|
|
:min="0"
|
|
@@ -145,6 +145,27 @@
|
|
|
v-model="form.nextMonthAmount"></a-input-number>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-model-item style="margin-bottom:5px;">
|
|
|
+ <a-input-number
|
|
|
+ style="width:100%"
|
|
|
+ :min="0"
|
|
|
+ :max="99999999"
|
|
|
+ :precision="2"
|
|
|
+ placeholder="请输入特殊申请发货金额"
|
|
|
+ v-model="form.specialSendAmount"></a-input-number>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-model-item style="margin-bottom:5px;">
|
|
|
+ <v-select
|
|
|
+ showType="radio"
|
|
|
+ v-model="form.fullPaymentFlag"
|
|
|
+ code="FLAG"
|
|
|
+ placeholder="请选择是否足额打款"
|
|
|
+ allowClear></v-select>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
<a-col :span="12">
|
|
|
<a-form-model-item style="margin-bottom:5px;" label="户名" prop="bankAccount">
|
|
|
<a-select placeholder="请选择户名" v-model="form.bankAccount" style="width: 100%" @change="handleChange">
|
|
@@ -163,15 +184,6 @@
|
|
|
</a-select>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-model-item style="margin-bottom:5px;" label="足额打款">
|
|
|
- <v-select
|
|
|
- v-model="form.fullPaymentFlag"
|
|
|
- code="FLAG"
|
|
|
- placeholder="请选择是否足额打款"
|
|
|
- allowClear></v-select>
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
<a-col :span="24">
|
|
|
<a-form-model-item style="margin-bottom:5px;" label="说明" :labelCol="{span:3}" :wrapper-col="{ span: 20 }">
|
|
|
<a-textarea :rows="2" :maxLength="500" placeholder="请输入说明(最多500个字符)" v-model="form.explainInfo"></a-textarea>
|
|
@@ -254,6 +266,7 @@ export default {
|
|
|
detailItemPayList: [],
|
|
|
balanceAmount: '',
|
|
|
nextMonthAmount: '',
|
|
|
+ specialSendAmount: '',
|
|
|
bankAccount: '东莞箭冠',
|
|
|
bankName: '东莞银行',
|
|
|
fullPaymentFlag: '1',
|
|
@@ -265,8 +278,8 @@ export default {
|
|
|
dealerSn: [ { required: true, message: '请选择付款方', trigger: ['change', 'blur'] } ],
|
|
|
payerName: [ { required: true, message: '请输入付款方名称', trigger: ['change', 'blur'] } ],
|
|
|
payerAccountType: [ { required: true, message: '请选择付款账户类型', trigger: ['change', 'blur'] } ],
|
|
|
- bankAccount:[{ required: true, message: '请选择户名', trigger: ['change', 'blur'] }],
|
|
|
- bankName:[{ required: true, message: '请选择汇入银行', trigger: ['change', 'blur'] }]
|
|
|
+ bankAccount: [{ required: true, message: '请选择户名', trigger: ['change', 'blur'] }],
|
|
|
+ bankName: [{ required: true, message: '请选择汇入银行', trigger: ['change', 'blur'] }]
|
|
|
},
|
|
|
useTotalAmount: '',
|
|
|
payTotalAmount: '',
|
|
@@ -315,11 +328,11 @@ export default {
|
|
|
this.form.licenseName = ''
|
|
|
this.form.payerAccountInfo = ''
|
|
|
}
|
|
|
- if(this.form.payerAccountType=='PUBLIC'){
|
|
|
+ if (this.form.payerAccountType == 'PUBLIC') {
|
|
|
this.form.bankAccount = '东莞箭冠'
|
|
|
this.form.bankName = '东莞银行'
|
|
|
this.bankNameList = ['东莞银行']
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.form.bankAccount = '张丽添'
|
|
|
this.form.bankName = '农业银行'
|
|
|
this.bankNameList = ['农业银行']
|
|
@@ -327,11 +340,11 @@ export default {
|
|
|
},
|
|
|
handleChange (v) {
|
|
|
console.log(v)
|
|
|
- if(v){
|
|
|
+ if (v) {
|
|
|
this.form.bankAccount = v
|
|
|
const row = this.bankList.find(item => item.bankAccount == v)
|
|
|
this.bankNameList = row.bankName
|
|
|
- this.form.bankName = undefined
|
|
|
+ this.form.bankName = undefined
|
|
|
}
|
|
|
},
|
|
|
getLastPayerAccount () {
|
|
@@ -430,10 +443,10 @@ export default {
|
|
|
setDetail (data) {
|
|
|
this.form = Object.assign(this.form, { payerTypeDictValue: data.payerTypeDictValue, payerType: data.payerType, dealerSn: data.dealerSn, payerName: data.payerName })
|
|
|
this.$nextTick(() => {
|
|
|
- if(this.form.dealerSn){
|
|
|
+ if (this.form.dealerSn) {
|
|
|
// this.$refs.settleClientName.getDetail(this.form.dealerSn)
|
|
|
this.getDealerDetail(this.form.dealerSn)
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.form.bankAccount = '张丽添'
|
|
|
this.form.bankName = '农业银行'
|
|
|
this.bankNameList = ['农业银行']
|
|
@@ -476,7 +489,7 @@ export default {
|
|
|
})
|
|
|
this.bankNameList = []
|
|
|
this.bankNameList = ['东莞银行']
|
|
|
- if(this.$refs.ruleForm){
|
|
|
+ if (this.$refs.ruleForm) {
|
|
|
this.$refs.ruleForm.resetFields()
|
|
|
}
|
|
|
this.form = {
|
|
@@ -496,6 +509,7 @@ export default {
|
|
|
detailItemPayList: [],
|
|
|
balanceAmount: '',
|
|
|
nextMonthAmount: '',
|
|
|
+ specialSendAmount: '',
|
|
|
bankAccount: '东莞箭冠',
|
|
|
bankName: '东莞银行',
|
|
|
fullPaymentFlag: '1',
|