pull/1/head
xiaozhiyong 2 years ago
parent c856bb5318
commit dcffab1d2a
  1. 12
      src/components/autocomplete/index.vue
  2. 16
      src/utils/dataType.js
  3. 68
      src/views/financialCenter/enterpriseRecharge/index.vue
  4. 14
      src/views/financialCenter/enterpriseRechargeDetails/index.vue
  5. 4
      src/views/product/components/adjust.vue

@ -59,14 +59,14 @@ export default {
if (query !== "") {
this.loading = true;
let params = {};
if (
this.$utils
.typeJudgment(this.config.autocompleteKey)
.includes("Object")
) {
let type = this.$utils.typeJudgment(this.config.autocompleteKey);
if (!type.includes("Object") && !type.includes("String")) return;
if (type.includes("Object")) {
params[this.config.autocompleteKey.key] = query;
params["enableMark"] = this.config.autocompleteKey.enableMark;
} else {
}
if (type.includes("String")) {
this.config.autocompleteKey
? (params[this.config.autocompleteKey] = query)
: (params["queryTypeGet"] = query);

@ -18,14 +18,14 @@ export const rechargeTypeEnum = [
label: "充值",
value: "RECHARGE",
},
{
label: "销账",
value: "REVOKE",
},
{
label: "赊销",
value: "CHARGE_SALES",
},
// {
// label: "销账",
// value: "REVOKE",
// },
// {
// label: "赊销",
// value: "CHARGE_SALES",
// },
{
label: "消费返利",
value: "CONSUME_REBATE",

@ -34,7 +34,7 @@
v-for="(item, index) in rechargeStatusEnum"
:key="index"
:label="item.label"
:value="item.value"
:value="item.value + ''"
>
</el-option>
</el-select>
@ -47,11 +47,11 @@
v-for="(item, index) in auditMarkEnum"
:key="index"
:label="item.label"
:value="item.value"
:value="item.value + ''"
>
</el-option>
</el-select>
<el-select
<!-- <el-select
v-model="parameter.params.chargeSalesAuditMark"
placeholder="赊账还款审核"
clearable
@ -63,7 +63,7 @@
:value="item.value"
>
</el-option>
</el-select>
</el-select> -->
<el-date-picker
v-model="datetime"
type="datetimerange"
@ -141,7 +141,7 @@
<el-table-column label="交易状态">
<template slot-scope="{ row }">
<p v-if="row.transactionState">
<p>
{{
rechargeStatusEnum.find(
(item) => item.value === row.transactionState
@ -345,7 +345,6 @@ import generalDetails from "components/generalDetails/index.vue";
import {
rechargeTypeEnum,
rechargeStatusEnum,
repaymentExamineEnum,
accountStatusEnum,
} from "utils/dataType.js";
@ -377,13 +376,6 @@ export default {
...rechargeTypeEnum,
],
rechargeStatusEnum: rechargeStatusEnum,
repaymentExamineEnum: [
{
label: "已拆分",
value: -3,
},
...repaymentExamineEnum,
],
auditMarkEnum: [
{
label: "待审核",
@ -427,24 +419,6 @@ export default {
total: 0,
params: {},
},
rechargeTypeEnum: [
{
label: "充值",
value: "RECHARGE",
},
{
label: "销账",
value: "REVOKE",
},
{
label: "赊销",
value: "CHARGE_SALES",
},
{
label: "消费返利",
value: "CONSUME_REBATE",
},
],
LoopBackTypeEnum: [
{
label: "充值圈回",
@ -463,38 +437,6 @@ export default {
value: 4,
},
],
rechargeStatusEnum: [
{
label: "已申请",
value: 0,
},
{
label: "已成功",
value: 1,
},
{
label: "已撤销",
value: -1,
},
],
repaymentExamineEnum: [
{
label: "还款待审核",
value: 0,
},
{
label: "还款成功",
value: 1,
},
{
label: "还款失败",
value: -1,
},
{
label: "待还款",
value: -2,
},
],
oilCompanyMatch: [],
mappingData: [
{

@ -13,7 +13,7 @@
:config="configAutocompleteSec"
/>
<el-select
v-model="parameter.params.enableMark"
v-model="parameter.params.transactionType"
placeholder="交易类型"
clearable
>
@ -26,7 +26,7 @@
</el-option>
</el-select>
<el-select
v-model="parameter.params.enableMark"
v-model="parameter.params.transactionState"
placeholder="交易状态"
clearable
>
@ -38,7 +38,7 @@
>
</el-option>
</el-select>
<el-select
<!-- <el-select
v-model="parameter.params.enableMark"
placeholder="赊账还款审核"
clearable
@ -50,7 +50,7 @@
:value="item.value"
>
</el-option>
</el-select>
</el-select> -->
<el-date-picker
v-model="datetime"
type="datetimerange"
@ -106,7 +106,7 @@
<el-table-column label="交易状态">
<template slot-scope="{ row }">
<p v-if="row.transactionState">
<p>
{{
rechargeStatusEnum.find(
(item) => item.value === row.transactionState
@ -135,7 +135,7 @@
>
</el-table-column>
<el-table-column label="赊账还款审核">
<!-- <el-table-column label="赊账还款审核">
<template slot-scope="{ row }">
<p v-if="row.transactionType && row.chargeSalesAuditMark">
{{
@ -149,7 +149,7 @@
}}
</p>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column
prop="businessLeader"

@ -27,7 +27,7 @@
</el-form>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="controlWindows.adjust = false"> </el-button>
<el-button @click="closeWindow"> </el-button>
<el-button type="primary" @click="submit"> </el-button>
</span>
</el-dialog>
@ -67,8 +67,8 @@ export default {
});
},
closeWindow() {
this.form = {};
this.$emit("closeWindow");
this.form = {};
this.$nextTick(() => {
this.$refs.form.clearValidate();
this.controlWindows.adjust = false;

Loading…
Cancel
Save