‘修改合同权限’
parent
4529f1f04d
commit
e33ec05767
|
@ -81,8 +81,8 @@
|
||||||
<view class="info data-v-e5a6e2f8">{{"合同编号:"+item.num}}</view>
|
<view class="info data-v-e5a6e2f8">{{"合同编号:"+item.num}}</view>
|
||||||
<view class="info data-v-e5a6e2f8" wx:if="{{has_amount_view}}">{{"已回款:¥"+item.receivables.repayment_money}}</view>
|
<view class="info data-v-e5a6e2f8" wx:if="{{has_amount_view}}">{{"已回款:¥"+item.receivables.repayment_money}}</view>
|
||||||
<view class="info data-v-e5a6e2f8" wx:if="{{has_amount_view}}">{{"待回款:¥"+item.receivables.be_money}}</view>
|
<view class="info data-v-e5a6e2f8" wx:if="{{has_amount_view}}">{{"待回款:¥"+item.receivables.be_money}}</view>
|
||||||
<view class="proce_li data-v-e5a6e2f8">
|
<view class="proce_li data-v-e5a6e2f8" >
|
||||||
<view class="pro_li_left data-v-e5a6e2f8">
|
<view class="pro_li_left data-v-e5a6e2f8" wx:if="{{has_amount_view}}">
|
||||||
<view class="protext data-v-e5a6e2f8">回款进度:</view>
|
<view class="protext data-v-e5a6e2f8">回款进度:</view>
|
||||||
<view class="probox data-v-e5a6e2f8">
|
<view class="probox data-v-e5a6e2f8">
|
||||||
<view class="proin data-v-e5a6e2f8" style="{{'width:'+((item.receivables.ratio>=100?100:item.receivables.ratio)+'%')+';'}}"></view>
|
<view class="proin data-v-e5a6e2f8" style="{{'width:'+((item.receivables.ratio>=100?100:item.receivables.ratio)+'%')+';'}}"></view>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
"u-tabs": "/uview-ui/components/u-tabs/u-tabs",
|
"u-tabs": "/uview-ui/components/u-tabs/u-tabs",
|
||||||
"u-popup": "/uview-ui/components/u-popup/u-popup",
|
"u-popup": "/uview-ui/components/u-popup/u-popup",
|
||||||
"customer-dynamic": "/components/content/customerDynamic/customerDynamic",
|
"customer-dynamic": "/components/content/customerDynamic/customerDynamic",
|
||||||
"base-info": "/pages/index/groupCompany/contract/baseInfo"
|
"base-info": "/pages/index/groupCompany/contract/baseInfo",
|
||||||
|
"u-empty": "/uview-ui/components/u-empty/u-empty"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -23,36 +23,32 @@
|
||||||
<block wx:if="{{info}}">
|
<block wx:if="{{info}}">
|
||||||
<view class="content">{{'合同编号:'+(info.num?info.num:'')+''}}</view>
|
<view class="content">{{'合同编号:'+(info.num?info.num:'')+''}}</view>
|
||||||
</block>
|
</block>
|
||||||
<view class="li_text">
|
|
||||||
<view class="protext">回款进度</view>
|
|
||||||
<view class="pro_out">
|
|
||||||
<block wx:if="{{info}}">
|
|
||||||
<view class="pro_in" style="{{'width:'+((info.receivables.ratio>=100?100:info.receivables.ratio)+'%')+';'}}"></view>
|
|
||||||
</block>
|
|
||||||
</view>
|
|
||||||
<block wx:if="{{info}}">
|
|
||||||
<view class="protext">{{''+(info.receivables.ratio>=100?100:info.receivables.ratio)+'%'}}</view>
|
|
||||||
</block>
|
|
||||||
</view>
|
|
||||||
<view class="li_text" wx:if="{{has_amount_view}}">
|
|
||||||
<block wx:if="{{info}}">
|
|
||||||
<view class="protext">{{'合同金额:¥'+(info.money?info.money:'')+''}}</view>
|
|
||||||
</block>
|
|
||||||
</view>
|
|
||||||
<!-- <block wx:if="{{info}}">
|
|
||||||
<view class="content" wx:if="{{has_amount_view}}">{{'已回款:¥'+(info.receivables?info.receivables.repayment_money:'')+''}}</view>
|
|
||||||
</block>
|
|
||||||
<block wx:if="{{info}}">
|
|
||||||
<view class="content" wx:if="{{has_amount_view}}">{{'报销金额汇总:¥ '+(info.total_consume?info.total_consume:'')+''}}</view>
|
|
||||||
</block> -->
|
|
||||||
<block wx:if="{{info}}">
|
|
||||||
<view class="content" wx:if="{{has_amount_view}}">{{'待回款:¥ '+(info.receivables?info.receivables.be_money:'')+''}}</view>
|
|
||||||
</block>
|
|
||||||
<!-- <block wx:if="{{info}}">
|
|
||||||
<view class="content">{{'签约时间:'+(info.order_date?info.order_date:'')+''}}</view>
|
|
||||||
</block> -->
|
|
||||||
|
|
||||||
<view class="roll">
|
<block wx:if="{{has_amount_view}}">
|
||||||
|
<view class="li_text" >
|
||||||
|
<view class="protext">回款进度</view>
|
||||||
|
<view class="pro_out">
|
||||||
|
<block wx:if="{{info}}">
|
||||||
|
<view class="pro_in" style="{{'width:'+((info.receivables.ratio>=100?100:info.receivables.ratio)+'%')+';'}}"></view>
|
||||||
|
</block>
|
||||||
|
</view>
|
||||||
|
<block wx:if="{{info}}">
|
||||||
|
<view class="protext">{{''+(info.receivables.ratio>=100?100:info.receivables.ratio)+'%'}}</view>
|
||||||
|
</block>
|
||||||
|
</view>
|
||||||
|
<view class="li_text">
|
||||||
|
<block wx:if="{{info}}">
|
||||||
|
<view class="protext">{{'合同金额:¥'+(info.money?info.money:'')+''}}</view>
|
||||||
|
</block>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<block wx:if="{{info}}">
|
||||||
|
<view class="content">{{'待回款:¥ '+(info.receivables?info.receivables.be_money:'')+''}}</view>
|
||||||
|
</block>
|
||||||
|
</block>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="roll" wx:if="{{has_amount_view}}">
|
||||||
<scroll-view class="scrollView" scroll-x="true" lower-threshold="50" enable-flex="{{true}}">
|
<scroll-view class="scrollView" scroll-x="true" lower-threshold="50" enable-flex="{{true}}">
|
||||||
<view class="scrollbox">
|
<view class="scrollbox">
|
||||||
<view data-event-opts="{{[['tap',[['toAddBills',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e">
|
<view data-event-opts="{{[['tap',[['toAddBills',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e">
|
||||||
|
@ -74,28 +70,7 @@
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <view class="roll">
|
|
||||||
<scroll-view class="scrollView" scroll-x="true" lower-threshold="50" enable-flex="{{true}}">
|
|
||||||
<view class="scrollbox">
|
|
||||||
<view data-event-opts="{{[['tap',[['payment',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e">
|
|
||||||
<view class="scroll_top">{{''+$root.g0+''}}</view>
|
|
||||||
<view class="scroll_foot">回款记录</view>
|
|
||||||
</view>
|
|
||||||
<view data-event-opts="{{[['tap',[['plan',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e">
|
|
||||||
<view class="scroll_top">{{''+$root.g1+''}}</view>
|
|
||||||
<view class="scroll_foot">回款计划</view>
|
|
||||||
</view>
|
|
||||||
<view data-event-opts="{{[['tap',[['accessory',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e">
|
|
||||||
<view class="scroll_top">{{''+$root.g2+''}}</view>
|
|
||||||
<view class="scroll_foot">附件</view>
|
|
||||||
</view>
|
|
||||||
<view data-event-opts="{{[['tap',[['opera',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e">
|
|
||||||
<view class="scroll_top">{{''+$root.g3+''}}</view>
|
|
||||||
<view class="scroll_foot">操作记录</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</scroll-view>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
<block wx:if="{{payment_approval.is_check==1}}">
|
<block wx:if="{{payment_approval.is_check==1}}">
|
||||||
<view class="btnlist">
|
<view class="btnlist">
|
||||||
|
@ -116,7 +91,7 @@
|
||||||
|
|
||||||
<!-- 发票 -->
|
<!-- 发票 -->
|
||||||
<block wx:if="{{current==1}}">
|
<block wx:if="{{current==1}}">
|
||||||
<block wx:for="{{billList}}" wx:for-item="item" wx:for-index="index" wx:key="index">
|
<block wx:for="{{billList}}" wx:for-item="item" wx:for-index="index" wx:key="index" wx:if="{{has_amount_view}}">
|
||||||
<view class="cost data-v-2a5dec54">
|
<view class="cost data-v-2a5dec54">
|
||||||
<view class="cost_info data-v-2a5dec54">
|
<view class="cost_info data-v-2a5dec54">
|
||||||
<view class="cost_left data-v-2a5dec54">
|
<view class="cost_left data-v-2a5dec54">
|
||||||
|
@ -129,11 +104,15 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
|
<view style="margin-top: 20rpx;" wx:if="{{!has_amount_view}}">
|
||||||
|
<u-empty vue-id="ab320058-1" text="暂无权限" bind:__l="__l"></u-empty>
|
||||||
|
</view>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
<!-- 费用 -->
|
<!-- 费用 -->
|
||||||
<block wx:if="{{current==2}}">
|
<block wx:if="{{current==2}}">
|
||||||
<view class="cost data-v-2a5dec54" wx:for="{{consumeList}}" wx:for-item="item" wx:for-index="index" wx:key="index">
|
<view class="cost data-v-2a5dec54" wx:for="{{consumeList}}" wx:for-item="item" wx:for-index="index" wx:key="index" wx:if="{{has_amount_view}}">
|
||||||
<block wx:if="{{item.check_status==0}}">
|
<block wx:if="{{item.check_status==0}}">
|
||||||
<view class="cost_status data-v-2a5dec54"><label class="_span data-v-2a5dec54">待审核</label></view>
|
<view class="cost_status data-v-2a5dec54"><label class="_span data-v-2a5dec54">待审核</label></view>
|
||||||
</block>
|
</block>
|
||||||
|
@ -165,11 +144,15 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view style="margin-top: 20rpx;" wx:if="{{!has_amount_view}}">
|
||||||
|
<u-empty vue-id="ab320058-1" text="暂无权限" bind:__l="__l"></u-empty>
|
||||||
|
</view>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
<!-- 回款记录 -->
|
<!-- 回款记录 -->
|
||||||
<block wx:if="{{current==3}}">
|
<block wx:if="{{current==3}}">
|
||||||
<block wx:for="{{collectionList}}" wx:for-item="item" wx:for-index="index" wx:key="index">
|
<block wx:for="{{collectionList}}" wx:for-item="item" wx:for-index="index" wx:key="index" wx:if="{{has_amount_view}}">
|
||||||
<view class="cost data-v-2a5dec54" bindtap="__e">
|
<view class="cost data-v-2a5dec54" bindtap="__e">
|
||||||
<block wx:if="{{item.check_status==0}}">
|
<block wx:if="{{item.check_status==0}}">
|
||||||
<view class="cost_status data-v-2a5dec54"><label class="_span data-v-23dddfa8">待审核</label></view>
|
<view class="cost_status data-v-2a5dec54"><label class="_span data-v-23dddfa8">待审核</label></view>
|
||||||
|
@ -201,15 +184,23 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
|
<view style="margin-top: 20rpx;" wx:if="{{!has_amount_view}}">
|
||||||
|
<u-empty vue-id="ab320058-1" text="暂无权限" bind:__l="__l"></u-empty>
|
||||||
|
</view>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
|
|
||||||
<block wx:if="{{current==4}}">
|
<block wx:if="{{current==4}}">
|
||||||
<view class="processing_title">
|
<view class="processing_title" wx:if="{{has_amount_view}}">
|
||||||
<block wx:if="{{info}}">
|
<block wx:if="{{info}}">
|
||||||
<base-info vue-id="a970ea7e-3" info="{{info}}" payment_approval="{{payment_approval}}" bind:__l="__l"></base-info>
|
<base-info vue-id="a970ea7e-3" info="{{info}}" payment_approval="{{payment_approval}}" bind:__l="__l"></base-info>
|
||||||
</block>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view style="margin-top:20rpx;" wx:if="{{!has_amount_view}}">
|
||||||
|
<u-empty vue-id="ab320058-1" text="暂无权限" bind:__l="__l"></u-empty>
|
||||||
|
</view>
|
||||||
</block>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
<view style="height:100rpx;"></view>
|
<view style="height:100rpx;"></view>
|
||||||
|
|
Loading…
Reference in New Issue