shish 2 anni fa
parent
commit
356ec97d6b
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 11 0
      ghsApp/src/admin/shop/add.vue

+ 11 - 0
ghsApp/src/admin/shop/add.vue

@@ -165,6 +165,13 @@
 					</view>
 				</tui-list-cell>
 
+				<tui-list-cell class="line-cell" :hover="false">
+					<view class="tui-title">线下开单超欠</view>
+					<view>
+						<switch style="transform:scale(0.7,0.7)" :checked="form.overAllowDebt == 0 ? false : true" @change="overAllowDebtChange" /> {{form.overAllowDebt==1 ? '允许' : '禁止'}}
+					</view>
+				</tui-list-cell>
+
 				<tui-list-cell class="line-cell" :hover="false">
 					<view class="tui-title " style="color:#3385FF;">整单满扎数</view>
 					<input v-model="form.meetNum" style="color:#3385FF;" @focus="form.meetNum=''" placeholder-class="phcolor" class="tui-input" name="meetNum" placeholder="多少扎" type="digit" />
@@ -271,6 +278,7 @@ export default {
 				afterSale:1,
 				pfLevel:0,
 				cgUnitType:0,
+				overAllowDebt:1,
 				isHd:1,
 				itemToClass:0
 			},
@@ -348,6 +356,9 @@ export default {
 		showStockChange(e){
 			this.form.showStock = e.target.value ? 1 : 0
 		},
+		overAllowDebtChange(e){
+			this.form.overAllowDebt = e.target.value ? 1 : 0
+		},
 		cgUnitTypeChange(e){
 			this.form.cgUnitType = e.target.value ? 1 : 0
 		},