shish пре 2 година
родитељ
комит
5eda78f504
2 измењених фајлова са 33 додато и 29 уклоњено
  1. 18 23
      ghsApp/src/pagesPurchase/suppAdd.vue
  2. 15 6
      ghsApp/src/pagesPurchase/supplier.vue

+ 18 - 23
ghsApp/src/pagesPurchase/suppAdd.vue

@@ -4,30 +4,24 @@
         <div class="module-com input-line-wrap">
           <tui-list-cell class="line-cell" :hover="false">
             <div class="tui-title required">名称</div>
-            <input
-              v-model="form.name"
-              class="tui-input"
-              placeholder="请填写名称"
-              maxlength="50"
-              type="text"
-              name="username"
-            />
+            <input v-model="form.name" class="tui-input" placeholder="请填写名称" maxlength="50" type="text" name="username" />
           </tui-list-cell>
 
-				<tui-list-cell class="line-cell" :hover="false">
-					<view class="tui-title required">所在地</view>
-					<radio-group class="tui-input" @change="locationChange">
-						<label class="list" for="jdLink">
-							<radio id="jdLink" value="0" :checked="form.location == 0" style="transform:scale(0.7,0.7)" />
-							<span class="checkbox-text">上游</span>
-						</label>
-						<label class="list" for="localLink">
-							<radio id="localLink" value="1" :checked="form.location == 1" style="transform:scale(0.7,0.7)" />
-							<span class="checkbox-text">本地</span>
-						</label>
-					</radio-group>
-				</tui-list-cell>
+          <tui-list-cell class="line-cell" :hover="false">
+            <view class="tui-title required">所在地</view>
+            <radio-group class="tui-input" @change="locationChange">
+              <label class="list" for="jdLink">
+                <radio id="jdLink" value="0" :checked="form.location == 0" style="transform:scale(0.7,0.7)" />
+                <span class="checkbox-text">上游</span>
+              </label>
+              <label class="list" for="localLink">
+                <radio id="localLink" value="1" :checked="form.location == 1" style="transform:scale(0.7,0.7)" />
+                <span class="checkbox-text">本地</span>
+              </label>
+            </radio-group>
+          </tui-list-cell>
 
+        <view style="margin-top:20upx;padding:0 30upx 0 30upx;">选本地,录采购单,没有打包费、运费填写入口。选上游时,有打包费、运费的填写入口。</view>
         </div>
         <div class="confirm-btn">
           <button class="admin-button-com big blue" formType="submit">确认</button>
@@ -48,7 +42,8 @@ export default {
     return {
       form: {
         name: '',
-        location:0
+        location:0,
+        mobile:''
       }
     }
   },
@@ -80,7 +75,7 @@ export default {
     confirmFn() {
       uni.showLoading({mask:true})
       ghsAdd(this.form).then(res => {
-		uni.setStorageSync('newGhs', res.data)
+		    uni.setStorageSync('newGhs', res.data)
         uni.hideLoading()
         setTimeout(() => {
           this.$util.pageTo(1)

+ 15 - 6
ghsApp/src/pagesPurchase/supplier.vue

@@ -19,12 +19,13 @@
           <view class="list_item" v-for="(item, index) in supplierList" :key="index" @click="goToCg(item)" >
 
 <view v-if="item.location == 1"
- style="width:90upx;padding:6upx 0 6upx 0;font-size:22upx;background-color:#7babc1;color:white;position:absolute;left:0;top:0;text-align:center;"
+ style="width:90upx;padding:5upx 0 5upx 0;font-size:20upx;background-color:#7babc1;color:white;position:absolute;left:0;top:0;text-align:center;"
 >本地</view>
 
             <view class="store_name">
-              <image :src="item.avatar"></image>
-              <view class="store_title">{{item.name}}</view>
+              <view class="store_title">
+                {{item.name}}
+              </view>
               <view class="accumulative"></view>
             </view>
             <view class="store_btn">
@@ -33,6 +34,7 @@
               <view class="btn_entrance" @click.stop="cgList(item)">采购记录</view>
               <view class="cg-button">采购</view>
               <view v-if="item.location == 1" class="search-button" @click.stop="goToSearchDebt(item)">搜索</view>
+              <text class="mobile"></text>
             </view>
 
             <view class="box_6 flex-row" @click.stop="goToDebtList(item)" v-if="Number(item.debtAmount)>0">
@@ -241,8 +243,8 @@ export default {
         width: 700upx;
         display: block;
         image{
-          width:48upx;
-          height:48upx;
+          width:35upx;
+          height:35upx;
           border-radius:60upx;
           float:left;
         }
@@ -254,7 +256,7 @@ export default {
           text-overflow: ellipsis;
           overflow: hidden;
           word-break: break-all;
-          font-size: 36upx;
+          font-size: 34upx;
           font-weight: 700;
           color: #333;
           display:inline-block;
@@ -276,6 +278,13 @@ export default {
           margin-left: 20upx;
           text-decoration:underline;
         }
+        .mobile{
+          color:#b7a3a3;
+          font-size:26upx;
+          position: absolute;
+          top:-30upx;
+          left:37upx;          
+        }
         .search-button{
             display: inline-block;
             font-size: 28upx;