Browse Source

增加结汇时间

lxf 2 weeks ago
parent
commit
46bd7ff7fb
2 changed files with 10 additions and 1 deletions
  1. 9 0
      src/views/finance/fundManage/accountStatement/index.vue
  2. 1 1
      vite.config.js

+ 9 - 0
src/views/finance/fundManage/accountStatement/index.vue

@@ -851,6 +851,7 @@ const openSettlementModal = (type, row) => {
     remarks: null,
     businessId: null,
     exchangeSettlementDetailList: [],
+    transactionTime: "",
   };
   settlementModal.value = true;
 };
@@ -868,10 +869,12 @@ const formData3 = reactive({
     commissionCurrency: null,
     remarks: null,
     businessId: null,
+    transactionTime: null,
   },
 });
 const submit3 = ref(null);
 const settlementSubmitForm = () => {
+  console.log(formData3.data);
   submit3.value.handleSubmit(() => {
     if (!formData3.data.exchangeSettlementDetailList.length > 0) {
       ElMessage({
@@ -1017,6 +1020,12 @@ const settlementFormConfig = computed(() => {
       selectProp: "commissionCurrency",
     },
     {
+      type: "date",
+      itemType: "datetime",
+      label: "结汇时间",
+      prop: "transactionTime",
+    },
+    {
       type: "input",
       prop: "remarks",
       label: "摘要",

+ 1 - 1
vite.config.js

@@ -41,7 +41,7 @@ export default defineConfig(({
         '/dev-api': {
           // target: 'http://192.168.1.197:9910',
           // 正式地址
-          target: "http://erp.winfaster.cn/prod-api",
+          target: "http://www.grand-star.com.cn/prod-api",
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')
         },