|
|
@@ -6,158 +6,169 @@ |
|
|
|
<view class="pure_top" style="top:{{isIPX?'88px':'64px'}};"></view> |
|
|
|
<view class="main-box top-box" style="margin-top:{{isIPX?'100px':'75px'}};"> |
|
|
|
<text class="box-title">审批事项</text> |
|
|
|
<input class="input_tit" placeholder="请输入审批事项"/> |
|
|
|
<text>提交单位:龙华村联合社</text> |
|
|
|
<text>提交日期:2022年1月18日</text> |
|
|
|
<text>提 交 人:报账员</text> |
|
|
|
<text>联系电话:13906311234</text> |
|
|
|
<input class="input_tit" placeholder="请输入审批事项" value="{{form.approvalItemTemplate.approvalItems}}" bindinput="bindKeyInput"/> |
|
|
|
<text>提交单位:{{form.approvalItemTemplate.submitCompany}}</text> |
|
|
|
<text>提交日期:{{form.approvalItemTemplate.submitDate}}</text> |
|
|
|
<text>提 交 人:{{form.approvalItemTemplate.submitter}}</text> |
|
|
|
<text>联系电话:{{form.approvalItemTemplate.telephone}}</text> |
|
|
|
</view> |
|
|
|
<view class="main-title">事项一</view> |
|
|
|
<view class="center"> |
|
|
|
<text class="title">基础信息</text> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<van-field label="申请流水号" value="{{ value }}" placeholder="请输入申请流水号" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="申请时间" value="{{ value }}" placeholder="请输入申请时间" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="合计支出" value="{{ value }}" placeholder="请输入合计支出" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="支出原因" value="{{ value }}" placeholder="请输入支出原因" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="资金支出类别" value="{{ value }}" placeholder="请输入资金支出类别" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/> |
|
|
|
</view> |
|
|
|
<text class="title">关联项目</text> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<van-field label="项目名称" value="{{ value }}" placeholder="请输入项目名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link/> |
|
|
|
</view> |
|
|
|
<text class="title">付款方信息</text> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<van-field label="付款方式" value="{{ value }}" placeholder="请输入付款方式" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/> |
|
|
|
|
|
|
|
<van-field value="{{ value }}" placeholder="请输入付款方名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"> |
|
|
|
<view slot="label"> |
|
|
|
付款方名称<van-tag plain type="danger" color="red" round style="margin-left:10px;">必填</van-tag> |
|
|
|
</view> |
|
|
|
</van-field> |
|
|
|
<van-field label="付款方账号" value="{{ value }}" placeholder="请输入付款方账号" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="所属银行" value="{{ value }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="转账附言" value="{{ value }}" placeholder="请输入转账附言" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
</view> |
|
|
|
<text class="title">收款方信息</text> |
|
|
|
<view class="center-box"> |
|
|
|
<block wx:for="{{form.approvalItemTemplate.transfers}}" wx:key="index"> |
|
|
|
<view class="main-title">事项一</view> |
|
|
|
<view class="center"> |
|
|
|
<text class="title">基础信息</text> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<van-cell title="收款账户类型" center border="{{false}}"> |
|
|
|
<view> |
|
|
|
<van-radio-group |
|
|
|
value="{{ radio }}" |
|
|
|
bind:change="onChange" |
|
|
|
direction="horizontal"XX |
|
|
|
> |
|
|
|
<van-radio name="1" checked-color="#2C8E68" disabled>公户</van-radio> |
|
|
|
<van-radio name="2" checked-color="#2C8E68" disabled>私户</van-radio> |
|
|
|
</van-radio-group> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<!-- <van-field label="申请流水号" value="{{ form.approvalItemTemplate.telephone }}" placeholder="请输入申请流水号" border="{{ false }}" bind:change="onChange" input-align="right"/> --> |
|
|
|
<van-field label="申请时间" value="{{ form.approvalItemTemplate.transfers[index].applyDate }}" placeholder="请输入申请时间" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="合计支出" value="{{ form.approvalItemTemplate.transfers[index].expenditureAmount }}" placeholder="请输入合计支出" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="支出原因" value="{{ form.approvalItemTemplate.transfers[index].remark }}" placeholder="请输入支出原因" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-popup show="{{showCapitalExpenditureType}}" round position="bottom" bind:close="closeBox" data-name="showCapitalExpenditureType"> |
|
|
|
<van-picker |
|
|
|
columns="{{columns}}" |
|
|
|
bind:cancel="showCapitalExpenditureType = false" |
|
|
|
bind:confirm="onConfirm" |
|
|
|
/> |
|
|
|
</van-popup> |
|
|
|
<van-field label="资金支出类别" readonly value="{{ form.approvalItemTemplate.transfers[index].capitalExpenditureType }}" placeholder="请输入资金支出类别" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showCapitalExpenditureType"/> |
|
|
|
</view> |
|
|
|
<text class="title">关联项目</text> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<van-field value="{{ value }}" placeholder="请输入姓名" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"> |
|
|
|
<van-field label="项目名称" value="{{ value }}" placeholder="请输入项目名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link/> |
|
|
|
</view> |
|
|
|
<text class="title">付款方信息</text> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<!-- 付款方式无 --> |
|
|
|
<van-field label="付款方式" value="{{ form.approvalItemTemplate.transfers[index].transferType }}" placeholder="请输入付款方式" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/> |
|
|
|
|
|
|
|
<van-field value="{{ form.approvalItemTemplate.transfers[index].payer }}" placeholder="请输入付款方名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"> |
|
|
|
<view slot="label"> |
|
|
|
姓名<van-tag plain type="danger" color="#5CAE77" round style="margin-left:10px;">收款方</van-tag> |
|
|
|
付款方名称<van-tag plain type="danger" color="red" round style="margin-left:10px;">必填</van-tag> |
|
|
|
</view> |
|
|
|
</van-field> |
|
|
|
<van-field label="收款账户" value="{{ value }}" placeholder="请输入收款账户" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="开户银行" value="{{ value }}" placeholder="请输入开户银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/> |
|
|
|
<van-field label="收入金额" value="{{ value }}" placeholder="请输入收入金额" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="所属银行" value="{{ value }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/> |
|
|
|
<van-field label="付款方账号" value="{{ form.approvalItemTemplate.transfers[index].payerAccount }}" placeholder="请输入付款方账号" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="所属银行" value="{{ form.approvalItemTemplate.transfers[index].bankType }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<!-- 转账附言无 --> |
|
|
|
<van-field label="转账附言" value="{{ form.approvalItemTemplate.transfers[index].remark }}" placeholder="请输入转账附言" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="main-box"> |
|
|
|
<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> |
|
|
|
<text class="title">收款方信息</text> |
|
|
|
<view class="center-box"> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<van-cell title="收款账户类型" center border="{{false}}"> |
|
|
|
<view> |
|
|
|
<van-radio-group |
|
|
|
value="{{ form.approvalItemTemplate.bankAccountType }}" |
|
|
|
bind:change="onChange" |
|
|
|
direction="horizontal" |
|
|
|
> |
|
|
|
<van-radio name="1" checked-color="#2C8E68">公户</van-radio> |
|
|
|
<van-radio name="2" checked-color="#2C8E68">私户</van-radio> |
|
|
|
</van-radio-group> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<view class="van-cell-text">总数<van-tag round color="#5CAE77" plain style="margin-left: 10px;"> 0张 </van-tag></view> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<van-field value="{{ form.approvalItemTemplate.transfers[index].payee }}" placeholder="请输入姓名" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"> |
|
|
|
<view slot="label"> |
|
|
|
姓名<van-tag plain type="danger" color="#5CAE77" round style="margin-left:10px;">收款方</van-tag> |
|
|
|
</view> |
|
|
|
</van-field> |
|
|
|
<van-field label="收款账户" value="{{ form.approvalItemTemplate.transfers[index].payeeAccount }}" placeholder="请输入收款账户" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
<van-field label="开户银行" value="{{ form.approvalItemTemplate.transfers[index].bankDeposit }}" placeholder="请输入开户银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/> |
|
|
|
<van-field label="收入金额" value="{{ form.approvalItemTemplate.transfers[index].incomeAmount }}" placeholder="请输入收入金额" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
|
|
|
|
<van-field label="所属银行" value="{{ form.approvalItemTemplate.transfers[index].bankType }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<view class="fj-box"> |
|
|
|
<view class="fj-li"> |
|
|
|
<text> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="main-box"> |
|
|
|
<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;"> 0张 </van-tag></view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<view class="fj-box"> |
|
|
|
<view class="fj-li"> |
|
|
|
<text> |
|
|
|
收 |
|
|
|
据 |
|
|
|
</text> |
|
|
|
<image src="/image/apply/fj_upload.png" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
<view class="fj-li"> |
|
|
|
<text> |
|
|
|
</text> |
|
|
|
<image src="/image/apply/fj_upload.png" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
<view class="fj-li"> |
|
|
|
<text> |
|
|
|
发 |
|
|
|
票 |
|
|
|
</text> |
|
|
|
<image src="/image/apply/fj_upload.png" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
<view class="fj-li"> |
|
|
|
<text> |
|
|
|
</text> |
|
|
|
<image src="/image/apply/fj_upload.png" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
<view class="fj-li"> |
|
|
|
<text> |
|
|
|
其 |
|
|
|
他 |
|
|
|
</text> |
|
|
|
<image src="/image/apply/fj_upload.png" mode="widthFix"></image> |
|
|
|
</text> |
|
|
|
<image src="/image/apply/fj_upload.png" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- <view class="main-box steps-box"> |
|
|
|
<view class="steps-tit">审批流程</view> |
|
|
|
<van-row wx:for="{{steps}}" wx:key="index"> |
|
|
|
<van-col span="3"> |
|
|
|
<view class="index">{{index+1}}</view> |
|
|
|
<block wx:if="{{index==0}}"> |
|
|
|
<view class="indexBorder"> |
|
|
|
<view class="ssT" wx:if="{{index>0}}"></view> |
|
|
|
<view class="yq"></view> |
|
|
|
<view class="ss" wx:if="{{steps.length != index+1}}"></view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
<block wx:else> |
|
|
|
<view class="indexBorder indexCenter"> |
|
|
|
<view class="ssT" wx:if="{{index>0}}"></view> |
|
|
|
<view class="yq"></view> |
|
|
|
<view class="ss" wx:if="{{steps.length != index+1}}"></view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
</van-col> |
|
|
|
<van-col span="21"> |
|
|
|
<van-cell title="{{item.activityName}}" center="{{true}}" border="{{false}}"> |
|
|
|
<view class="agree" wx:if="{{item.type=='1'}}">{{ item.assigneeName }}</view> |
|
|
|
<view class="in" wx:if="{{item.type=='2'}}">{{ item.assigneeName }}</view> |
|
|
|
<view class="disagree" wx:if="{{item.type=='3'}}">{{ item.assigneeName }}</view> |
|
|
|
</van-cell> |
|
|
|
<!-- <view class="main-box steps-box"> |
|
|
|
<view class="steps-tit">审批流程</view> |
|
|
|
<van-row wx:for="{{steps}}" wx:key="index"> |
|
|
|
<van-col span="3"> |
|
|
|
<view class="index">{{index+1}}</view> |
|
|
|
<block wx:if="{{index==0}}"> |
|
|
|
<view class="indexBorder"> |
|
|
|
<view class="ssT" wx:if="{{index>0}}"></view> |
|
|
|
<view class="yq"></view> |
|
|
|
<view class="ss" wx:if="{{steps.length != index+1}}"></view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
<block wx:else> |
|
|
|
<view class="indexBorder indexCenter"> |
|
|
|
<view class="ssT" wx:if="{{index>0}}"></view> |
|
|
|
<view class="yq"></view> |
|
|
|
<view class="ss" wx:if="{{steps.length != index+1}}"></view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
</van-col> |
|
|
|
<van-col span="21"> |
|
|
|
<van-cell title="{{item.activityName}}" center="{{true}}" border="{{false}}"> |
|
|
|
<view class="agree" wx:if="{{item.type=='1'}}">{{ item.assigneeName }}</view> |
|
|
|
<view class="in" wx:if="{{item.type=='2'}}">{{ item.assigneeName }}</view> |
|
|
|
<view class="disagree" wx:if="{{item.type=='3'}}">{{ item.assigneeName }}</view> |
|
|
|
</van-cell> |
|
|
|
|
|
|
|
<van-cell center border="{{false}}"> |
|
|
|
<view slot="title"> |
|
|
|
<view style="color: #999999;">{{ item.durationInMillis }}</view> |
|
|
|
</view> |
|
|
|
<view style="color: #999999;font-size: 12px;">{{ item.endTime }}</view> |
|
|
|
</van-cell> |
|
|
|
</van-col> |
|
|
|
</van-row> |
|
|
|
</view> --> |
|
|
|
<view class="bottomBtn"> |
|
|
|
<view bindtap="showPopup"> |
|
|
|
<image src="/image/apply/icon_pres.png"></image> |
|
|
|
<text>保存模板</text> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<image src="/image/apply/icon_add.png"></image> |
|
|
|
<text>新增事项</text> |
|
|
|
<van-cell center border="{{false}}"> |
|
|
|
<view slot="title"> |
|
|
|
<view style="color: #999999;">{{ item.durationInMillis }}</view> |
|
|
|
</view> |
|
|
|
<view style="color: #999999;font-size: 12px;">{{ item.endTime }}</view> |
|
|
|
</van-cell> |
|
|
|
</van-col> |
|
|
|
</van-row> |
|
|
|
</view> --> |
|
|
|
<view class="bottomBtn"> |
|
|
|
<view bindtap="showPopup"> |
|
|
|
<image src="/image/apply/icon_pres.png"></image> |
|
|
|
<text>保存模板</text> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<image src="/image/apply/icon_add.png"></image> |
|
|
|
<text>新增事项</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="bottom"> |
|
|
|
<view class="btn1" bindtap="openBox">保存</view> |
|
|
|
<view class="btn2" bindtap="goApproval">下一步</view> |
|
|
|
<view class="bottom"> |
|
|
|
<view class="btn1" bindtap="openBox">保存</view> |
|
|
|
<view class="btn2" bindtap="goApproval">下一步</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</block> |
|
|
|
<!-- <view class="bottom"> |
|
|
|
<button type="warn" plain class="btnDis">驳回</button> |
|
|
|
<button type="primary" class="btnAgree">同意</button> |
|
|
|