diff --git a/src/api/common.js b/src/api/common.js new file mode 100644 index 0000000..2a1f213 --- /dev/null +++ b/src/api/common.js @@ -0,0 +1,19 @@ +import request from "utils/axios.js"; +// 远程搜索公司 +const getRefineryCompanyList = (params) => { + return request.postJson( + "/oil-user/oilCompanyInfo/getRefineryCompanyList", + params + ); +}; +// 远程搜索用户 +const liekQuery = (query) => { + return request.get( + `oil-user/sysCustomerInfo/liekQuery/${query.queryTypeGet}` + ); +}; + +export default { + getRefineryCompanyList, + liekQuery, +}; diff --git a/src/api/financialCenter/billDetails.js b/src/api/financialCenter/billDetails.js new file mode 100644 index 0000000..8f1de92 --- /dev/null +++ b/src/api/financialCenter/billDetails.js @@ -0,0 +1,19 @@ +import request from "utils/axios.js"; +// table +const getByPage = (params) => { + return request.postJson( + "/oil-finance/oilCompanyAccountRecord/getByPage", + params + ); +}; +//详情 +const getCompanyAccountRecord = (params) => { + return request.postJson( + "oil-finance/oilCompanyAccountRecord/getCompanyAccountRecord", + params + ); +}; +export default { + getByPage, + getCompanyAccountRecord, +}; diff --git a/src/api/financialCenter/enterpriseRecharge.js b/src/api/financialCenter/enterpriseRecharge.js new file mode 100644 index 0000000..d6857a6 --- /dev/null +++ b/src/api/financialCenter/enterpriseRecharge.js @@ -0,0 +1,21 @@ +import request from "utils/axios.js"; +// table +const getByPage = (params) => { + return request.postJson( + "/oil-finance/oilCompanyAccountReverse/getByPage", + params + ); +}; +//详情 +const get = (query) => { + return request.get(`/oil-finance/oilCompanyAccountReverse/get/${query}`); +}; +//详情 +const getByCompanyId = (query) => { + return request.get(`/oil-finance/oilCompanyAccount/getByCompanyId/${query}`); +}; +export default { + getByPage, + get, + getByCompanyId, +}; diff --git a/src/api/financialCenter/enterpriseRechargeDetails.js b/src/api/financialCenter/enterpriseRechargeDetails.js new file mode 100644 index 0000000..d6857a6 --- /dev/null +++ b/src/api/financialCenter/enterpriseRechargeDetails.js @@ -0,0 +1,21 @@ +import request from "utils/axios.js"; +// table +const getByPage = (params) => { + return request.postJson( + "/oil-finance/oilCompanyAccountReverse/getByPage", + params + ); +}; +//详情 +const get = (query) => { + return request.get(`/oil-finance/oilCompanyAccountReverse/get/${query}`); +}; +//详情 +const getByCompanyId = (query) => { + return request.get(`/oil-finance/oilCompanyAccount/getByCompanyId/${query}`); +}; +export default { + getByPage, + get, + getByCompanyId, +}; diff --git a/src/components/autocomplete/index.vue b/src/components/autocomplete/index.vue index 1d3b1dd..2bb9ffd 100644 --- a/src/components/autocomplete/index.vue +++ b/src/components/autocomplete/index.vue @@ -66,7 +66,9 @@ export default { if (query !== "") { this.loading = true; let params = {}; - params[this.config.autocompleteKey] = query; + this.config.autocompleteKey + ? (params[this.config.autocompleteKey] = query) + : (params["queryTypeGet"] = query); this.config.serveTarget(params).then((res) => { let timeInstance = setTimeout(() => { this.loading = false; diff --git a/src/components/generalDetails/index.vue b/src/components/generalDetails/index.vue index 6509990..680e534 100644 --- a/src/components/generalDetails/index.vue +++ b/src/components/generalDetails/index.vue @@ -37,21 +37,27 @@ :style="{ maxHeight: item.isFold ? '100vh' : '0px' }" class="my-cell" > -
+ {{ + rechargeTypeEnum.find((item) => item.value === row.billType) + .label + }} +
+{{ row.billType }}
+ +{{ row.occurTotalAmount }}
+ ++ 上次 {{ row.lastBalance }} +
++ 本次 {{ row.currentBalance }} +
+ ++ 上次 {{ row.lastRechargeBalance }} +
++ 本次 {{ row.currentRechargeBalance }} +
+ ++ 上次 {{ row.lastChargeRechargeBalance }} +
++ 本次 {{ row.currentChargeRechargeBalance }} +
+ ++ 上次 {{ row.lastRechargeRebateBalance }} +
++ 本次 {{ row.currentRechargeRebateBalance }} +
+ ++ 上次 {{ row.lastConsumeRebateAmount }} +
++ 本次 {{ row.currentConsumeRebateAmount }} +
+ ++ 上次:{{ oilCompanyMatch.lastBalance }} +
++ 本次:{{ oilCompanyMatch.currentBalance }} +
+ + ++ 上次:{{ oilCompanyMatch.lastRechargeBalance }} +
++ 本次:{{ oilCompanyMatch.currentRechargeBalance }} +
+ + ++ 上次:{{ oilCompanyMatch.lastChargeRechargeBalance }} +
++ 本次:{{ oilCompanyMatch.currentChargeRechargeBalance }} +
+ + ++ 上次:{{ oilCompanyMatch.lastRechargeRebateBalance }} +
++ 本次:{{ oilCompanyMatch.currentRechargeRebateBalance }} +
+ + ++ 上次:{{ oilCompanyMatch.lastConsumeRebateAmount }} +
++ 本次:{{ oilCompanyMatch.currentConsumeRebateAmount }} +
+ + ++ {{ + rechargeTypeEnum.find( + (item) => item.value === row.billTypes + ).label + }} +
++ {{ row.billTypes }} +
+ ++ {{ + rechargeStatusEnum.find( + (item) => item.value === row.transactionState + ).label + }} +
+ +收款公司账户:{{ row.internalCompanyName }}
+收款开户行:{{ row.bankDeposit }}
+收款银行卡号:{{ row.bankCardNo }}
++ {{ + row.transactionType !== "CHARGE_SALES" || + (row.transactionType === "CHARGE_SALES" && + row.transactionState === -1) + ? "无状态" + : repaymentExamineEnum.find( + (item) => item.value === row.chargeSalesAuditMark + ).label + }} +
+ ++ {{ + row.transactionType === "TURN" + ? LoopBackTypeEnum.find((item) => item.value === row.turnType) + .label + : rechargeTypeEnum.find( + (item) => item.value === row.transactionType + ).label + }} +
+ ++ {{ + rechargeStatusEnum.find( + (item) => item.value === row.transactionState + ).label + }} +
+ ++ {{ + row.transactionType !== "CHARGE_SALES" || + (row.transactionType === "CHARGE_SALES" && + row.transactionState === -1) + ? "无状态" + : repaymentExamineEnum.find( + (item) => item.value === row.chargeSalesAuditMark + ).label + }} +
+ +