| | |
| | | </view> |
| | | <view class="page__bd"> |
| | | <view wx:if="{{ledger.description}}" class="ledger-des"> |
| | | <view style="display: flex;align-items: center;height: 20px;margin-bottom: 10px;"> |
| | | <view class="ledger-tips"> |
| | | <mp-icon icon="info" color="" size="{{16}}"></mp-icon> |
| | | <text>{{ledger.ledgerTypeId == -1 ? '操作提示' : '台账提示'}}</text> |
| | | </view> |
| | | <text>{{ledger.description}}</text> |
| | | </view> |
| | | <view wx:if="{{!ledger.upLoad || reUpload}}" class="weui-upload-view" style="margin-top: 16px"> |
| | | <mp-upload title="上传图片(必填)" titleClass="upload-title-class" max-count="6" files="{{imgFiles}}" binduploadImg="uploadFile" binddelete="delImg"></mp-upload> |
| | | <textarea disabled="{{remarkDisable}}" value="{{remark}}" class="text-area" auto-height="{{false}}" name="des" placeholder="添加备注(选填)" bindinput="onRemarkChange"></textarea> |
| | | <view |
| | | wx:if="{{!ledger.upLoad || reUpload}}" |
| | | class="weui-upload-view" |
| | | style="margin-top: 16px" |
| | | > |
| | | <mp-upload |
| | | title="上传文件(必填)" |
| | | tips="文件最大不能超过5MB" |
| | | allowFiles="{{true}}" |
| | | titleClass="upload-title-class" |
| | | max-count="6" |
| | | files="{{imgFiles}}" |
| | | binduploadImg="uploadFile" |
| | | binddelete="delImg" |
| | | bindfail="uploadFileFail" |
| | | ></mp-upload> |
| | | <textarea |
| | | disabled="{{remarkDisable}}" |
| | | value="{{remark}}" |
| | | class="text-area" |
| | | auto-height="{{false}}" |
| | | name="des" |
| | | placeholder="添加备注(选填)" |
| | | bindinput="onRemarkChange" |
| | | ></textarea> |
| | | </view> |
| | | <block wx:else> |
| | | <view style="font-size: 14px; margin-top: 16px">图片</view> |
| | | <view class="img-group"> |
| | | <image wx:for="{{imgFiles}}" wx:key="index" class="img-group_img" src="{{item}}" mode="aspectFill" bindtap="previewImage" data-index="{{index}}" show-menu-by-longpress="{{true}}"></image> |
| | | </view> |
| | | <view style="font-size: 14px; margin-top: 16px">台账文件</view> |
| | | <file-grid files="{{imgFiles}}"></file-grid> |
| | | <view style="font-size: 14px; margin-top: 16px">备注</view> |
| | | <textarea class="text-area text-area-read" placeholder="无备注" value="{{remark}}"></textarea> |
| | | <textarea |
| | | disabled="{{true}}" |
| | | class="text-area text-area-read" |
| | | placeholder="无备注" |
| | | value="{{remark}}" |
| | | ></textarea> |
| | | <view style="font-size: 12px; margin-top: 16px;color: rgb(160, 160, 160);">上传时间: {{time}}</view> |
| | | </block> |
| | | </view> |
| | | <view class="page__ft"> |
| | | <view wx:if="{{!ledger.upLoad || reUpload}}" class="fix-bottom"> |
| | | <view wx:if="{{type == 0 && ledger.copy && !reUpload}}" class="submit submit-3 left" bindtap="onCopyLedger"> |
| | | <t-loading wx:if="{{latestLedgerLoading}}" theme="spinner" size="20rpx" class="wrapper" /> |
| | | <view |
| | | wx:if="{{type == 0 && ledger.copy && !reUpload}}" |
| | | class="submit submit-3 left" |
| | | bindtap="onCopyLedger" |
| | | > |
| | | <t-loading |
| | | wx:if="{{latestLedgerLoading}}" |
| | | theme="spinner" |
| | | size="20rpx" |
| | | class="wrapper" |
| | | /> |
| | | <text>延用</text> |
| | | <!-- <view class="small-tag-text"> |
| | | <text wx:if="{{lastLedger}}">上次记录:{{lastLedger._updateTimeStr}}</text> |
| | | <text wx:else>无上传记录</text> |
| | | </view> --> |
| | | </view> |
| | | <view wx:if="{{ledger.notRelated}}" class="submit submit-2 left" bindtap="onSubmitNoLedger">不涉及</view> |
| | | <view |
| | | wx:if="{{ledger.notRelated}}" |
| | | class="submit submit-2 left" |
| | | bindtap="onSubmitNoLedger" |
| | | >不涉及</view |
| | | > |
| | | <view class="submit right" bindtap="onSubmit">提交</view> |
| | | </view> |
| | | <view wx:else class="fix-bottom"> |
| | |
| | | <view>确认延用?</view> |
| | | </view> |
| | | </c-dialog> |
| | | <my-gallery hide-on-click="{{true}}" show-delete="{{false}}" show="{{showPreview}}" img-urls="{{previewImageUrls}}" current="{{previewCurrent}}"></my-gallery> |
| | | </view> |
| | | </view> |