lilei 1 vuosi sitten
vanhempi
commit
084ea71010
2 muutettua tiedostoa jossa 7 lisäystä ja 11 poistoa
  1. 5 9
      src/views/dealerManagement/rebateBinding/priceDiffModal.vue
  2. 2 2
      vue.config.js

+ 5 - 9
src/views/dealerManagement/rebateBinding/priceDiffModal.vue

@@ -37,7 +37,7 @@
               <a-col :span="4" v-if="!isSpecial">
                 <a-input-number :min="0" :max="100" v-model="parentAllotRate" @change="rateSupChange" placeholder="请输入比例"/> %
               </a-col>
-              <a-col :span="2" v-if="zdDealearList.length==0&&!isSpecial">
+              <a-col :span="2" v-if="!isSpecial && zdDealearList.length<3">
                 <a-button
                   type="primary"
                   ghost
@@ -55,14 +55,14 @@
                 <a-input-number :min="0" :max="100" v-model="item.allotRate" @change="(v)=>rateChange(v,index)" placeholder="请输入比例"/> %
               </a-col>
               <a-col :span="2">
-                <a-button
+                <!-- <a-button
                   style="margin-right:5px;"
                   v-if="index==zdDealearList.length-1 && zdDealearList.length<3"
                   @click="addItem(item,index)"
                   title="添加"
                   size="small"
                   shape="circle"
-                  icon="plus" />
+                  icon="plus" /> -->
                 <a-button
                   @click="delItem(item,index)"
                   type="primary"
@@ -90,11 +90,10 @@
         <categoryTree v-if="showTable&&!isSpecial&&!form.dealerUpsSn" ref="categoryTree"></categoryTree>
       </div>
       <div class="btn-cont">
-        <a-button size="large" @click="isShow = false" style="font-size: 12px;">取消</a-button>
+        <a-button @click="isShow = false" style="font-size: 12px;">取消</a-button>
         <a-button
-          size="large"
           type="primary"
-          style="margin-left: 30px;"
+          style="margin-left: 20px;"
           @click="handleSave"
         >确定</a-button>
       </div>
@@ -442,9 +441,6 @@ export default {
     .btn-cont {
       text-align: center;
       margin: 15px 0 10px;
-      button{
-        width: 80px;
-      }
     }
   }
 </style>

+ 2 - 2
vue.config.js

@@ -108,9 +108,9 @@ const vueConfig = {
     // If you want to turn on the proxy, please remosve the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.2.117/ocs-admin',
+        // target: 'http://192.168.2.117/ocs-admin',
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  练习
-        // target: 'https://p.ocs.360arrow.com/ocs-admin', //  预发布
+        target: 'https://p.ocs.360arrow.com/ocs-admin', //  预发布
         ws: false,
         changeOrigin: true,
         pathRewrite: {