Browse Source

修改企业状态跳转

yangc 7 years ago
parent
commit
bda5a77e25
3 changed files with 26 additions and 10 deletions
  1. 24 8
      components/applyPurchase/SayPrice.vue
  2. 1 1
      components/default/Header.vue
  3. 1 1
      nuxt.config.js

+ 24 - 8
components/applyPurchase/SayPrice.vue

@@ -3,13 +3,24 @@
     <div class="modal-wrap" v-if="currentSayPriceIndex > -1">
       <div class="say-price-box" >
         <div class="title">
-          <div>型号:<span :title="purchaseManList.content[currentSayPriceIndex].cmpCode">{{purchaseManList.content[currentSayPriceIndex].cmpCode}}</span></div>
-          <div>品牌:<span :title="purchaseManList.content[currentSayPriceIndex].inbrand">{{purchaseManList.content[currentSayPriceIndex].inbrand}}</span></div>
+          <!--<div>型号:<span :title="purchaseManList.content[currentSayPriceIndex].cmpCode">{{purchaseManList.content[currentSayPriceIndex].cmpCode}}</span></div>-->
+          <!--<div>品牌:<span :title="purchaseManList.content[currentSayPriceIndex].inbrand">{{purchaseManList.content[currentSayPriceIndex].inbrand}}</span></div>-->
+          <div>我要报价</div>
           <i class="fa fa-close" @click="cancelSayPrice"></i>
         </div>
         <div class="content">
           <div class="content-line">
-            <div class="form-item form-left date">
+            <div class="form-item form-left text-line">
+              <span>型号:</span><span class="text" :title="purchaseManList.content[currentSayPriceIndex].cmpCode">{{purchaseManList.content[currentSayPriceIndex].cmpCode}}</span>
+            </div>
+          </div>
+          <div class="content-line">
+            <div class="form-item form-left text-line">
+              <span>品牌:</span><span class="text"  :title="purchaseManList.content[currentSayPriceIndex].inbrand">{{purchaseManList.content[currentSayPriceIndex].inbrand}}</span>
+            </div>
+          </div>
+          <div class="content-line">
+            <div class="form-item form-left">
               <span><i>*</i>交期:</span>
               <input type="number" class="form-control" placeholder="天数" @input="onLeadtimeInput" @blur="onLeadtimeBlur" v-model="sayPriceObj.leadtime">
               <!-- -
@@ -330,12 +341,17 @@
               text-align: right;
             }
             input {
-              width: 102px;
+              width: 104px;
               padding: 0 8px;
             }
-            &.date {
-              input {
-                width: 64px;
+            &.text-line {
+              width: 100%;
+              span {
+                &.text {
+                  width: 300px;
+                  text-align: left;
+                  color: #4290f7;
+                }
               }
             }
           }
@@ -383,7 +399,6 @@
           }
           &.form-right {
             position: relative;
-            padding-left: 13px;
             input {
               width: 104px;
               padding: 0 8px;
@@ -408,6 +423,7 @@
               outline: none;
               & + input {
                 padding-left: 36px;
+                width: 133px;
               }
             }
             > i {

+ 1 - 1
components/default/Header.vue

@@ -154,7 +154,7 @@
           if (tempEnterprise.isVendor === 313) {
             window.location.href = '/vendor#/index'
           } else {
-            window.location.href = '/personalMaterial'
+            window.location.href = '/register_saler'
           }
         }
       }

+ 1 - 1
nuxt.config.js

@@ -1,6 +1,6 @@
 const path = require('path')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://192.168.253.60:9090/platform-b2c/' : 'http://10.1.51.88:8080/platform-b2c/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://192.168.253.60:9090/platform-b2c/' : 'http://192.168.253.121:9090/platform-b2c/')
 const commonUrl = process.env.COMMON_URL || (isProdMode ? 'https://api-inquiry.usoftmall.com/' : 'http://218.17.158.219:24000/')
 
 module.exports = {