cz 1 年之前
父節點
當前提交
c744c030ae
共有 2 個文件被更改,包括 42 次插入11 次删除
  1. 12 11
      src/views/finance/fundManage/flow/index.vue
  2. 30 0
      src/views/salesMange/saleContract/claim/index.vue

+ 12 - 11
src/views/finance/fundManage/flow/index.vue

@@ -670,17 +670,17 @@ const config = computed(() => {
                   settleAccounts(row);
                 },
               },
-          {
-            attrs: {
-              label: "修改",
-              type: "primary",
-              text: true,
-            },
-            el: "button",
-            click() {
-              update(row);
-            },
-          },
+          // {
+          //   attrs: {
+          //     label: "修改",
+          //     type: "primary",
+          //     text: true,
+          //   },
+          //   el: "button",
+          //   click() {
+          //     update(row);
+          //   },
+          // },
 
           {
             attrs: {
@@ -914,6 +914,7 @@ const update = (row) => {
   loadingDialog.value = true;
   proxy.post("/accountRunningWater/detail", { id: row.id }).then((res) => {
     formData.data = res;
+    formData.data.amountCny = row.amountCny;
     loadingDialog.value = false;
   });
   dialogVisible.value = true;

+ 30 - 0
src/views/salesMange/saleContract/claim/index.vue

@@ -493,6 +493,32 @@ const formConfig = reactive([
     disabled: true,
   },
   {
+    type: "number",
+    prop: "amountCny",
+    label: "转人民金额",
+    itemWidth: 30,
+    disabled: true,
+    precision: 2,
+    controls: false,
+    min: 0,
+    style: {
+      width: "100%",
+    },
+  },
+  {
+    type: "number",
+    prop: "rate",
+    label: "汇率",
+    itemWidth: 30,
+    disabled: true,
+    precision: 2,
+    controls: false,
+    min: 0,
+    style: {
+      width: "100%",
+    },
+  },
+  {
     type: "title",
     title: "认领信息",
   },
@@ -589,6 +615,7 @@ const getDtl = (row) => {
       accountManagementId: row.accountManagementId,
       accountManagementName: row.accountManagementName,
       claimTime: row.transactionTime,
+      amountCny: row.amountCny,
       claimContractList: [],
       rate: rowRate.value,
     };
@@ -757,4 +784,7 @@ const clickRecord = (row) => {
 .tenant {
   padding: 20px;
 }
+::v-deep(.el-input-number .el-input__inner) {
+  text-align: left;
+}
 </style>