|
|
@@ -14,13 +14,14 @@
|
|
|
</view>
|
|
|
<view class="order-page">
|
|
|
<view class="order_list" >
|
|
|
+ <view style="padding:20upx 0 0 20upx;font-size:30upx;">总欠款:{{info.totalDebtAmount?parseFloat(info.totalDebtAmount):0}}</view>
|
|
|
<block>
|
|
|
<block v-if="!$util.isEmpty(supplierList)">
|
|
|
<view class="list_item" v-for="(item, index) in supplierList" :key="index" @click="goToCg(item)" >
|
|
|
|
|
|
-<view v-if="item.location == 1"
|
|
|
- style="width:90upx;padding:5upx 0 5upx 0;font-size:20upx;background-color:#7babc1;color:white;position:absolute;left:0;top:0;text-align:center;"
|
|
|
->本地</view>
|
|
|
+ <view v-if="item.location == 1"
|
|
|
+ style="width:90upx;padding:5upx 0 5upx 0;font-size:20upx;background-color:#7babc1;color:white;position:absolute;left:0;top:0;text-align:center;"
|
|
|
+ >本地</view>
|
|
|
|
|
|
<view class="store_name">
|
|
|
<view class="store_title">
|
|
|
@@ -88,7 +89,8 @@ export default {
|
|
|
key: "1",
|
|
|
value: "0"
|
|
|
}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ info:{}
|
|
|
}
|
|
|
},
|
|
|
onShow(){
|
|
|
@@ -135,6 +137,7 @@ export default {
|
|
|
let location = this.tabs[this.tabIndex].key
|
|
|
return getList({ pageSize:300, name:name,location:location }).then(res => {
|
|
|
this.supplierList = res.data.list
|
|
|
+ this.info = res.data
|
|
|
})
|
|
|
},
|
|
|
goToSearchDebt(item){
|