|
@@ -3,7 +3,7 @@
|
|
|
<form @submit="toSubmit">
|
|
<form @submit="toSubmit">
|
|
|
<view class="module-com input-line-wrap">
|
|
<view class="module-com input-line-wrap">
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
- <view class="tui-title">客户可看库存</view>
|
|
|
|
|
|
|
+ <view class="tui-title">新客可看库存</view>
|
|
|
<view>
|
|
<view>
|
|
|
<switch style="transform:scale(0.7,0.7)" :checked="form.showStock == 0 ? false : true" @change="showStockChange" /> {{form.showStock==1 ? '允许' : '不能'}}
|
|
<switch style="transform:scale(0.7,0.7)" :checked="form.showStock == 0 ? false : true" @change="showStockChange" /> {{form.showStock==1 ? '允许' : '不能'}}
|
|
|
</view>
|
|
</view>
|
|
@@ -28,13 +28,6 @@
|
|
|
<input type="number" v-model="form.allowDebtAmount" @focus="form.allowDebtAmount=''" placeholder-class="phcolor" class="tui-input" name="allowDebtAmount" placeholder="请填写金额" />
|
|
<input type="number" v-model="form.allowDebtAmount" @focus="form.allowDebtAmount=''" placeholder-class="phcolor" class="tui-input" name="allowDebtAmount" placeholder="请填写金额" />
|
|
|
</tui-list-cell>
|
|
</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">
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<view class="tui-title">新客户要审核</view>
|
|
<view class="tui-title">新客户要审核</view>
|
|
|
<view>
|
|
<view>
|
|
@@ -97,7 +90,6 @@ export default {
|
|
|
allowDebtAmount:5000,
|
|
allowDebtAmount:5000,
|
|
|
showStock:1,
|
|
showStock:1,
|
|
|
showSold:0,
|
|
showSold:0,
|
|
|
- overAllowDebt:1,
|
|
|
|
|
isHd:1
|
|
isHd:1
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -128,9 +120,6 @@ export default {
|
|
|
showStockChange(e){
|
|
showStockChange(e){
|
|
|
this.form.showStock = e.target.value ? 1 : 0
|
|
this.form.showStock = e.target.value ? 1 : 0
|
|
|
},
|
|
},
|
|
|
- overAllowDebtChange(e){
|
|
|
|
|
- this.form.overAllowDebt = e.target.value ? 1 : 0
|
|
|
|
|
- },
|
|
|
|
|
showSoldChange(e){
|
|
showSoldChange(e){
|
|
|
this.form.showSold = e.target.value ? 1 : 0
|
|
this.form.showSold = e.target.value ? 1 : 0
|
|
|
},
|
|
},
|