2024-07-09 18:11:31 +08:00

1 line
17 KiB
Plaintext

<view class="template-edit tn-safe-area-inset-bottom data-v-012434fa"><tn-nav-bar vue-id="2361683a-1" isBack="{{false}}" backTitle bottomShadow="{{true}}" backgroundColor="#FFFFFF" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left data-v-012434fa"><view data-event-opts="{{[['tap',[['goBack']]]]}}" style="padding-left:15rpx;" bindtap="__e" class="data-v-012434fa"><text class="tn-icon-left data-v-012434fa" style="font-size:40rpx;"></text></view><view class="tn-margin-top data-v-012434fa" style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"><tn-tabs vue-id="{{('2361683a-2')+','+('2361683a-1')}}" list="{{[{name:'发票申请'}]}}" current="{{topCurrent}}" activeColor="#000" bold="{{false}}" fontSize="{{36}}" class="data-v-012434fa" bind:__l="__l"></tn-tabs></view></view></tn-nav-bar><view class="tn-safe-area-inset-bottom data-v-012434fa" style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}"><view style="padding:40rpx;" class="data-v-012434fa"><view class="tn-flex tn-flex-center tn-flex-row-between data-v-012434fa"><view class="data-v-012434fa">{{'已有发票 '+count+' 张'}}</view><view class="data-v-012434fa"><tn-button vue-id="2361683a-3" backgroundColor="#3D7EFF" size="sm" fontColor="#ffffff" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">发票申请</tn-button></view></view></view><block wx:for="{{allList}}" wx:for-item="item" wx:for-index="__i0__"><view style="padding:0rpx 40rpx;" class="data-v-012434fa"><view data-event-opts="{{[['tap',[['openInfo',['$0'],[[['allList','',__i0__]]]]]]]}}" class="tn-flex tn-flex-center tn-flex-row-between tn-flex-col-center bg-flex-shadow tn-shadow-blur data-v-012434fa" bindtap="__e"><view class="data-v-012434fa"><view style="font-size:34rpx;font-weight:600;" class="data-v-012434fa"><text class="data-v-012434fa">发票金额:</text><text class="tn-icon-money-fill data-v-012434fa" style="color:#28B93D;"></text><text style="color:#28B93D;" class="data-v-012434fa">{{item.money}}</text></view><view style="margin-top:10rpx;font-size:28rpx;color:#999999;" class="data-v-012434fa"><text class="data-v-012434fa">{{item.createtime}}</text></view></view><view class="data-v-012434fa"><block wx:if="{{item.if_ssue==1}}"><tn-tag vue-id="{{'2361683a-4-'+__i0__}}" backgroundColor="#31E749" fontColor="#ffffff" shape="radius" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">已通过</tn-tag></block><block wx:if="{{item.if_ssue==2}}"><tn-tag vue-id="{{'2361683a-5-'+__i0__}}" backgroundColor="#E83A30" fontColor="#ffffff" shape="radius" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">被拒绝</tn-tag></block><block wx:if="{{item.if_ssue==3}}"><tn-tag vue-id="{{'2361683a-6-'+__i0__}}" backgroundColor="#FF7043" fontColor="#ffffff" shape="radius" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">审核中</tn-tag></block><text class="tn-icon-right-triangle data-v-012434fa" style="margin-left:10rpx;"></text></view></view><view style="width:100%;height:1px;background-color:#F8F7F8;margin:40rpx 0rpx;" class="data-v-012434fa"></view></view></block></view><tn-popup bind:input="__e" vue-id="2361683a-7" mode="right" safeAreaInsetBottom="{{true}}" width="100%" value="{{addMod}}" data-event-opts="{{[['^input',[['__set_model',['','addMod','$event',[]]]]]]}}" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-nav-bar vue-id="{{('2361683a-8')+','+('2361683a-7')}}" isBack="{{false}}" backTitle alpha="{{true}}" bottomShadow="{{false}}" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left data-v-012434fa"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" style="padding-left:15rpx;" bindtap="__e" class="data-v-012434fa"><text class="tn-icon-left data-v-012434fa" style="font-size:40rpx;"></text></view><view class="tn-margin-top data-v-012434fa" style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"><tn-tabs vue-id="{{('2361683a-9')+','+('2361683a-8')}}" list="{{[{name:'信息填写'}]}}" activeColor="#000" bold="{{false}}" fontSize="{{34}}" class="data-v-012434fa" bind:__l="__l"></tn-tabs></view></view></tn-nav-bar><view class="custom-modal-content data-v-012434fa" style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}"><view style="padding:30rpx;" class="data-v-012434fa"><view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between data-v-012434fa"><view data-event-opts="{{[['tap',[['tt_show_do',['$event']]]]]}}" bindtap="__e" class="data-v-012434fa"><view class="data-v-012434fa">{{header_id_name}}</view></view><view class="data-v-012434fa"><tn-button vue-id="{{('2361683a-10')+','+('2361683a-7')}}" backgroundColor="#3D7EFF" size="sm" fontColor="#ffffff" data-event-opts="{{[['^click',[['e2']]]]}}" bind:click="__e" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">添加开票信息</tn-button><text class="tn-icon-right data-v-012434fa" style="margin-left:20rpx;"></text></view></view><tn-select vue-id="{{('2361683a-11')+','+('2361683a-7')}}" mode="single" list="{{tt_list}}" value="{{tt_show}}" data-event-opts="{{[['^confirm',[['tt_confirm']]],['^input',[['__set_model',['','tt_show','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-012434fa" bind:__l="__l"></tn-select></view><block wx:if="{{tt_add_show}}"><view class="text data-v-012434fa" style="padding:20rpx 40rpx;"><view style="text-align:center;font-size:32rpx;font-weight:600;" class="data-v-012434fa">添加开票信息</view><tn-form vue-id="{{('2361683a-12')+','+('2361683a-7')}}" labelWidth="{{120}}" data-ref="form" class="data-v-012434fa vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><tn-form-item vue-id="{{('2361683a-13')+','+('2361683a-12')}}" prop="name" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('2361683a-14')+','+('2361683a-13')}}" placeholder="申请人" customStyle="{{({width:'600rpx'})}}" value="{{addForm.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['addForm']]]]]}}" class="data-v-012434fa" bind:__l="__l"></tn-input></tn-form-item><tn-form-item vue-id="{{('2361683a-15')+','+('2361683a-12')}}" prop="unit" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('2361683a-16')+','+('2361683a-15')}}" placeholder="公司名称" customStyle="{{({width:'600rpx'})}}" value="{{addForm.unit}}" data-event-opts="{{[['^input',[['__set_model',['$0','unit','$event',[]],['addForm']]]]]}}" class="data-v-012434fa" bind:__l="__l"></tn-input></tn-form-item><tn-form-item vue-id="{{('2361683a-17')+','+('2361683a-12')}}" prop="taxpayer_identification_number" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('2361683a-18')+','+('2361683a-17')}}" placeholder="纳税人识别号" customStyle="{{({width:'600rpx'})}}" value="{{addForm.taxpayer_identification_number}}" data-event-opts="{{[['^input',[['__set_model',['$0','taxpayer_identification_number','$event',[]],['addForm']]]]]}}" class="data-v-012434fa" bind:__l="__l"></tn-input></tn-form-item><tn-form-item vue-id="{{('2361683a-19')+','+('2361683a-12')}}" prop="unit_address" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('2361683a-20')+','+('2361683a-19')}}" placeholder="单位地址" customStyle="{{({width:'600rpx'})}}" value="{{addForm.unit_address}}" data-event-opts="{{[['^input',[['__set_model',['$0','unit_address','$event',[]],['addForm']]]]]}}" class="data-v-012434fa" bind:__l="__l"></tn-input></tn-form-item><tn-form-item vue-id="{{('2361683a-21')+','+('2361683a-12')}}" prop="telephone" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('2361683a-22')+','+('2361683a-21')}}" placeholder="单位电话" customStyle="{{({width:'600rpx'})}}" value="{{addForm.telephone}}" data-event-opts="{{[['^input',[['__set_model',['$0','telephone','$event',[]],['addForm']]]]]}}" class="data-v-012434fa" bind:__l="__l"></tn-input></tn-form-item><tn-form-item vue-id="{{('2361683a-23')+','+('2361683a-12')}}" prop="bank_basic_account_number" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('2361683a-24')+','+('2361683a-23')}}" placeholder="银行基本户账号" customStyle="{{({width:'600rpx'})}}" value="{{addForm.bank_basic_account_number}}" data-event-opts="{{[['^input',[['__set_model',['$0','bank_basic_account_number','$event',[]],['addForm']]]]]}}" class="data-v-012434fa" bind:__l="__l"></tn-input></tn-form-item><tn-form-item vue-id="{{('2361683a-25')+','+('2361683a-12')}}" prop="bank" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('2361683a-26')+','+('2361683a-25')}}" placeholder="开户行" customStyle="{{({width:'600rpx'})}}" value="{{addForm.bank}}" data-event-opts="{{[['^input',[['__set_model',['$0','bank','$event',[]],['addForm']]]]]}}" class="data-v-012434fa" bind:__l="__l"></tn-input></tn-form-item></tn-form><view style="text-align:center;margin-top:50rpx;" class="data-v-012434fa"><tn-button vue-id="{{('2361683a-27')+','+('2361683a-7')}}" backgroundColor="#E6E6E6" height="70rpx" fontColor="#ffffff" width="40%" data-event-opts="{{[['^click',[['e3']]]]}}" bind:click="__e" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">取消</tn-button><tn-button style="margin-left:30rpx;" vue-id="{{('2361683a-28')+','+('2361683a-7')}}" backgroundColor="#3D7EFF" height="70rpx" width="40%" fontColor="#ffffff" data-event-opts="{{[['^click',[['tt_add_do']]]]}}" bind:click="__e" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">提交</tn-button></view></view></block><block wx:if="{{!tt_add_show}}"><view class="text data-v-012434fa" style="padding:20rpx 40rpx;"><view style="text-align:center;font-size:32rpx;font-weight:600;" class="data-v-012434fa">申请发票</view><tn-form vue-id="{{('2361683a-29')+','+('2361683a-7')}}" labelWidth="{{180}}" data-ref="form" class="data-v-012434fa vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><tn-form-item vue-id="{{('2361683a-30')+','+('2361683a-29')}}" prop="name" label="发票类型" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-input vue-id="{{('2361683a-31')+','+('2361683a-30')}}" customStyle="{{({width:'450rpx'})}}" inputAlign="right" disabled="{{true}}" value="{{invoice_type_name}}" data-event-opts="{{[['^click',[['e4']]],['^input',[['__set_model',['','invoice_type_name','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-012434fa" bind:__l="__l"></tn-input><tn-action-sheet vue-id="{{('2361683a-32')+','+('2361683a-30')}}" list="{{actionSheetList}}" value="{{invoice_type_show}}" data-event-opts="{{[['^click',[['actionSheetCallback']]],['^input',[['__set_model',['','invoice_type_show','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-012434fa" bind:__l="__l"></tn-action-sheet></tn-form-item><tn-form-item vue-id="{{('2361683a-33')+','+('2361683a-29')}}" prop="name" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('2361683a-34')+','+('2361683a-33')}}" placeholder="开票金额" customStyle="{{({width:'600rpx'})}}" value="{{money}}" data-event-opts="{{[['^input',[['__set_model',['','money','$event',[]]]]]]}}" class="data-v-012434fa" bind:__l="__l"></tn-input></tn-form-item></tn-form><view style="text-align:center;margin-top:50rpx;" class="data-v-012434fa"><tn-button vue-id="{{('2361683a-35')+','+('2361683a-7')}}" backgroundColor="#E6E6E6" height="70rpx" fontColor="#ffffff" width="40%" data-event-opts="{{[['^click',[['e5']]]]}}" bind:click="__e" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">取消</tn-button><tn-button style="margin-left:30rpx;" vue-id="{{('2361683a-36')+','+('2361683a-7')}}" backgroundColor="#3D7EFF" height="70rpx" width="40%" fontColor="#ffffff" data-event-opts="{{[['^click',[['kp_add_do']]]]}}" bind:click="__e" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">提交</tn-button></view></view></block></view></tn-popup><tn-popup bind:input="__e" vue-id="2361683a-37" mode="right" safeAreaInsetBottom="{{true}}" width="100%" value="{{infoMod}}" data-event-opts="{{[['^input',[['__set_model',['','infoMod','$event',[]]]]]]}}" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><tn-nav-bar vue-id="{{('2361683a-38')+','+('2361683a-37')}}" isBack="{{false}}" backTitle alpha="{{true}}" bottomShadow="{{false}}" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left data-v-012434fa"><view data-event-opts="{{[['tap',[['e6',['$event']]]]]}}" style="padding-left:15rpx;" bindtap="__e" class="data-v-012434fa"><text class="tn-icon-left data-v-012434fa" style="font-size:40rpx;"></text></view><view class="tn-margin-top data-v-012434fa" style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"><tn-tabs vue-id="{{('2361683a-39')+','+('2361683a-38')}}" list="{{[{name:'发票信息查看'}]}}" activeColor="#000" bold="{{false}}" fontSize="{{34}}" class="data-v-012434fa" bind:__l="__l"></tn-tabs></view></view></tn-nav-bar><view class="custom-modal-content data-v-012434fa" style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}"><view class="info_text data-v-012434fa" style="padding:20rpx 40rpx;"><view class="data-v-012434fa"><text class="data-v-012434fa">申请人:</text><text class="data-v-012434fa">{{info.header.name}}</text></view><view class="data-v-012434fa"><text class="data-v-012434fa">公司名称:</text><text class="data-v-012434fa">{{info.header.unit}}</text></view><view class="data-v-012434fa"><text class="data-v-012434fa">纳税人识别号:</text><text class="data-v-012434fa">{{info.header.taxpayer_identification_number}}</text></view><view class="data-v-012434fa"><text class="data-v-012434fa">单位地址:</text><text class="data-v-012434fa">{{info.header.unit_address}}</text></view><view class="data-v-012434fa"><text class="data-v-012434fa">单位电话:</text><text class="data-v-012434fa">{{info.header.telephone}}</text></view><view class="data-v-012434fa"><text class="data-v-012434fa">银行基本账户:</text><text class="data-v-012434fa">{{info.header.bank_basic_account_number}}</text></view><view class="data-v-012434fa"><text class="data-v-012434fa">开户行:</text><text class="data-v-012434fa">{{info.header.bank}}</text></view><view class="data-v-012434fa"><text class="data-v-012434fa">发票金额:</text><text class="data-v-012434fa">{{info.money}}</text></view><view class="data-v-012434fa"><text class="data-v-012434fa">发票类别:</text><text class="data-v-012434fa">{{info.invoice_type==1?'普票':'专票'}}</text></view><view class="data-v-012434fa"><text class="data-v-012434fa">申请状态:</text><block wx:if="{{info.if_ssue==1}}"><tn-tag vue-id="{{('2361683a-40')+','+('2361683a-37')}}" backgroundColor="#31E749" fontColor="#ffffff" shape="radius" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">已通过</tn-tag></block><block wx:if="{{info.if_ssue==2}}"><tn-tag vue-id="{{('2361683a-41')+','+('2361683a-37')}}" backgroundColor="#E83A30" fontColor="#ffffff" shape="radius" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">被拒绝</tn-tag></block><block wx:if="{{info.if_ssue==3}}"><tn-tag vue-id="{{('2361683a-42')+','+('2361683a-37')}}" backgroundColor="#FF7043" fontColor="#ffffff" shape="radius" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">审核中</tn-tag></block></view><block wx:if="{{info.if_ssue==2}}"><view class="data-v-012434fa"><text class="data-v-012434fa">拒绝原因:</text><text class="data-v-012434fa">{{info.reason}}</text></view></block><view class="data-v-012434fa"><text class="data-v-012434fa">发票图片:</text><block wx:if="{{info.invoice_image==''||info.invoice_image==null}}"><text class="data-v-012434fa">待上传</text></block><block wx:if="{{info.invoice_image!=''&&info.invoice_image!=null}}"><image style="width:100%;margin-top:20rpx;" src="{{apiImgUrl+info.invoice_image}}" mode="widthFix" data-event-opts="{{[['tap',[['openImg',['$event']]]]]}}" bindtap="__e" class="data-v-012434fa"></image></block></view><view style="text-align:center;margin-top:50rpx;" class="data-v-012434fa"><tn-button vue-id="{{('2361683a-43')+','+('2361683a-37')}}" backgroundColor="#E6E6E6" height="70rpx" fontColor="#ffffff" width="40%" data-event-opts="{{[['^click',[['e7']]]]}}" bind:click="__e" class="data-v-012434fa" bind:__l="__l" vue-slots="{{['default']}}">关闭</tn-button></view></view></view></tn-popup></view>