|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- <!--pages/apply/index.wxml-->
- <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
- <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
- <text style="top:{{isIPX?'54px':'30px'}};">支出事项修改</text>
- </view>
- <!-- 付款单位开始 -->
- <view class="top" style="margin-top:{{isIPX?'100px':'75px'}};">
- <image src="/image/apply/dress_icon.png" mode="widthFix"></image>
- <view class="top-tit">收入单位</view>
- <view class="top-title">{{bookName}}</view>
- </view>
- <text class="title">基础信息</text>
- <view class="main-box table-box">
- <view class="flex-block">
- <text class="rules">支出时间</text>
- <view class="wrap" bindtap="onsrDate" >
- {{formData.accountDate}}
- </view>
- <van-calendar
- show="{{ srShow }}"
- min-date="{{ minDate }}"
- max-date="{{ maxDate }}"
- bind:close="onClose"
- bind:confirm="onConfirm"
- />
- </view>
- <view class="flex-block">
- <text class="rules">支出金额</text>
- <input class="wrap" data-prop="formData.jieAmount" type="number" value="{{formData.daiAmount}}" bindinput="inputChange" placeholder="请输入收入金额"/>
- </view>
- <view class="flex-block"><text class="rules">账户名称</text>
-
- <!-- <input class="wrap" type="number" bindinput="inputChange" data-prop="formData.accountName" value="{{formData.accountName}}" placeholder="请输入存入账户"/> -->
- <view bindtap="oncrzhShow" class="wrap">
- <text wx:if="{{formData.accountName==''}}" class="color-gray">请选择账户</text>
- <text wx:else>{{formData.accountName}}</text>
- </view>
- <!-- custom-style="height: 20%;"-->
- <van-popup
- show="{{ crzhShow }}"
- position="bottom"
- bind:close="onCancelcrzh"
- >
- <van-picker columns="{{ accountListOptions }}" value-key="accountName" bind:cancel="onCancelcrzh"
- show-toolbar="{{true}}"
- bind:confirm="onConfirmcrzh"/>
-
-
- </van-popup>
-
-
-
- </view>
- <view class="flex-block">
- <text class="rules">支出类型</text>
- <view bindtap="oncrlxShow" class="wrap">
- <text wx:if="{{expenditureTypeText==''}}" class="color-gray">请选择支出类型</text>
- <text wx:else>{{expenditureTypeText}}</text>
- </view>
- </view>
- <van-popup
- show="{{ crlxShow }}"
- position="bottom"
- bind:close="onCancelcrlx"
- >
- <van-picker
- columns="{{ expenditureTypeOptions }}"
- value-key="dictLabel"
- bind:cancel="onCancelcrlx"
- show-toolbar="{{true}}"
- bind:confirm="bindPickerChange"/>
- <!-- <picker bindchange="bindPickerChange" class="wrap picker_wrap"
- value="{{incomeTypeText}}"
- range="{{incomeTypeOptions}}"
- range-key="dictLabel">
- </picker> -->
- </van-popup>
- <view class="flex-block"><text class="rules">单据编码</text> <input class="wrap" type="number" bindinput="inputChange" data-prop="formData.billNum" value="{{formData.billNum}}" placeholder="请输入单据编码"/></view>
-
- <view class="flex-block">
- <text class="rules">对方科目</text>
- <view class="wrap" bindtap="selectKM">
- <text wx:if="{{formData.subjectNameAll==''}}" class="color-gray">请选择对方科目</text>
- <text wx:else>{{formData.subjectNameAll}}</text>
- </view>
-
- <van-popup show="{{showKm}}" round position="bottom" bind:close="closeBoxKM" >
- <van-picker
- columns="{{subjectOptions}}"
- show-toolbar
- value-key="subjectNameAll"
- bind:cancel="closeBoxKM"
- bind:confirm="onConfirmContractionKm"
- />
- </van-popup>
- </view>
-
- <view class="flex-block"><text class="rules">备注说明</text> <input class="wrap" bindinput="inputChange" data-prop="formData.accountSummary" placeholder="请输入备注说明" value="{{formData.accountSummary}}"/></view>
- <view class="flex-block"><text class="rules">挂起原因</text> <input class="wrap" bindinput="inputChange" data-prop="formData.accountSummary" placeholder="请输入挂起原因" value="{{formData.remark}}" wx:if="{{formData.checkedStatus == 4}}"/></view>
- </view>
- <block wx:if="{{incomeType == 2}}">
- <view class="title">
- <text>关联合同</text>
- </view>
- <view class="main-box table-box">
- <view class="flex-block">
- <text class="rules {{formData.incomeType == '2' ?'':'no'}}">付款人{{}}</text>
- <view class="wrap" bindtap="selectContraction">
- <text wx:if="{{payerText==''}}" class="color-gray">请选择付款人</text>
- <text wx:else>{{payerText}}</text>
- </view>
-
- <van-popup show="{{showHt}}" round position="bottom" bind:close="closeBox" >
- <van-picker
- columns="{{contractionOptions}}"
- show-toolbar
- value-key="name"
- bind:cancel="closeBox"
- bind:confirm="onConfirmContraction"
- />
- </van-popup>
- </view>
- <view class="flex-block"><text class="rules {{formData.incomeType == '2' ?'':'no'}}">合同编码</text>
- <view class="wrap" bindtap="selectContraction">
- <text wx:if="{{contractionIdID==''}}" class="color-gray">请选择合同编码</text>
- <text wx:else>{{contractionIdID}}</text>
- </view>
-
- </view>
- </view>
- </block>
- <view class="main-box table-box" style="margin-top: 15px;">
- <van-cell>
- <!-- <view slot="icon">
- <van-icon class-prefix="my-icon" name="extra" />
- </view> -->
- <view slot="title">
- <view class="van-cell-text">附件<van-tag type="danger" style="margin-left: 10px;">可拍照</van-tag></view>
- </view>
- <view>
- <view class="van-cell-text">总数<van-tag round color="#5CAE77" plain style="margin-left: 10px;"> {{form.transfers[index].fileNum?form.transfers[index].fileNum:0}}张 </van-tag></view>
- </view>
- </van-cell>
- <view class="fj-box">
- <view class="fj-li">
- <view>
- <text>收\n据</text>
- </view>
- <view class="img_box">
- <view class="img_list" wx:for="{{sjPics}}" wx:for-index="index" wx:key="index">
- <image class="img_li" src="{{item.file}}"bindlongpress="bindlongpressimg" data-status="sjPics" bindtap="imgPreviewImage" data-id='{{index}}'></image>
- <van-icon name="/image/apply/img_delete.png" data-id="{{index}}" size="20px" data-status="sjPics" bindtap="deleteimg" />
- </view>
- <view class="img_list">
- <image class="img_li img_add" src="/image/apply/fj_upload.png" data-index="{{index}}" bindtap="uploadSjPics"></image>
- </view>
- </view>
- </view>
- <view class="fj-li">
- <view>
- <text>发\n票</text>
- </view>
- <view class="img_box">
-
- <view class="img_list" wx:for="{{fpPics}}" wx:for-index="index" wx:key="index">
- <image class="img_li" src="{{item.file}}" data-status="fpPics" bindtap="imgPreviewImage" bindlongpress="bindlongpressimg" data-id='{{index}}'></image>
- <van-icon name="/image/apply/img_delete.png" size="20px" data-id="{{index}}" data-status="fpPics" bindtap="deleteimg" />
- </view>
- <view class="img_list">
- <image class="img_li img_add" src="/image/apply/fj_upload.png" data-index="{{index}}" bindtap="uploadFpPics"></image>
- </view>
- </view>
- </view>
- <view class="fj-li">
- <view>
- <text>其\n他</text>
- </view>
- <view class="img_box">
- <view class="img_list" wx:for="{{qtPics}}" wx:for-index="index" wx:key="index">
- <image class="img_li" src="{{item.file}}" data-status="qtPics" bindtap="imgPreviewImage" bindlongpress="bindlongpressimg" data-id='{{index}}'></image>
- <van-icon name="/image/apply/img_delete.png" size="20px" data-id="{{index}}" data-status="qtPics" bindtap="deleteimg" />
- </view>
- <view class="img_list">
- <image class="img_li img_add" src="/image/apply/fj_upload.png" data-index="{{index}}" bindtap="uploadQtPics"></image>
- </view>
- </view>
- </view>
- </view>
-
- <!-- <view style="margin:10px 0 5px;" class="flex-block">
- <text class="fjLable">收据</text>
- <view class='content'>
- <view class='img-box'>
- <view class='img-list'>
- <block wx:for="{{sjPics}}" wx:for-index="index" wx:key="index">
- <view class='img-item'>
- <van-icon class="close-ico" data-id="{{index}}" name="/image/apply/img_delete.png" size="20px" data-status="sjPics" bindtap="deleteimg" />
- <image src='{{item.file}}' class="imagea" bindlongpress="bindlongpressimg" data-status="sjPics" bindtap="imgPreviewImage" data-id='{{index}}'></image>
- </view>
- </block>
- <view class='chooseimg' bindtap='uploadSjPics'>
- <view class="weui-uploader__input-box"></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view style="margin:10px 0 5px;" class="flex-block">
- <text class="fjLable">发票</text>
- <view class='content'>
- <view class='img-box'>
- <view class='img-list'>
- <block wx:for="{{fpPics}}" wx:for-index="index" wx:key="index">
- <view class='img-item'>
- <van-icon class="close-ico" data-id="{{index}}" name="/image/apply/img_delete.png" size="20px" data-status="fpPics" bindtap="deleteimg" />
- <image src='{{item.file}}' data-status="fpPics" bindtap="imgPreviewImage" class="imagea" bindlongpress="bindlongpressimg" data-id='{{index}}'></image>
- </view>
- </block>
- <view class='chooseimg' bindtap='uploadFpPics'>
- <view class="weui-uploader__input-box"></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view style="margin:10px 0 5px;" class="flex-block">
- <text class="fjLable">其他</text>
- <view class='content'>
- <view class='img-box'>
- <view class='img-list'>
- <block wx:for="{{qtPics}}" wx:for-index="index" wx:key="index">
- <view class='img-item'>
- <van-icon class="close-ico" name="/image/apply/img_delete.png" size="20px" data-id="{{index}}" data-status="qtPics" bindtap="deleteimg" />
- <image src='{{item.file}}' data-status="qtPics" bindtap="imgPreviewImage" class="imagea" bindlongpress="bindlongpressimg" data-id='{{index}}'></image>
- </view>
- </block>
- <view class='chooseimg' bindtap='uploadQtPics'>
- <view class="weui-uploader__input-box"></view>
- </view>
- </view>
- </view>
- </view>
- </view> -->
- </view>
-
- <view class="bottom">
- <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
- <view class="btn1" data-code="1" bindtap="swichAccounting">暂存</view>
- <view class="btn2" data-code="2" bindtap="swichAccounting">提交</view>
- </view>
-
- <!-- <view class="main-box table-box" style="margin-top: 30rpx;">
- <view class="btn flex-block">
- <button type="primary" data-code="1" bindtap="swichAccounting" plain="true">暂存</button>
- <button type="primary" data-code="2" bindtap="swichAccounting">提交</button>
- </view>
- </view> -->
|