Ver Fonte

供货商类型

shish há 3 anos atrás
pai
commit
e63865eaf4

+ 7 - 9
ghsApp/src/pagesPurchase/suppAdd.vue

@@ -19,11 +19,11 @@
 					<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>
+							<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>
+							<span class="checkbox-text">隔壁</span>
 						</label>
 					</radio-group>
 				</tui-list-cell>
@@ -78,16 +78,14 @@ export default {
       }
     },
     confirmFn() {
-      uni.showLoading({
-        title:"加载中..."
-      })
+      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);
-        }, 1000);
-      }).catch(err => {})
+          this.$util.pageTo(1)
+        }, 1000)
+      })
     }
   }
 }

+ 2 - 2
ghsApp/src/pagesPurchase/supplier.vue

@@ -71,12 +71,12 @@ export default {
 					value: "0"
 				},
 				{
-					name: "基地",
+					name: "上游",
 					key: "0",
 					value: "0"
 				},
 				{
-					name: "本地",
+					name: "隔壁",
 					key: "1",
 					value: "0"
 				}