+ {{ + rechargeTypeEnum.find( + (item) => item.value === oilCompanyMatch.billType + ).label + }} +
+上次:{{ oilCompanyMatch.lastBalance }} @@ -226,6 +235,8 @@ import commonServe from "api/common.js"; import autocomplete from "components/autocomplete/index.vue"; import pagination from "components/pagination/index.vue"; import generalDetails from "components/generalDetails/index.vue"; + +import { rechargeTypeEnum } from "utils/dataType.js"; export default { components: { pagination, @@ -259,30 +270,16 @@ export default { label: "分油", value: "SEPARATION_OIL", }, - { - label: "充值", - value: "RECHARGE", - }, { label: "圈回", value: "TURN", }, - { - label: "销账", - value: "REVOKE", - }, - { - label: "赊销", - value: "CHARGE_SALES", - }, + + ...rechargeTypeEnum, { label: "充值返利", value: "RECHARGE_REBETE", }, - { - label: "消费返利", - value: "CONSUME_REBATE", - }, ], oilCompanyMatch: {},