|
@@ -17,7 +17,7 @@
|
|
|
<view style="padding:22upx 0 0 20upx;font-size:30upx;">总欠款:{{info.totalDebtAmount?parseFloat(info.totalDebtAmount):0}}</view>
|
|
<view style="padding:22upx 0 0 20upx;font-size:30upx;">总欠款:{{info.totalDebtAmount?parseFloat(info.totalDebtAmount):0}}</view>
|
|
|
<block>
|
|
<block>
|
|
|
<block v-if="!$util.isEmpty(list.data)">
|
|
<block v-if="!$util.isEmpty(list.data)">
|
|
|
- <view class="list_item" v-for="(item, index) in list.data" :key="index" @click="goToCg(item)" >
|
|
|
|
|
|
|
+ <view class="list_item" v-for="(item, index) in list.data" :key="index">
|
|
|
|
|
|
|
|
<view v-if="item.location == 1"
|
|
<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;"
|
|
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;"
|
|
@@ -33,7 +33,8 @@
|
|
|
<view class="btn_entrance" @click.stop="pageTo({ url: '/admin/clear/list?ghsId'+item.id})"> 结账记录 </view>
|
|
<view class="btn_entrance" @click.stop="pageTo({ url: '/admin/clear/list?ghsId'+item.id})"> 结账记录 </view>
|
|
|
<view class="btn_entrance" @click.stop="getDebtList()"> 欠款变动明细 </view>
|
|
<view class="btn_entrance" @click.stop="getDebtList()"> 欠款变动明细 </view>
|
|
|
<view class="btn_entrance" @click.stop="cgList(item)">采购记录</view>
|
|
<view class="btn_entrance" @click.stop="cgList(item)">采购记录</view>
|
|
|
- <view class="cg-button">采购</view>
|
|
|
|
|
|
|
+ <view class="cg-button" @click="goToCg(item)">采购</view>
|
|
|
|
|
+ <view class="my-cg-button" @click.stop="goToMyCg(item)">我的</view>
|
|
|
<view class="search-button" @click.stop="goToSearchDebt(item)">搜</view>
|
|
<view class="search-button" @click.stop="goToSearchDebt(item)">搜</view>
|
|
|
<text class="mobile"></text>
|
|
<text class="mobile"></text>
|
|
|
</view>
|
|
</view>
|
|
@@ -41,11 +42,7 @@
|
|
|
<view class="box_6 flex-row" @click.stop="goToDebtList(item)" v-if="Number(item.debtAmount)>0">
|
|
<view class="box_6 flex-row" @click.stop="goToDebtList(item)" v-if="Number(item.debtAmount)>0">
|
|
|
<view class="show_clear_area flex-row justify-between">
|
|
<view class="show_clear_area flex-row justify-between">
|
|
|
<image class="icon_2" referrerpolicy="no-referrer" src="/static/lanhu_020105gongyingshangliebiao/ps2pvfa1l5i34w5vqj2k7b3kejml3i3nmrba1421bf-caa2-491b-8773-af413df7e96d.png" />
|
|
<image class="icon_2" referrerpolicy="no-referrer" src="/static/lanhu_020105gongyingshangliebiao/ps2pvfa1l5i34w5vqj2k7b3kejml3i3nmrba1421bf-caa2-491b-8773-af413df7e96d.png" />
|
|
|
- <text class="waite_clear_order">待结订单 {{item.debtNum}}笔 ¥{{item.debtAmount?parseFloat(item.debtAmount):0}}</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="image-text_9 flex-row justify-between">
|
|
|
|
|
- <text class="text-group_4">查看明细</text>
|
|
|
|
|
- <image class="icon_3" referrerpolicy="no-referrer" src="/static/lanhu_020105gongyingshangliebiao/ps83ag7scu3a8bfq22ciodg5hiu0x9cesxjbfb4c9ca-ee3f-45ec-a6d7-6f166e13d6e6.png" />
|
|
|
|
|
|
|
+ <text class="waite_clear_order">待结订单 {{item.debtNum}}笔 ¥{{item.debtAmount?parseFloat(item.debtAmount):0}} 查看明细></text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -202,6 +199,9 @@ export default {
|
|
|
},
|
|
},
|
|
|
goToCg (item) {
|
|
goToCg (item) {
|
|
|
this.pageTo({url: '/pagesPurchase/add?ghsId='+item.id+'&ghsName='+item.name+'&location='+item.location})
|
|
this.pageTo({url: '/pagesPurchase/add?ghsId='+item.id+'&ghsName='+item.name+'&location='+item.location})
|
|
|
|
|
+ },
|
|
|
|
|
+ goToMyCg(item){
|
|
|
|
|
+ this.pageTo({url: '/pagesPurchase/add?ghsId='+item.id+'&ghsName='+item.name+'&location='+item.location+'&globalCgMyCharge=1'})
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -330,7 +330,7 @@ export default {
|
|
|
font-size: 30upx;
|
|
font-size: 30upx;
|
|
|
color: #666666;
|
|
color: #666666;
|
|
|
padding: 10upx 20upx;
|
|
padding: 10upx 20upx;
|
|
|
- margin-left: 20upx;
|
|
|
|
|
|
|
+ margin-left: 14upx;
|
|
|
text-decoration:underline;
|
|
text-decoration:underline;
|
|
|
}
|
|
}
|
|
|
.mobile{
|
|
.mobile{
|
|
@@ -364,6 +364,19 @@ export default {
|
|
|
top:-80upx;
|
|
top:-80upx;
|
|
|
right:-125upx;
|
|
right:-125upx;
|
|
|
}
|
|
}
|
|
|
|
|
+ .my-cg-button{
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ font-size: 28upx;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ border: 1upx solid #2ca99d;
|
|
|
|
|
+ border-radius: 80upx;
|
|
|
|
|
+ padding: 18upx 32upx;
|
|
|
|
|
+ background: #2ca99d;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top:40upx;
|
|
|
|
|
+ right:-125upx;
|
|
|
|
|
+ z-index:99999;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.box_6 {
|
|
.box_6 {
|
|
|
background-color: rgb(248, 242, 242);
|
|
background-color: rgb(248, 242, 242);
|