shish 3 лет назад
Родитель
Сommit
43ae12d569
1 измененных файлов с 9 добавлено и 5 удалено
  1. 9 5
      ghsApp/src/admin/shop/add.vue

+ 9 - 5
ghsApp/src/admin/shop/add.vue

@@ -153,12 +153,13 @@
 					</view>
 				</tui-list-cell>
 
-				<tui-list-cell class="line-cell remark-wrap" :hover="false">
-					<view class="tui-title">简介</view>
-					<view class="tui-input">
-						<textarea v-model="form.introduction" class="tui-textarea remark" placeholder-class="phcolor" placeholder="请输入简介" />
+				<tui-list-cell class="line-cell" :hover="false">
+					<view class="tui-title">昆明批发</view>
+					<view>
+						<switch style="transform:scale(0.7,0.7)" :checked="form.pfLevel == 0 ? false : true" @change="pfLevelChange" /> {{form.pfLevel==1 ? '是' : '否'}}
 					</view>
 				</tui-list-cell>
+
 			</view>
 			<view class="confirm-btn">
 				<button class="admin-button-com big blue" formType="submit">提交</button>
@@ -207,7 +208,6 @@ export default {
 				openType: 0, // openType: 0. 表示 24小时营业 1. 表示 xx ~ xx
 				openStartTime: '',
 				openEndTime: '',
-				introduction: '',
 				mobile: '',
 				telephone:'',
 				packCost:0,
@@ -221,6 +221,7 @@ export default {
 				dataSync:1,
 				showStock:1,
 				showSold:0,
+				pfLevel:0,
 				isHd:1
 			},
 			showRegion: false,
@@ -294,6 +295,9 @@ export default {
 		showStockChange(e){
 			this.form.showStock = e.target.value ? 1 : 0
 		},
+		pfLevelChange(e){
+			this.form.pfLevel = e.target.value ? 1 : 0
+		},
 		showSoldChange(e){
 			this.form.showSold = e.target.value ? 1 : 0
 		},