|
|
@@ -8,6 +8,7 @@
|
|
|
<el-radio-button :label="0">应收账款</el-radio-button>
|
|
|
<el-radio-button :label="1">机构分成</el-radio-button>
|
|
|
<el-radio-button :label="2">业务员提成</el-radio-button>
|
|
|
+ <el-radio-button :label="3">佣金结算</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
<search-box-new
|
|
|
ref="searchBox"
|
|
|
@@ -16,26 +17,27 @@
|
|
|
@search="search"
|
|
|
@init="init"
|
|
|
/>
|
|
|
- <div class="dis_flex_order_li">
|
|
|
- <div class="list" v-for="(item, index) in showTabList[type]" :key="index">
|
|
|
- <img :src="item.img" alt="" />
|
|
|
- <div class="right">
|
|
|
- <h4>{{ item.label }}:</h4>
|
|
|
- <p>{{ countInfo[item.prop] }}{{ item.ch || "元" }}</p>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <picture-list
|
|
|
+ :key="type + 'a'"
|
|
|
+ :fn="getCountOrderNum"
|
|
|
+ :list="showTabList[type]"
|
|
|
+ ></picture-list>
|
|
|
<table-list
|
|
|
:key="type"
|
|
|
rowKey="id"
|
|
|
ref="tableList"
|
|
|
- @openDialog="(row) => openDialog(row, 0)"
|
|
|
:tableSets="tableSet"
|
|
|
:tableData="tableData"
|
|
|
:navText="navText"
|
|
|
:loading="loading"
|
|
|
+ :setIndex="setIndex"
|
|
|
+ @load="load"
|
|
|
>
|
|
|
<template slot="customize">
|
|
|
+ <el-button @click="() => {}" type="warning"> 批量支付 </el-button>
|
|
|
+ <el-button @click="openDialog({}, 4)" type="success">
|
|
|
+ 坏账设置
|
|
|
+ </el-button>
|
|
|
<el-button @click="batchExport" type="primary"> 导出excel </el-button>
|
|
|
</template>
|
|
|
<template slot="predictPayTime" slot-scope="props">
|
|
|
@@ -62,24 +64,28 @@
|
|
|
</template>
|
|
|
<template slot="divideCheckStatus" slot-scope="props">
|
|
|
<div>
|
|
|
- {{ divideCheckStatus(props.scope.row.divideCheckStatus) }}
|
|
|
+ {{ divideCheckStatus(props.scope.row.checkStatus) }}
|
|
|
<span style="color: #409eff" v-if="props.scope.row.roleName">
|
|
|
({{ props.scope.row.roleName }})
|
|
|
</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template slot="status" slot-scope="props">
|
|
|
- <el-checkbox
|
|
|
- @change="changeStatus"
|
|
|
- :checked="!!props.scope.row.status"
|
|
|
- ></el-checkbox>
|
|
|
+ {{ backStatus(props.scope) }}
|
|
|
</template>
|
|
|
<template slot="btn" slot-scope="props">
|
|
|
+ <el-button
|
|
|
+ v-if="props.scope.row.oId"
|
|
|
+ type="text"
|
|
|
+ @click="openDialog(props.scope.row, 3)"
|
|
|
+ >
|
|
|
+ 查看详情
|
|
|
+ </el-button>
|
|
|
<el-button
|
|
|
v-if="type == 0"
|
|
|
type="text"
|
|
|
:disabled="props.scope.row.creditStatus == 1"
|
|
|
- @click="openDialog(props.scope.row, 1)"
|
|
|
+ @click="openDialog(props.scope.row, 0)"
|
|
|
>
|
|
|
催款提醒
|
|
|
</el-button>
|
|
|
@@ -90,14 +96,14 @@
|
|
|
props.scope.row.creditStatus == 1 ||
|
|
|
props.scope.row.divideCheckStatus == 3
|
|
|
"
|
|
|
- @click="openDialog(props.scope.row, 2)"
|
|
|
+ @click="openDialog(props.scope.row, 1)"
|
|
|
>
|
|
|
点击审核
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
type="text"
|
|
|
style="color: #e6a23c"
|
|
|
- @click="openDialog(props.scope.row, 3)"
|
|
|
+ @click="openDialog(props.scope.row, 2)"
|
|
|
>
|
|
|
修改备注
|
|
|
</el-button>
|
|
|
@@ -122,8 +128,7 @@
|
|
|
:dialogVisible.sync="orderDialogVisible"
|
|
|
/>
|
|
|
<arap-remarks
|
|
|
- :orderSn="activeOrderInfo.orderSn"
|
|
|
- :remark="activeOrderInfo.remark"
|
|
|
+ :info="activeOrderInfo"
|
|
|
@search="search"
|
|
|
:dialogVisible.sync="remarkDialogVisible"
|
|
|
></arap-remarks>
|
|
|
@@ -135,6 +140,10 @@
|
|
|
:orderSn="activeOrderInfo.orderSn"
|
|
|
:checkFrom="type + 1"
|
|
|
></dislog-set>
|
|
|
+ <!-- 坏账设置 -->
|
|
|
+ <dislog-bad-bill
|
|
|
+ :dialogVisible.sync="badBillDialogVisible"
|
|
|
+ ></dislog-bad-bill>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -146,15 +155,21 @@ import pagination from "@/components/pagination";
|
|
|
import dislogTip from "./dislogTip.vue";
|
|
|
import dislogOrderDetails from "../components/dislogOrderDetails.vue";
|
|
|
import arapRemarks from "../components/arapRemarks.vue";
|
|
|
+import pictureList from "@/components/Comon/pictureList.vue";
|
|
|
+import dislogBadBill from "../components/dislogBadBill.vue";
|
|
|
import { exportFn } from "@/utils/index.js";
|
|
|
import {
|
|
|
orderList,
|
|
|
sellerList,
|
|
|
tenantList,
|
|
|
+ companyList,
|
|
|
orderExport,
|
|
|
tenantExport,
|
|
|
sellerExport,
|
|
|
countOrderNum,
|
|
|
+ commissionList,
|
|
|
+ sellerPercentageList,
|
|
|
+ monthOrderList,
|
|
|
} from "@/api/financed/index";
|
|
|
export default {
|
|
|
name: "cost",
|
|
|
@@ -166,39 +181,74 @@ export default {
|
|
|
dislogOrderDetails,
|
|
|
arapRemarks,
|
|
|
dislogSet,
|
|
|
+ pictureList,
|
|
|
+ dislogBadBill,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ value5: [],
|
|
|
showTabList: [
|
|
|
[
|
|
|
{
|
|
|
- label: "合同金额",
|
|
|
- prop: "orderPriceTotal",
|
|
|
- img: require("@/assets/images/合同金额@2x.png"),
|
|
|
+ label: "未收账款",
|
|
|
+ prop: "orderUncollectedTotal",
|
|
|
+ img: "未收款",
|
|
|
},
|
|
|
+ ],
|
|
|
+ [
|
|
|
{
|
|
|
- label: "已收账款",
|
|
|
- prop: "orderReceivedTotal",
|
|
|
- img: require("@/assets/images/已收款@2x.png"),
|
|
|
+ label: "代付分成",
|
|
|
+ prop: "payMoneyTotal",
|
|
|
+ img: "未收款",
|
|
|
},
|
|
|
{
|
|
|
- label: "未收账款",
|
|
|
- prop: "orderUncollectedTotal",
|
|
|
- img: require("@/assets/images/未收款@2x.png"),
|
|
|
+ label: "待扣分成",
|
|
|
+ prop: "deductMoneyTotal",
|
|
|
+ img: "已退款",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已扣分成",
|
|
|
+ prop: "unDeductMoneyTotal",
|
|
|
+ img: "成本金额",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已付分成",
|
|
|
+ prop: "unPayMoneyTotal",
|
|
|
+ img: "已收款",
|
|
|
},
|
|
|
],
|
|
|
[
|
|
|
{
|
|
|
- label: "待付账款",
|
|
|
- prop: "sellerPay",
|
|
|
- img: require("@/assets/images/未收款@2x.png"),
|
|
|
+ label: "代付分成",
|
|
|
+ prop: "payMoneyTotal",
|
|
|
+ img: "未收款",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "待扣分成",
|
|
|
+ prop: "deductMoneyTotal",
|
|
|
+ img: "已退款",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已扣分成",
|
|
|
+ prop: "unDeductMoneyTotal",
|
|
|
+ img: "成本金额",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已付分成",
|
|
|
+ prop: "unPayMoneyTotal",
|
|
|
+ img: "已收款",
|
|
|
},
|
|
|
],
|
|
|
[
|
|
|
{
|
|
|
- label: "待付账款",
|
|
|
- prop: "tenantPay",
|
|
|
- img: require("@/assets/images/未收款@2x.png"),
|
|
|
+ label: "待付佣金",
|
|
|
+ prop: "payMoneyTotal",
|
|
|
+ img: "未收款",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已付佣金",
|
|
|
+ prop: "unPayMoneyTotal",
|
|
|
+ img: "已收款",
|
|
|
},
|
|
|
],
|
|
|
],
|
|
|
@@ -208,10 +258,11 @@ export default {
|
|
|
index: 0,
|
|
|
ch: "条",
|
|
|
num: true,
|
|
|
- choice: false,
|
|
|
+ choice: true,
|
|
|
addHide: true,
|
|
|
+ dontNum: false,
|
|
|
openCheckMore: true,
|
|
|
- changeWidth: "160px",
|
|
|
+ changeWidth: "240px",
|
|
|
custom: false,
|
|
|
},
|
|
|
formData: {
|
|
|
@@ -230,7 +281,6 @@ export default {
|
|
|
label: "订单单号",
|
|
|
prop: "orderSn",
|
|
|
hidden: true,
|
|
|
- scope: "openDialog",
|
|
|
},
|
|
|
{
|
|
|
label: "机构名称",
|
|
|
@@ -288,25 +338,61 @@ export default {
|
|
|
],
|
|
|
tableSet1: [
|
|
|
{
|
|
|
- label: "下单时间",
|
|
|
- prop: "startTime",
|
|
|
+ label: "时间",
|
|
|
+ prop: "monthTime",
|
|
|
hidden: true,
|
|
|
- scope: "aTimeList",
|
|
|
},
|
|
|
{
|
|
|
label: "订单单号",
|
|
|
prop: "orderSn",
|
|
|
hidden: true,
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "类型",
|
|
|
+ prop: "billType",
|
|
|
+ scope: "type",
|
|
|
+ hidden: true,
|
|
|
+ values: {
|
|
|
+ 1: "月份",
|
|
|
+ 2: "季度",
|
|
|
+ 3: "半年",
|
|
|
+ 4: "年度",
|
|
|
+ 6: "完单",
|
|
|
+ 7: "退款",
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
label: "机构名称",
|
|
|
prop: "tenantName",
|
|
|
hidden: true,
|
|
|
},
|
|
|
{
|
|
|
- label: "待付账款(元)",
|
|
|
- prop: "divideCompanyMoney",
|
|
|
+ label: "已付分成(元)",
|
|
|
+ prop: "payMoney",
|
|
|
+ hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已扣分成(元)",
|
|
|
+ prop: "deductMoney",
|
|
|
+ hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "待付分成(元)",
|
|
|
+ prop: "payMoney",
|
|
|
+ hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "待扣分成(元)",
|
|
|
+ prop: "deductMoney",
|
|
|
hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
},
|
|
|
{
|
|
|
label: "预付时间",
|
|
|
@@ -325,6 +411,12 @@ export default {
|
|
|
scope: "solt",
|
|
|
soltName: "divideCheckStatus",
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "支付时间",
|
|
|
+ prop: "payTime",
|
|
|
+ scope: "aTimeList",
|
|
|
+ hidden: true,
|
|
|
+ },
|
|
|
{
|
|
|
label: "备注",
|
|
|
prop: "remark",
|
|
|
@@ -333,16 +425,29 @@ export default {
|
|
|
],
|
|
|
tableSet2: [
|
|
|
{
|
|
|
- label: "下单时间",
|
|
|
- prop: "buyTime",
|
|
|
+ label: "时间",
|
|
|
+ prop: "monthTime",
|
|
|
hidden: true,
|
|
|
- scope: "aTimeList",
|
|
|
},
|
|
|
{
|
|
|
label: "订单单号",
|
|
|
prop: "orderSn",
|
|
|
hidden: true,
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "类型",
|
|
|
+ prop: "billType",
|
|
|
+ scope: "type",
|
|
|
+ hidden: true,
|
|
|
+ values: {
|
|
|
+ 1: "月份",
|
|
|
+ 2: "季度",
|
|
|
+ 3: "半年",
|
|
|
+ 4: "年度",
|
|
|
+ 6: "完单",
|
|
|
+ 7: "退款",
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
label: "机构名称",
|
|
|
prop: "tenantName",
|
|
|
@@ -359,19 +464,82 @@ export default {
|
|
|
hidden: true,
|
|
|
},
|
|
|
{
|
|
|
- label: "待付账款(元)",
|
|
|
- prop: "divideSellerMoney",
|
|
|
+ label: "已付提成(元)",
|
|
|
+ prop: "payMoney",
|
|
|
hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
},
|
|
|
{
|
|
|
- label: "预付时间",
|
|
|
- prop: "predictReceiveTime",
|
|
|
+ label: "已扣提成(元)",
|
|
|
+ prop: "deductMoney",
|
|
|
hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
},
|
|
|
{
|
|
|
- label: "剩余天数",
|
|
|
- prop: "predictReceiveDay",
|
|
|
+ label: "待付提成(元)",
|
|
|
+ prop: "payMoney",
|
|
|
+ hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "待扣提成(元)",
|
|
|
+ prop: "deductMoney",
|
|
|
+ hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "审核状态",
|
|
|
+ prop: "divideCheckStatus",
|
|
|
+ hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "divideCheckStatus",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "支付时间",
|
|
|
+ prop: "payTime",
|
|
|
+ scope: "aTimeList",
|
|
|
+ scope: "aTimeList",
|
|
|
+ hidden: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "备注",
|
|
|
+ prop: "remark",
|
|
|
+ hidden: true,
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ tableSet3: [
|
|
|
+ {
|
|
|
+ label: "时间",
|
|
|
+ prop: "monthTime",
|
|
|
+ hidden: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "订单单号",
|
|
|
+ prop: "orderSn",
|
|
|
+ hidden: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "机构名称",
|
|
|
+ prop: "tenantName",
|
|
|
+ hidden: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已付佣金(元)",
|
|
|
+ prop: "payMoney",
|
|
|
hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "待付佣金(元)",
|
|
|
+ prop: "deductMoney",
|
|
|
+ hidden: true,
|
|
|
+ scope: "solt",
|
|
|
+ soltName: "status",
|
|
|
},
|
|
|
{
|
|
|
label: "审核状态",
|
|
|
@@ -380,6 +548,11 @@ export default {
|
|
|
scope: "solt",
|
|
|
soltName: "divideCheckStatus",
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "支付时间",
|
|
|
+ prop: "payTime",
|
|
|
+ hidden: true,
|
|
|
+ },
|
|
|
{
|
|
|
label: "备注",
|
|
|
prop: "remark",
|
|
|
@@ -392,10 +565,12 @@ export default {
|
|
|
orderDialogVisible: false,
|
|
|
remarkDialogVisible: false,
|
|
|
examineDialogVisible: false,
|
|
|
- type: 0,
|
|
|
+ badBillDialogVisible: false,
|
|
|
+ type: 1,
|
|
|
activeOrderInfo: {},
|
|
|
roleList: [],
|
|
|
countInfo: {},
|
|
|
+ spanData: {},
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -429,12 +604,12 @@ export default {
|
|
|
openDialog(data, type) {
|
|
|
this.activeOrderInfo = data;
|
|
|
this[
|
|
|
- ["order", "tip", "examine", "remark"][type] + "DialogVisible"
|
|
|
+ ["tip", "examine", "remark", "order", "badBill"][type] + "DialogVisible"
|
|
|
] = true;
|
|
|
},
|
|
|
batchExport() {
|
|
|
const fn = [orderExport, tenantExport, sellerExport][this.type];
|
|
|
- fn(this.backData()).then((res) => {
|
|
|
+ fn(this.formData).then((res) => {
|
|
|
if (res.msg) {
|
|
|
exportFn(
|
|
|
res.msg,
|
|
|
@@ -454,13 +629,23 @@ export default {
|
|
|
let data = row[key].split(",").sort((a, b) => a - b);
|
|
|
return data;
|
|
|
},
|
|
|
+ setIndex(index) {
|
|
|
+ return index + 1;
|
|
|
+ },
|
|
|
changeSearch() {
|
|
|
this.search(2);
|
|
|
},
|
|
|
- getDataList(data) {
|
|
|
- const fn = [orderList, tenantList, sellerList][this.type];
|
|
|
- fn(data)
|
|
|
+ getDataList() {
|
|
|
+ const fn = [orderList, companyList, sellerPercentageList, commissionList][
|
|
|
+ this.type
|
|
|
+ ];
|
|
|
+ fn(this.formData)
|
|
|
.then((res) => {
|
|
|
+ res.rows.forEach((e) => {
|
|
|
+ e.children = [];
|
|
|
+ e.hasChildren = true;
|
|
|
+ e.monthTime = this.parseTime(e.monthTime, "{y}-{m}");
|
|
|
+ });
|
|
|
this.tableData = res.rows;
|
|
|
this.total = res.total;
|
|
|
this.navText.index = res.total;
|
|
|
@@ -469,33 +654,62 @@ export default {
|
|
|
this.loading = false;
|
|
|
});
|
|
|
},
|
|
|
+ load(tree, treeNode, resolve) {
|
|
|
+ monthOrderList({ divideLogId: tree.id })
|
|
|
+ .then((res) => {
|
|
|
+ // id冲突会报错
|
|
|
+ res.data.forEach((e) => {
|
|
|
+ e.oId = e.id;
|
|
|
+ e.id = e.id + 100086;
|
|
|
+ e.billType = e.orderType + 5;
|
|
|
+ e.monthTime = this.parseTime(e.monthTime, "{y}-{m}-{d}");
|
|
|
+ });
|
|
|
+ resolve(res.data);
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ resolve([]);
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 切换已付待付
|
|
|
+ backStatus({ row, column }) {
|
|
|
+ let { label, property } = column;
|
|
|
+ return ["0.00", row[property]][
|
|
|
+ (label.indexOf("已") != -1 ? 0 : 1) ^ row.payStatus
|
|
|
+ ];
|
|
|
+ },
|
|
|
+ changeData(data) {
|
|
|
+ if (this.type == 0) {
|
|
|
+ return data;
|
|
|
+ }
|
|
|
+ let total = 0;
|
|
|
+ let arr = [];
|
|
|
+ data.forEach((ele) => {
|
|
|
+ const monthList = ele.monthList;
|
|
|
+ delete ele.monthList;
|
|
|
+ this.spanData[total] = monthList.length;
|
|
|
+ total += monthList.length;
|
|
|
+ monthList.map((e) => {
|
|
|
+ Object.keys(e).forEach((key) => {
|
|
|
+ e[key] = e[key] || ele[key];
|
|
|
+ });
|
|
|
+ });
|
|
|
+ arr.push(...monthList);
|
|
|
+ });
|
|
|
+ return arr;
|
|
|
+ },
|
|
|
search(v) {
|
|
|
this.loading = true;
|
|
|
if (v === 2) {
|
|
|
this.formData = {
|
|
|
pageSize: 10,
|
|
|
pageNum: 1,
|
|
|
+ month: [],
|
|
|
};
|
|
|
}
|
|
|
- this.getDataList(this.backData());
|
|
|
- },
|
|
|
- backData() {
|
|
|
- let data = this.formData;
|
|
|
- let { startTime, endTime } = this.formData;
|
|
|
- if (startTime || endTime) {
|
|
|
- data = JSON.parse(JSON.stringify(this.formData));
|
|
|
- if (startTime) {
|
|
|
- data.startTime = parseInt(startTime / 1000);
|
|
|
- }
|
|
|
- if (endTime) {
|
|
|
- data.endTime = parseInt(endTime / 1000);
|
|
|
- }
|
|
|
- }
|
|
|
- return data;
|
|
|
+ this.getDataList();
|
|
|
},
|
|
|
init() {
|
|
|
this.getRoleList();
|
|
|
- this.getCountOrderNum();
|
|
|
this.search(2);
|
|
|
},
|
|
|
getRoleList() {
|
|
|
@@ -504,8 +718,8 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getCountOrderNum() {
|
|
|
- countOrderNum().then((res) => {
|
|
|
- this.countInfo = res.data;
|
|
|
+ return countOrderNum({ totalType: this.type + 1 }).then((res) => {
|
|
|
+ return Promise.resolve(res);
|
|
|
});
|
|
|
},
|
|
|
},
|
|
|
@@ -514,55 +728,70 @@ export default {
|
|
|
return this["tableSet" + this.type];
|
|
|
},
|
|
|
formList() {
|
|
|
+ const key = ["订单", "分成", "提成", "分成"][this.type];
|
|
|
let data = [
|
|
|
{
|
|
|
- prop: "creditStatus",
|
|
|
- placeholder: "账款状态",
|
|
|
- scope: "select",
|
|
|
- options: [
|
|
|
- { label: "已结清", value: 1 },
|
|
|
- { label: "未结清", value: 0 },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- prop1: "startTime",
|
|
|
- prop2: "endTime",
|
|
|
- placeholder1: "开始时间",
|
|
|
- placeholder2: "结束时间",
|
|
|
- scope: "moreDataPicker",
|
|
|
+ prop: "tenantId",
|
|
|
+ placeholder: "机构选择",
|
|
|
+ scope: "systemtenantlist",
|
|
|
},
|
|
|
];
|
|
|
- if (this.type != 1) {
|
|
|
- data.unshift(
|
|
|
+ if (this.type != 0) {
|
|
|
+ data.push(
|
|
|
+ {
|
|
|
+ prop: "monthTime",
|
|
|
+ scope: "moreMonth",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "checkStatus",
|
|
|
+ placeholder: "审核状态",
|
|
|
+ scope: "select",
|
|
|
+ options: [
|
|
|
+ { label: "待审核", value: 0 },
|
|
|
+ { label: "已通过", value: 1 },
|
|
|
+ { label: "未通过", value: -1 },
|
|
|
+ { label: "待支付", value: 2 },
|
|
|
+ { label: "已支付", value: 3 },
|
|
|
+ ],
|
|
|
+ },
|
|
|
{
|
|
|
prop: "roleId",
|
|
|
- placeholder: "角色选择",
|
|
|
+ placeholder: "审核角色",
|
|
|
scope: "select",
|
|
|
options: this.roleList,
|
|
|
selectValue: "roleId",
|
|
|
selectLabel: "roleName",
|
|
|
- },
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
+ if (this.type == 0) {
|
|
|
+ data.push(
|
|
|
{
|
|
|
- prop: "divideStatus",
|
|
|
- placeholder: "审核状态",
|
|
|
+ prop: "badStatus",
|
|
|
+ placeholder: "坏账选择",
|
|
|
scope: "select",
|
|
|
options: [
|
|
|
- { label: "待审核", value: 0 },
|
|
|
- { label: "已通过", value: 1 },
|
|
|
- { label: "未通过", value: 2 },
|
|
|
- { label: "已撤销", value: 3 },
|
|
|
+ { label: "是", value: 0 },
|
|
|
+ { label: "否", value: 1 },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- prop: "tenantId",
|
|
|
- placeholder: "机构选择",
|
|
|
- scope: "systemtenantlist",
|
|
|
+ prop1: "startTime",
|
|
|
+ prop2: "endTime",
|
|
|
+ placeholder1: key + "开始时间",
|
|
|
+ placeholder2: key + "结束时间",
|
|
|
+ scope: "moreDataPicker",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "orderSn",
|
|
|
+ placeholder: "订单单号",
|
|
|
}
|
|
|
);
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ if (this.type == 0 || this.type == 2) {
|
|
|
data.push({
|
|
|
prop: "keyNo",
|
|
|
- placeholder: "机构/业务号",
|
|
|
+ placeholder: "业务员号",
|
|
|
});
|
|
|
}
|
|
|
return data;
|
|
|
@@ -579,45 +808,4 @@ export default {
|
|
|
content: ",";
|
|
|
}
|
|
|
}
|
|
|
-.dis_flex_order_li {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- flex-wrap: wrap;
|
|
|
- & > .list {
|
|
|
- user-select: none;
|
|
|
- cursor: pointer;
|
|
|
- transition: all 0.3s;
|
|
|
- box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2);
|
|
|
- &:hover {
|
|
|
- transform: scale(1.04);
|
|
|
- }
|
|
|
- width: 136px;
|
|
|
- height: 44px;
|
|
|
- border-radius: 6px;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- flex-shrink: 0;
|
|
|
- margin-right: 10px;
|
|
|
- margin-bottom: 10px;
|
|
|
- & > img {
|
|
|
- margin-left: 2px;
|
|
|
- width: 40px;
|
|
|
- height: 40px;
|
|
|
- }
|
|
|
- & > .right {
|
|
|
- flex: 1;
|
|
|
- padding-left: 4px;
|
|
|
- & > h4 {
|
|
|
- color: #000;
|
|
|
- margin: 0;
|
|
|
- font-size: 12px;
|
|
|
- }
|
|
|
- & > p {
|
|
|
- font-size: 12px;
|
|
|
- color: red;
|
|
|
- margin: 0;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
</style>
|