فهرست منبع

请款列表放款状态未显示.

lxf 1 سال پیش
والد
کامیت
e7e75bcec9

+ 1 - 1
src/views/finance/fundManage/depExpenses/index.vue

@@ -376,7 +376,7 @@ const getList = async (req) => {
     }, 200);
   });
 };
-proxy.getDict(["payment_status", "account_currency"]).then((res) => {
+proxy.getDict(["account_currency"]).then((res) => {
   accountCurrency.value = res.account_currency.map((item) => {
     return {
       label: item.dictValue,

+ 29 - 19
src/views/finance/fundManage/funds/index.vue

@@ -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) => {

+ 1 - 1
src/views/finance/fundManage/fundsStatement/index.vue

@@ -118,7 +118,7 @@ let req = ref({
 })
 let dictsData = {}
 proxy
-	.getDict(['payment_status','account_currency'])
+	.getDict(['account_currency'])
 	.then((res) => {
 		dictsData = res
 	})