|
|
@@ -21,8 +21,8 @@
|
|
|
<text v-else-if="item.level == 0" style="color:#999;">{{ item.levelName }}</text>
|
|
|
<text v-else>{{ item.levelName }}</text>
|
|
|
</span>
|
|
|
- <span v-if="item.debtAmount > 0" class="debt-amount">欠款<span class="amount_num">{{parseFloat(item.debtAmount)}}</span></span>
|
|
|
- <button v-if="selectStyle == 1" class="admin-button-com mini default" style="margin-left:50upx;" @click.stop="pdaKd(item)">PDA</button>
|
|
|
+ <span v-if="item.debtAmount > 0" class="debt-amount">欠<span class="amount_num">{{parseFloat(item.debtAmount)}}</span></span>
|
|
|
+ <button v-if="selectStyle == 1 && couldScan == true" class="admin-button-com mini default" style="margin-left:30upx;" @click.stop="pdaKd(item)">扫码开单</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
AppWrapperEmpty,
|
|
|
appVipModule,
|
|
|
AppTag,
|
|
|
- AppSearchModule
|
|
|
+ AppSearchModule,
|
|
|
+ couldScan:false
|
|
|
},
|
|
|
mixins: [list],
|
|
|
data() {
|
|
|
@@ -79,7 +80,16 @@ export default {
|
|
|
uni.stopPullDownRefresh();
|
|
|
}
|
|
|
},
|
|
|
- onLoad(option) {},
|
|
|
+ onLoad(option) {
|
|
|
+ // #ifdef APP-PLUS
|
|
|
+ if(plus.device.vendor == 'SUNMI'){
|
|
|
+ this.couldScan = true
|
|
|
+ }
|
|
|
+ if(plus.device.vendor == 'Newland'){
|
|
|
+ this.couldScan = true
|
|
|
+ }
|
|
|
+ // #endif
|
|
|
+ },
|
|
|
onShow(){
|
|
|
uni.removeStorageSync('newClient');
|
|
|
},
|
|
|
@@ -253,6 +263,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.tui-msg-content {
|
|
|
+ width:500upx;
|
|
|
overflow: hidden;
|
|
|
white-space: nowrap;
|
|
|
text-overflow: ellipsis;
|
|
|
@@ -260,10 +271,10 @@ export default {
|
|
|
line-height: 1;
|
|
|
color: #9397a4;
|
|
|
.debt-amount{
|
|
|
- margin-left:20upx;
|
|
|
+ margin-left:10upx;
|
|
|
.amount_num{
|
|
|
color:red;
|
|
|
- margin-left:10upx;
|
|
|
+ margin-left:5upx;
|
|
|
}
|
|
|
}
|
|
|
}
|