فهرست منبع

feat: 修改问题

tangning 1 سال پیش
والد
کامیت
2adf7891a5
3فایلهای تغییر یافته به همراه8 افزوده شده و 5 حذف شده
  1. 2 2
      .env.development
  2. 3 1
      src/views/equity/InvoiceModal.vue
  3. 3 2
      src/views/retailer/EditModal.vue

+ 2 - 2
.env.development

@@ -6,8 +6,8 @@ VITE_PUBLIC_PATH = ./
 
 # Cross-domain proxy, you can configure multiple
 # Please note that no line breaks
-# VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","https://testeur.4dkankan.com/service/manage/common/upload/files"],["/service","https://v4-uat.4dkankan.com"]]
-VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","https://v4-uat.4dkankan.com/service/manage/common/upload/files"],["/service","https://v4-uat.4dkankan.com"]]
+VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","https://testeur.4dkankan.com/service/manage/common/upload/files"],["/service","https://testeur.4dkankan.com"]]
+# VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","https://v4-uat.4dkankan.com/service/manage/common/upload/files"],["/service","https://v4-uat.4dkankan.com"]]
 
 # Delete console
 VITE_DROP_CONSOLE = false

+ 3 - 1
src/views/equity/InvoiceModal.vue

@@ -105,7 +105,8 @@
               agentName: '',
             },
             onChange: (value) => {
-              let { totalTime, count = 1 } = getFieldsValue();
+              let { count = 1 } = getFieldsValue();
+              let totalTime = 1
               updateSchema([
                 {
                   field: 'incrementTypeId',
@@ -135,6 +136,7 @@
               ]);
               setFieldsValue({
                 count: 1,
+                totalTime: 1,
                 incrementEndTime: dayjs()
                   .add(totalTime ? totalTime : 1, value != '3' ? 'year' : 'month')
                   .format('YYYY-MM-DD'),

+ 3 - 2
src/views/retailer/EditModal.vue

@@ -10,7 +10,7 @@
     @ok="handleSubmit"
   >
     <div class="pt-2px pr-3px">
-      <div class="name" style="margin-left: 4px;line-height: 43px;">{{t('routes.retailer.form.dqname')}}:{{ modelRef.name }}</div>
+      <div class="name" style="line-height: 43px;">{{t('routes.retailer.form.dqname')}}:{{ modelRef.name }}</div>
       <BasicForm @register="registerForm">
         <template #text="{ model, field }">
           {{ model[field] }}
@@ -102,7 +102,8 @@
         },
       ];
       const [registerForm, { validate, resetFields, setFieldsValue, updateSchema }] = useForm({
-        labelWidth: isEn.value?450:300,
+        labelWidth: isEn.value ? 470 : 330,
+        labelAlign: 'left',
         schemas,
         showActionButtonGroup: false,
         actionColOptions: {