1.对接费率接口

huipay-master
杨杰 3 years ago
parent 87e5571b8f
commit 618f2a5288
  1. 5
      Utils/Api.js
  2. 22
      pages/index/merchant-incoming-parts/merchant-incoming-parts.vue

@ -61,6 +61,11 @@ export const getMerListBySalesman = params => {
export const getLklMcc = params => { export const getLklMcc = params => {
return POST('GET', `${base}/common/getLklMcc`, params).then(res => res.data); return POST('GET', `${base}/common/getLklMcc`, params).then(res => res.data);
} }
//业务员查询费率类型
export const getDictionaryByCodeType = params => {
return POST('GET', `${base}/common/getDictionaryByCodeType`, params).then(res => res.data);
}
//查询商户门店 //查询商户门店
export const getStoreListByMer = params => { export const getStoreListByMer = params => {
return POST('GET', `${base}/store/getStoreListByMer`, params).then(res => res.data); return POST('GET', `${base}/store/getStoreListByMer`, params).then(res => res.data);

@ -664,7 +664,8 @@
getMerDetail, getMerDetail,
configMerBasis, configMerBasis,
configMerSettlement, configMerSettlement,
configMerStore configMerStore,
getDictionaryByCodeType
} from '../../../Utils/Api.js'; } from '../../../Utils/Api.js';
let app = getApp(); let app = getApp();
export default { export default {
@ -760,6 +761,7 @@
onLoad(options) { onLoad(options) {
this.merId = options.id this.merId = options.id
this.getMerDetail(1); this.getMerDetail(1);
this.getDictionaryByCodeType();
}, },
onShow() { onShow() {
if (app.globalData.businessid) { if (app.globalData.businessid) {
@ -1181,13 +1183,13 @@
this.companyname = res.return_data.blisName; this.companyname = res.return_data.blisName;
this.businnum = res.return_data.blisNo this.businnum = res.return_data.blisNo
this.regaddress = res.return_data.blisRegAddress; this.regaddress = res.return_data.blisRegAddress;
if(res.return_data.blisPeriodStart){ if (res.return_data.blisPeriodStart) {
this.start_date = res.return_data.blisPeriodStart; this.start_date = res.return_data.blisPeriodStart;
} }
if(res.return_data.blisPeriodType){ if (res.return_data.blisPeriodType) {
this.timetype = res.return_data.blisPeriodType; this.timetype = res.return_data.blisPeriodType;
} }
if(res.return_data.blisPeriodEnd){ if (res.return_data.blisPeriodEnd) {
this.end_date = res.return_data.blisPeriodEnd; this.end_date = res.return_data.blisPeriodEnd;
} }
this.inducateid = res.return_data.merIndustry.childId; this.inducateid = res.return_data.merIndustry.childId;
@ -1792,9 +1794,17 @@
} }
} }
}); });
}, },
//
getDictionaryByCodeType() {
let params = {
codeType: 'MER_PLATFORM_NO_RATE'
}
getDictionaryByCodeType(params).then(res=>{
if(res.return_code == '000000'){
}
})
}
} }
} }
</script> </script>

Loading…
Cancel
Save