|
|
@@ -1,11 +1,12 @@ |
|
|
|
<!--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> |
|
|
|
<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> |
|
|
|
<image src="/image/apply/dress_icon.png" mode="widthFix"></image> |
|
|
|
<view class="top-tit">收入单位</view> |
|
|
|
<view class="top-title">{{bookName}}</view> |
|
|
|
</view> |
|
|
@@ -13,31 +14,28 @@ |
|
|
|
<text>基础信息</text> |
|
|
|
</view> |
|
|
|
<view class="main-box table-box"> |
|
|
|
<view class="flex-block"> |
|
|
|
<text class="rules">收入时间</text> |
|
|
|
<view class="wrap" bindtap="onsrDate" > |
|
|
|
{{formData.accountDate}} |
|
|
|
</view> |
|
|
|
<van-calendar |
|
|
|
|
|
|
|
<van-field readonly label="收入时间" value="{{formData.accountDate }}" |
|
|
|
placeholder="请选择收入时间" border="{{ false }}" input-align="right" is-link arrow-direction ="down" |
|
|
|
bindtap="onsrDate" required="{{true}}" |
|
|
|
/> |
|
|
|
<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.jieAmount}}" 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-field type="number" data-value="formData.jieAmount" required="{{true}}" label="收入金额" value="{{ formData.jieAmount }}" placeholder="请输入收入金额" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
|
|
|
|
|
|
|
|
<van-field readonly label="存入账户" value="{{formData.accountName }}" |
|
|
|
placeholder="请选择存入账户" border="{{ false }}" input-align="right" is-link arrow-direction ="down" |
|
|
|
bindtap="oncrzhShow" required="{{true}}" |
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
<van-popup |
|
|
|
show="{{ crzhShow }}" |
|
|
|
position="bottom" |
|
|
@@ -46,38 +44,42 @@ |
|
|
|
<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> |
|
|
|
<picker bindchange="bindPickerChange" class="wrap picker_wrap" |
|
|
|
value="{{incomeTypeText}}" |
|
|
|
range="{{incomeTypeOptions}}" |
|
|
|
range-key="dictLabel"> |
|
|
|
<view class="picker"> |
|
|
|
{{incomeTypeText}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
</view> |
|
|
|
<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> <input class="wrap" type="number" bindinput="inputChange" data-prop="formData.accountSummary" placeholder="请输入备注说明" value="{{formData.accountSummary}}"/></view> |
|
|
|
<van-field readonly label="收入类型" value="{{incomeTypeText}}" |
|
|
|
placeholder="请选择收入类型" border="{{ false }}" input-align="right" is-link arrow-direction ="down" |
|
|
|
bindtap="oncrlxShow" required="{{true}}" |
|
|
|
/> |
|
|
|
|
|
|
|
<van-popup |
|
|
|
show="{{ crlxShow }}" |
|
|
|
position="bottom" |
|
|
|
bind:close="onCancelcrlx" |
|
|
|
> |
|
|
|
<van-picker columns="{{ incomeTypeOptions }}" value-key="dictLabel" bind:cancel="onCancelcrlx" |
|
|
|
show-toolbar="{{true}}" |
|
|
|
bind:confirm="bindPickerChange" /> |
|
|
|
</van-popup> |
|
|
|
|
|
|
|
<van-field required="{{true}}" data-value="formData.billNum" label="单据编码" value="{{ formData.billNum }}" placeholder="请输入单据编码" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
|
|
|
|
<van-field required="{{true}}" data-value="formData.accountSummary" label="备注说明" value="{{ formData.accountSummary }}" placeholder="请输入备注说明" border="{{ false }}" bind:change="onChange" input-align="right"/> |
|
|
|
</view> |
|
|
|
<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-field readonly label="付款人" value="{{payerText}}" |
|
|
|
placeholder="请选择付款人" border="{{ false }}" input-align="right" is-link arrow-direction ="down" |
|
|
|
bindtap="selectContraction" required="{{formData.incomeType == '2'}}" |
|
|
|
/> |
|
|
|
|
|
|
|
<van-popup show="{{showHt}}" round position="bottom" bind:close="closeBox" > |
|
|
|
<van-field readonly label="合同编码" value="{{formData.contractionId}}" |
|
|
|
placeholder="请选择合同编码" border="{{ false }}" input-align="right" is-link arrow-direction ="down" |
|
|
|
bindtap="selectContraction" required="{{formData.incomeType == '2'}}" |
|
|
|
/> |
|
|
|
<van-popup show="{{showHt}}" round position="bottom" bind:close="closeBox" > |
|
|
|
<van-picker |
|
|
|
columns="{{contractionOptions}}" |
|
|
|
show-toolbar |
|
|
@@ -86,14 +88,6 @@ |
|
|
|
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="{{formData.contractionId==''}}" class="color-gray">请选择合同编码</text> |
|
|
|
<text wx:else>{{formData.contractionId}}</text> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="title"> |
|
|
|
<text>附件</text> |
|
|
|