Преглед на файлове

请款列表样式调整

lxf преди 1 година
родител
ревизия
5cfc2a5ffc
променени са 1 файла, в които са добавени 14 реда и са изтрити 2 реда
  1. 14 2
      src/views/finance/fundManage/funds/index.vue

+ 14 - 2
src/views/finance/fundManage/funds/index.vue

@@ -278,12 +278,14 @@ const config = computed(() => {
         label: "归属公司",
         prop: "corporationName",
       },
+      width: 180,
     },
     {
       attrs: {
         label: "归属部门",
         prop: "deptName",
       },
+      width: 140,
     },
     {
       attrs: {
@@ -293,35 +295,41 @@ const config = computed(() => {
       render(type) {
         return proxy.dictDataEcho(type, fundsType.value);
       },
+      width: 120,
     },
     {
       attrs: {
         label: "请款人",
         prop: "userName",
+        width: 120,
       },
     },
     {
       attrs: {
         label: "请款时间",
         prop: "createTime",
+        width: 160,
       },
     },
     {
       attrs: {
         label: "请款金额",
         prop: "total",
+        width: 120,
       },
     },
     {
       attrs: {
         label: "用款说明",
         prop: "paymentRemarks",
+        'min-width': 180
       },
     },
     {
       attrs: {
         label: "付款方式",
         prop: "paymentMethod",
+        width: 120,
       },
       render(paymentMethod) {
         return proxy.dictDataEcho(paymentMethod, fundsPaymentMethod.value);
@@ -331,12 +339,14 @@ const config = computed(() => {
       attrs: {
         label: "付款账户",
         prop: "accountManagementName",
+        width: 160,
       },
     },
     {
       attrs: {
         label: "审批状态",
         prop: "status",
+        width: 120,
       },
       render(status) {
         return status == 10 ? "审批中" : status == 20 ? "驳回" : status == 30 ? "已通过" : "";
@@ -346,6 +356,7 @@ const config = computed(() => {
       attrs: {
         label: "放款状态",
         prop: "subscribeContent",
+        width: 120,
       },
       // render(subscribeContent) {
       //   return proxy.dictDataEcho(subscribeContent, fundsPaymentMethod.value);
@@ -354,8 +365,9 @@ const config = computed(() => {
     {
       attrs: {
         label: "操作",
-        width: "100",
-        align: "right",
+        width: "80",
+        align: "center",
+        fixed: "right",
       },
       renderHTML(row) {
         return [