Ver Fonte

样式修改

marymelisa há 4 anos atrás
pai
commit
ccb59fd6fe
33 ficheiros alterados com 48 adições e 17 exclusões
  1. 8 6
      src/assets/styles/mixin.less
  2. 3 3
      src/services/request/serviceURL.ts
  3. 1 0
      src/views/business/plan/components/add/index.vue
  4. 7 6
      src/views/business/plan/components/audit/index.vue
  5. 1 0
      src/views/business/plan/components/delete/index.vue
  6. 1 0
      src/views/business/plan/components/detail/index.vue
  7. 1 0
      src/views/business/plan/components/modify/index.vue
  8. 1 0
      src/views/business/plan/components/recommit/index.vue
  9. 1 0
      src/views/business/purchase/components/detail/index.vue
  10. 1 0
      src/views/business/purchase/components/funds/index.vue
  11. 1 0
      src/views/business/purchase/components/invoice/index.vue
  12. 1 0
      src/views/business/purchase/components/settlement/index.vue
  13. 1 0
      src/views/business/purchase/components/someprice/index.vue
  14. 1 0
      src/views/business/purchase/components/storage/index.vue
  15. 1 0
      src/views/business/sell/components/detail/index.vue
  16. 1 0
      src/views/business/sell/components/funds/index.vue
  17. 1 0
      src/views/business/sell/components/invoice/index.vue
  18. 1 0
      src/views/business/sell/components/settlement/index.vue
  19. 1 0
      src/views/business/sell/components/someprice/index.vue
  20. 1 0
      src/views/business/sell/components/storage/index.vue
  21. 1 0
      src/views/information/account_info/compoments/cancel/index.vue
  22. 1 0
      src/views/information/account_info/compoments/check/index.vue
  23. 1 0
      src/views/information/account_info/compoments/delete/index.vue
  24. 1 0
      src/views/information/account_info/compoments/recover/index.vue
  25. 1 0
      src/views/information/custom/compoments/cancel/index.vue
  26. 1 0
      src/views/information/custom/compoments/check/index.vue
  27. 1 0
      src/views/information/custom/compoments/delete/index.vue
  28. 1 0
      src/views/information/custom/compoments/recover/index.vue
  29. 1 0
      src/views/information/goods/components/recover/index.vue
  30. 1 0
      src/views/information/spot-contract/components/modify/index.vue
  31. 1 0
      src/views/information/spot-contract/components/resubmit/index.vue
  32. 1 1
      src/views/setting/logout/index.vue
  33. 1 1
      src/views/setting/notice/index.vue

+ 8 - 6
src/assets/styles/mixin.less

@@ -555,12 +555,7 @@
       padding: 0 10px;
     }
   }
-  .paddingDialog {
-      .ant-modal-content {
-          .ant-modal-body {
-              padding: 24px;
-          }
-      }
+  .paddingDialog,.fieldsetDialog {
       .formFieldSet {
         legend {
             width: auto;
@@ -572,6 +567,13 @@
           }
       }
   }
+  .paddingDialog {
+    .ant-modal-content {
+        .ant-modal-body {
+            padding: 24px;
+        }
+    }
+  }
   // 上传
   .upload {
     display: inline-flex;

+ 3 - 3
src/services/request/serviceURL.ts

@@ -73,10 +73,10 @@ export const commonSearchUrl = (url: string): string => {
 export const setServiceURL = (config: URL): void => {
     // console.log('URL', config);
     // 外网环境(175),外包同事使用
-    if (process.env.NODE_ENV === 'development') {
+    // if (process.env.NODE_ENV === 'development') {
         serviceURL.goCommonSearchUrl = 'http://218.17.158.45:21001/api';
         serviceURL.quoteUrl = 'ws://218.17.158.45:21004';
         serviceURL.tradeUrl = 'ws://218.17.158.45:21005';
-    }
-    serviceURL = config;
+    // }
+    // serviceURL = config;
 };

+ 1 - 0
src/views/business/plan/components/add/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="commonModal"
            title="新增套保计划"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>

+ 7 - 6
src/views/business/plan/components/audit/index.vue

@@ -1,8 +1,9 @@
 <template>
   <!-- 审核计划-->
-  <a-modal class="commonModal warehouse-disable"
+  <a-modal class="commonModal fieldsetDialog warehouse-disable"
            title="审核计划"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>
@@ -18,11 +19,11 @@
                   :loading="loading"
                   @click="refuse">审核拒绝</a-button>
     </template>
+    <a-form class="inlineForm"
+            :form="form"
+            @submit="handleSearch">
       <fieldset class="formFieldSet">
           <legend>基本信息</legend>
-          <a-form class="inlineForm"
-                  :form="form"
-                  @submit="handleSearch">
               <a-row :gutter="24">
                   <a-col :span="12">
                       <a-form-item label="计划类型">
@@ -59,7 +60,6 @@
                       </a-form-item>
                   </a-col>
               </a-row>
-          </a-form>
       </fieldset>
       <fieldset class="formFieldSet">
           <legend>其它信息</legend>
@@ -83,6 +83,7 @@
               </a-col>
           </a-row>
       </fieldset>
+      </a-form>
   </a-modal>
 </template>
 
@@ -175,6 +176,6 @@ export default defineComponent({
 </script>
 
 <style lang="less">
-.arehouse-disable {
+.warehouse-disable {
 }
 </style>

+ 1 - 0
src/views/business/plan/components/delete/index.vue

@@ -2,6 +2,7 @@
   <!-- 删除计划-->
   <a-modal class="plan_uncommitted_delete"
            title="删除计划"
+           centered
            v-model:visible="visible"
            @cancel="cancel"
            width="890px">

+ 1 - 0
src/views/business/plan/components/detail/index.vue

@@ -3,6 +3,7 @@
     <a-modal class="add-custom custom-detail"
              title="套保计划详情"
              v-model:visible="visible"
+             centered
              @cancel="cancel"
              width="890px">
         <template #footer>

+ 1 - 0
src/views/business/plan/components/modify/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="commonModal modify-custom"
            title="修改计划"
            v-if="visible"
+           centered
            v-model:visible="visible"
            @cancel="cancel"
            width="890px">

+ 1 - 0
src/views/business/plan/components/recommit/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="plan-recommit"
            title="重新提交"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>

+ 1 - 0
src/views/business/purchase/components/detail/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="commonModal paddingDialog purchase-detail"
            title="详情"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>

+ 1 - 0
src/views/business/purchase/components/funds/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="commonModal paddingDialog funds"
            :title="selectedRow.contracttype===1? '采购合同-款项登记': '销售合同-款项登记'"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>

+ 1 - 0
src/views/business/purchase/components/invoice/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="commonModal paddingDialog invoice"
            :title="selectedRow.contracttype===1? '采购合同-发票登记': '销售合同-发票登记'"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>

+ 1 - 0
src/views/business/purchase/components/settlement/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="commonModal paddingDialog settlement"
            :title="selectedRow.contracttype===1? '采购合同-交收登记': '销售合同-交收登记'"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>

+ 1 - 0
src/views/business/purchase/components/someprice/index.vue

@@ -4,6 +4,7 @@
            :title="selectedRow.contracttype===1? '采购合同-点价登记': '销售合同-点价登记'"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/business/purchase/components/storage/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="commonModal"
            title="入库登记"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>

+ 1 - 0
src/views/business/sell/components/detail/index.vue

@@ -4,6 +4,7 @@
            title="详情"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/business/sell/components/funds/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="custom-detail"
            title="款项登记"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>

+ 1 - 0
src/views/business/sell/components/invoice/index.vue

@@ -3,6 +3,7 @@
   <a-modal class="custom-detail"
            title="发票登记"
            v-model:visible="visible"
+           centered
            @cancel="cancel"
            width="890px">
     <template #footer>

+ 1 - 0
src/views/business/sell/components/settlement/index.vue

@@ -4,6 +4,7 @@
            title="交收登记"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/business/sell/components/someprice/index.vue

@@ -4,6 +4,7 @@
            title="点价登记"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/business/sell/components/storage/index.vue

@@ -4,6 +4,7 @@
            title="出库登记"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/information/account_info/compoments/cancel/index.vue

@@ -4,6 +4,7 @@
            title="撤销客户资料"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/information/account_info/compoments/check/index.vue

@@ -4,6 +4,7 @@
            title="审核客户资料"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/information/account_info/compoments/delete/index.vue

@@ -4,6 +4,7 @@
              title="删除客户资料"
              v-model:visible="visible"
              @cancel="cancel"
+             centered
              width="890px">
         <template #footer>
             <a-button key="submit"

+ 1 - 0
src/views/information/account_info/compoments/recover/index.vue

@@ -4,6 +4,7 @@
              title="恢复客户资料"
              v-model:visible="visible"
              @cancel="cancel"
+             centered
              width="890px">
         <template #footer>
             <a-button key="submit"

+ 1 - 0
src/views/information/custom/compoments/cancel/index.vue

@@ -4,6 +4,7 @@
            title="撤销客户资料"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/information/custom/compoments/check/index.vue

@@ -4,6 +4,7 @@
            title="审核客户资料"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/information/custom/compoments/delete/index.vue

@@ -4,6 +4,7 @@
              title="删除客户资料"
              v-model:visible="visible"
              @cancel="cancel"
+             centered
              width="890px">
         <template #footer>
             <a-button key="submit"

+ 1 - 0
src/views/information/custom/compoments/recover/index.vue

@@ -4,6 +4,7 @@
              title="恢复客户资料"
              v-model:visible="visible"
              @cancel="cancel"
+             centered
              width="890px">
         <template #footer>
             <a-button key="submit"

+ 1 - 0
src/views/information/goods/components/recover/index.vue

@@ -4,6 +4,7 @@
              title="恢复客户资料"
              v-model:visible="visible"
              @cancel="cancel"
+             centered
              width="890px">
         <template #footer>
             <a-button key="submit"

+ 1 - 0
src/views/information/spot-contract/components/modify/index.vue

@@ -5,6 +5,7 @@
            v-if="visible"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 0
src/views/information/spot-contract/components/resubmit/index.vue

@@ -4,6 +4,7 @@
            title="重新提交现货合同"
            v-model:visible="visible"
            @cancel="cancel"
+           centered
            width="890px">
     <template #footer>
       <a-button key="submit"

+ 1 - 1
src/views/setting/logout/index.vue

@@ -1,5 +1,5 @@
 <template>
-    <a-modal class="logout" v-model:visible="visible" @cancel="cancel" width="890px" :footer="null">
+    <a-modal class="logout" v-model:visible="visible" @cancel="cancel" width="890px" centered :footer="null">
         <div>logout</div>
         <div>logout</div>
         <div>logout</div>

+ 1 - 1
src/views/setting/notice/index.vue

@@ -1,5 +1,5 @@
 <template>
-    <a-modal class="notice" v-model:visible="visible" @cancel="cancel" width="890px" :footer="null">
+    <a-modal class="notice" v-model:visible="visible" @cancel="cancel" width="890px" centered :footer="null">
         <a-tabs v-model:activeKey="activeKey">
             <a-tab-pane key="1">
                 <template #tab>