|
@@ -337,7 +337,6 @@ const accountCurrency = ref([]);
|
|
|
const fundsCostType = ref([]);
|
|
|
const fundsPaymentMethod = ref([]);
|
|
|
const deptTreeData = ref([]);
|
|
|
-const paymentStatus = ref([]);
|
|
|
const status = ref([
|
|
|
{
|
|
|
label: "审批中",
|
|
@@ -352,23 +351,35 @@ const status = ref([
|
|
|
value: "30",
|
|
|
},
|
|
|
]);
|
|
|
-const selectConfig = reactive([
|
|
|
+const paymentStatus = ref([
|
|
|
{
|
|
|
- label: "类型",
|
|
|
- prop: "type",
|
|
|
- data: fundsType.value,
|
|
|
- },
|
|
|
- {
|
|
|
- label: "审批状态",
|
|
|
- prop: "status",
|
|
|
- data: status.value,
|
|
|
+ label: "已打款",
|
|
|
+ value: "10",
|
|
|
},
|
|
|
{
|
|
|
- label: "放款状态",
|
|
|
- prop: "paymentStatus",
|
|
|
- data: [],
|
|
|
+ label: "未打款",
|
|
|
+ value: "20",
|
|
|
},
|
|
|
]);
|
|
|
+const selectConfig = computed(() => {
|
|
|
+ return [
|
|
|
+ {
|
|
|
+ label: "类型",
|
|
|
+ prop: "type",
|
|
|
+ data: fundsType.value,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "审批状态",
|
|
|
+ prop: "status",
|
|
|
+ data: status.value,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "放款状态",
|
|
|
+ prop: "paymentStatus",
|
|
|
+ data: paymentStatus.value,
|
|
|
+ },
|
|
|
+ ];
|
|
|
+});
|
|
|
const config = computed(() => {
|
|
|
return [
|
|
|
{
|
|
@@ -453,9 +464,12 @@ const config = computed(() => {
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "放款状态",
|
|
|
- prop: "subscribeContent",
|
|
|
+ prop: "accountPaymentStatus",
|
|
|
width: 100,
|
|
|
},
|
|
|
+ render(status) {
|
|
|
+ return proxy.dictValueLabel(status, paymentStatus.value);
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
@@ -517,7 +531,7 @@ const recursive = (data) => {
|
|
|
});
|
|
|
};
|
|
|
const getDictData = () => {
|
|
|
- proxy.getDictOne(["founds_type", "funds_payment_method", "account_currency", "funds_cost_type", "payment_status"]).then((res) => {
|
|
|
+ proxy.getDictOne(["founds_type", "funds_payment_method", "account_currency", "funds_cost_type"]).then((res) => {
|
|
|
fundsType.value = res["founds_type"].map((x) => ({
|
|
|
label: x.dictValue,
|
|
|
value: x.dictKey,
|
|
@@ -534,10 +548,6 @@ const getDictData = () => {
|
|
|
label: x.dictValue,
|
|
|
value: x.dictKey,
|
|
|
}));
|
|
|
- paymentStatus.value = res["payment_status"].map((x) => ({
|
|
|
- label: x.dictValue,
|
|
|
- value: x.dictKey,
|
|
|
- }));
|
|
|
});
|
|
|
proxy.post("/accountManagement/page", { pageNum: 1, pageSize: 9999 }).then((res) => {
|
|
|
accountData.value = res.rows.map((item) => {
|