|
|
@@ -9,8 +9,16 @@ |
|
|
|
<view class="top-tit">收入单位</view> |
|
|
|
<view class="top-title">{{bookName}}</view> |
|
|
|
</view> |
|
|
|
<text class="title">基础信息</text> |
|
|
|
<view class="title"> |
|
|
|
<text>基础信息</text> |
|
|
|
</view> |
|
|
|
<view class="main-box table-box"> |
|
|
|
|
|
|
|
<van-field readonly label="收入时间" value="{{formData.accountDate }}" |
|
|
|
placeholder="请选择收入时间" border="{{ false }}" input-align="right" is-link arrow-direction ="down" |
|
|
|
bindtap="onsrDate" required="{{true}}" |
|
|
|
/> |
|
|
|
<van-calendar |
|
|
|
<view class="flex-block"> |
|
|
|
<text class="rules">收入时间</text> |
|
|
|
<view class="wrap" bindtap="onsrDate" > |
|
|
@@ -93,66 +101,11 @@ |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<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"> |
|
|
|
<view class="title"> |
|
|
|
<text>附件</text> |
|
|
|
</view> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<view style="margin:10px 0 5px;" class="flex-block"> |
|
|
|
<text class="fjLable">收据</text> |
|
|
|
<view class='content'> |
|
|
|
<view class='img-box'> |
|
|
@@ -195,7 +148,7 @@ |
|
|
|
<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" /> |
|
|
|
<van-icon class="close-ico" data-id="{{index}}" name="/image/apply/img_delete.png" size="20px" data-status="qtPics" bindtap="deleteimg" /> |
|
|
|
<image src='{{item.file}}' data-status="qtPics" bindtap="imgPreviewImage" class="imagea" bindlongpress="bindlongpressimg" data-id='{{index}}'></image> |
|
|
|
</view> |
|
|
|
</block> |
|
|
@@ -205,18 +158,11 @@ |
|
|
|
</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> |
|
|
|
|
|
|
|
<!-- <view class="main-box table-box" style="margin-top: 30rpx;"> |
|
|
|
<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> --> |
|
|
|
</view> |