|
|
@@ -32,7 +32,7 @@
|
|
|
</view>
|
|
|
<view class="module-com user-address_bx">
|
|
|
<view class="address-tit">
|
|
|
- 门店地址
|
|
|
+ 地址
|
|
|
</view>
|
|
|
<view class="address-des_bx">
|
|
|
<view>
|
|
|
@@ -57,13 +57,13 @@
|
|
|
<div class="tui-title">允许欠款</div>
|
|
|
<div class="switch_bx">
|
|
|
<text></text>
|
|
|
- <switch :checked="form.debt == 0 ? false : true" @change="remindChangeFn" />
|
|
|
+ <switch :checked="form.debt == 0 ? false : true" @change="remindChangeFn" style="transform: scale(0.8,0.8)" />
|
|
|
</div>
|
|
|
</tui-list-cell>
|
|
|
- <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" v-if="form.debt == 1">
|
|
|
<div class="tui-title">欠款额度</div>
|
|
|
- <input v-model="debtLimit" placeholder-class="phcolor" class="tui-input" confirm-type="go" placeholder="请填写" type="digit" style="width:50%;border:1px solid #ddd" />
|
|
|
- <view @tap="amendMoney" style="color: #0A98D5;margin-left: 20rpx">确定</view>
|
|
|
+ <input v-model="debtLimit" @click="debtLimit=''" placeholder-class="phcolor" class="tui-input" confirm-type="go" placeholder="请填写" type="digit" style="width:48%;border:1px solid #ddd;margin-right:15rpx;height:52rpx;" />
|
|
|
+ <button class="admin-button-com blue mini-btn" @tap="amendMoney">确定</button>
|
|
|
</tui-list-cell>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -94,14 +94,13 @@ export default {
|
|
|
name:'',
|
|
|
debt: 0
|
|
|
},
|
|
|
- // 订单总览
|
|
|
orderData: [
|
|
|
{
|
|
|
- name: "欠款金额",
|
|
|
+ name: "欠款",
|
|
|
value: '0.00',
|
|
|
- url: "",
|
|
|
+ url: "/pagesArrears/details",
|
|
|
type: 4,
|
|
|
- query: {}
|
|
|
+ query:{}
|
|
|
},
|
|
|
{
|
|
|
name: "消费次数",
|
|
|
@@ -136,7 +135,7 @@ export default {
|
|
|
debt: this.form.debt,
|
|
|
customId: this.userInfo.id
|
|
|
})
|
|
|
- let msg = e.detail.value?'已开启':'已禁止'
|
|
|
+ let msg = e.detail.value?'已开启':'已禁用'
|
|
|
this.$msg(msg);
|
|
|
} catch (err) {
|
|
|
console.log(err)
|