Browse Source

完善厂商管理增加付款通路编码

zhanglei
yunuo970428 3 years ago
parent
commit
147d786e07
  1. 11
      anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanliAdd.vue
  2. 1
      anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshanglook.vue
  3. 37
      anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/relation/changshangBankInfo.vue

11
anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanliAdd.vue

@ -50,7 +50,7 @@
<el-col :span="8">
<el-form-item prop="supplierType">
<el-select v-model="temp.supplierType" class="addinputw" placeholder="" @change="getSupplierType">
<el-option v-for="item in supplierType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/>
<el-option v-for="item in supplierType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey" :disabled="item.dictValue === '挂车厂' || item.dictValue === '上装厂' || item.dictValue === '外采供应商'"/>
</el-select>
</el-form-item>
</el-col>
@ -330,6 +330,7 @@
<el-table-column prop="currency" width="130px" label="币种" align="center"/>
<el-table-column prop="remarks" width="240px" label="描述" align="center"/>
<el-table-column prop="actualPay" width="240px" label="厂家销售通路" align="center"/>
<el-table-column prop="paymentAccessNoValue" width="240px" label="付款通路编码" align="center"/>
</el-table>
</el-form>
</div>
@ -903,7 +904,9 @@ export default {
currency: info.currency,
remarks: info.remarks,
actualPay: info.actualPay,
actualPayKey: info.actualPayKey
actualPayKey: info.actualPayKey,
paymentAccessNoValue: info.paymentAccessNoValue,
paymentAccessNoKey: info.paymentAccessNoValue
})
console.log('ADD开户行info', info, index)
return
@ -924,7 +927,9 @@ export default {
currency: info.currency,
remarks: info.remarks,
actualPay: info.actualPay,
actualPayKey: info.actualPayKey
actualPayKey: info.actualPayKey,
paymentAccessNoValue: info.paymentAccessNoValue,
paymentAccessNoKey: info.paymentAccessNoValue
}
return
}

1
anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshanglook.vue

@ -311,6 +311,7 @@
<el-table-column prop="currency" width="130px" label="币种" align="center"/>
<el-table-column prop="remarks" width="240px" label="描述" align="center"/>
<el-table-column prop="actualPay" width="240px" label="厂家销售通路" align="center"/>
<el-table-column prop="paymentAccessNoValue" width="240px" label="付款通路编码" align="center"/>
</el-table>
</el-form>
</div>

37
anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/relation/changshangBankInfo.vue

@ -123,6 +123,19 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<span>付款通路编码</span>
</el-col>
<el-col :span="8">
<el-form-item>
<el-select v-model="bankInfo.paymentAccessNoValue" class="addinputw" placeholder="" @change="paymentAccessNoChange">
<el-option v-for="item in paymentAccessNo_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictValue"/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" />
</el-row>
</el-form>
</div>
@ -141,6 +154,7 @@ export default {
dialogStatus: '',
receiptBank_list: [],
actualPay_list: [],
paymentAccessNo_list: [],
bankInfo: {
country: '中国',
dueBankValue: '',
@ -154,7 +168,9 @@ export default {
currency: '人民币',
remarks: '',
actualPay: '',
actualPayKey: ''
actualPayKey: '',
paymentAccessNoKey: '',
paymentAccessNoValue: ''
},
rules: {
manufacturerName: [{
@ -177,6 +193,11 @@ export default {
this.actualPay_list = res.data
}
})
typeValues({ type: 'payChannel' }).then((res) => {
if (res.success) {
this.paymentAccessNo_list = res.data
}
})
},
receiptBankChange(val) {
if (val) {
@ -190,6 +211,12 @@ export default {
this.bankInfo.actualPayKey = choosetItem[0].dictKey
}
},
paymentAccessNoChange(value) {
if (value) {
const choosetItem = this.paymentAccessNo_list.filter((item) => item.dictValue === value)
this.bankInfo.paymentAccessNoKey = choosetItem[0].dictKey
}
},
showAdd() {
this.bankInfo = {
country: '中国',
@ -204,7 +231,9 @@ export default {
currency: '人民币',
remarks: '',
actualPay: '',
actualPayKey: ''
actualPayKey: '',
paymentAccessNoKey: '',
paymentAccessNoValue: ''
}
this.bankInfo_index = ''
this.dialogStatus = 'add'
@ -248,7 +277,9 @@ export default {
swiftCode: '',
currency: '人民币',
remarks: '',
actualPay: ''
actualPay: '',
paymentAccessNoKey: '',
paymentAccessNoValue: ''
}
this.bankInfo_index = ''
this.$emit('doback')

Loading…
Cancel
Save