|
|
<!--pages/updataguarantee/updataguarantee.wxml-->
|
|
|
<scroll-view class='scroll-views' scroll-y="true" style="height:{{winHeight}}px">
|
|
|
<view class='twoitem'>
|
|
|
<text>结账客户</text>
|
|
|
<text class='item_value'>{{accountcustomer[accountcustomerIndex].Name}}</text>
|
|
|
</view>
|
|
|
|
|
|
<view class='twoitem'>
|
|
|
<text>会计单位</text>
|
|
|
<text class='item_value'>{{accountUnit[accountUnitIndex].Name}}</text>
|
|
|
</view>
|
|
|
|
|
|
<view class='twoitem'>
|
|
|
<text>部门</text>
|
|
|
<text class='item_value' bindtap="powerDrawer" data-statu="open" data-x='部门' data-item='{{which}}'>{{department[departmentIndex].Name}}</text>
|
|
|
</view>
|
|
|
|
|
|
<view class='twoitem'>
|
|
|
<text>担保日期</text>
|
|
|
<picker class='item_value' mode="date" value="{{guaranteedate}}" start="2018-01-01" end="2037-12-31" bindchange="bindguaranteeDateChange">
|
|
|
<view class="picker">
|
|
|
{{guaranteedate}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
|
|
|
<view class='twoitem'>
|
|
|
<text>承诺回款日期</text>
|
|
|
<picker class='item_value1' mode="date" value="{{paydate}}" start="2018-01-01" end="2037-12-31" bindchange="bindpayDateChange">
|
|
|
<view class="picker">
|
|
|
{{paydate}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
|
|
|
<view class='twoitem'>
|
|
|
<text>担保金额</text>
|
|
|
<text class='item_value'>{{guaranteeMoney}}</text>
|
|
|
</view>
|
|
|
|
|
|
<view class="custmer_list">
|
|
|
<view class="custmer_list_view_main" wx:for="{{array}}" wx:key="item" wx:for-index="idx">
|
|
|
<view class='tips'>担保明细{{idx+1}}</view>
|
|
|
<view class='custmer_list_view' data-Data='{{item}}'>
|
|
|
<view class='itemview_h'>
|
|
|
<text class='text_id'>{{item.DmoTypeIDName}}No.{{item.BillID}}</text>
|
|
|
<text class='text_id'>金额:{{item.Value}}</text>
|
|
|
</view>
|
|
|
<view class='itemview_h'>
|
|
|
<text class='text_name'>{{item.Customer_Name}}</text>
|
|
|
<text class='text_name'>日期:{{item.Date}}</text>
|
|
|
</view>
|
|
|
<!-- <view class='itemview_h'>
|
|
|
<text class='text_id'>{{item.BillTypeName}}No.{{item.ID}}</text>
|
|
|
<text class='text_id'>金额:{{item.Money}}</text>
|
|
|
</view>
|
|
|
<view class='itemview_h'>
|
|
|
<text class='text_name'>{{item.Customer_Name}}</text>
|
|
|
<text class='text_name'>日期:{{item.Date}}</text>
|
|
|
</view> -->
|
|
|
</view>
|
|
|
<view class='view_line_main'>
|
|
|
<view class='view_line'></view>
|
|
|
</view>
|
|
|
<view class="delete {{showView?'show':'hide'}}" catchtap='deleteItem' data-idx='{{idx}}'>删除</view>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
<!-- <button class="submit {{showView?'':'hide'}}" catchtap='addBills'>添加担保明细</button>
|
|
|
<button class="submit {{showView?'':'hide'}}" catchtap='submitForm'>提交</button> -->
|
|
|
|
|
|
<view class="imageView {{showView?'':'hide'}}" catchtap='addBills'>
|
|
|
<image class='currentImage' src="/imgs/longWhiteBtn.png">
|
|
|
<view class='btnTextView'>
|
|
|
<text class='blueAddText'>添加担保明细</text>
|
|
|
</view>
|
|
|
</image>
|
|
|
</view>
|
|
|
|
|
|
<view class='bottomGroupView' wx:if="{{showForwardBtn}}">
|
|
|
<view class='imageViewNoMargin' catchtap='forwardBtnClick'>
|
|
|
<image class='currentImage' src="/imgs/blueBtn.png">
|
|
|
<view class='btnTextView'>
|
|
|
<text class='btnText'>提交</text>
|
|
|
</view>
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class='imageViewNoMargin' catchtap='submitForm'>
|
|
|
<image class='currentImage' src="/imgs/blueBtn.png">
|
|
|
<view class='btnTextView'>
|
|
|
<text class='btnText'>保存</text>
|
|
|
</view>
|
|
|
</image>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class='imageViewNoMargin' wx:else catchtap='submitForm'>
|
|
|
<image class='currentImage' src="/imgs/longBlueBtn.png">
|
|
|
<view class='btnTextView'>
|
|
|
<text class='btnText'>保存</text>
|
|
|
</view>
|
|
|
</image>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
<view class="drawer_screen" bindtap="powerDrawer" data-item='{{which}}' data-statu="close" wx:if="{{showModalStatus}}"></view>
|
|
|
<!--content-->
|
|
|
<!--使用animation属性指定需要执行的动画-->
|
|
|
<view animation="{{animationData}}" data-item='{{which}}' class="drawer_box" wx:if="{{showModalStatus}}">
|
|
|
<!--drawer content-->
|
|
|
<view class='top' data-item='{{which}}'>
|
|
|
<input data-item='{{which}}' class="sousuo" bindinput="select" placeholder='请输入搜索'>
|
|
|
</input>
|
|
|
</view>
|
|
|
<view class="drawer_content">
|
|
|
<block wx:for="{{currency}}" wx:key="item" wx:for-index="idx">
|
|
|
<view class="grid1" data-item='{{which}}' catchtap='itemclick' data-idx='{{idx}}' data-ID="{{item.ID}}" data-Name='{{item.Name}}'>
|
|
|
<text class='text3'>{{item.Name}}</text>
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
<view class="btn_ok" bindtap="powerDrawer" data-statu="close">取消</view>
|
|
|
</view>
|
|
|
|
|
|
</scroll-view>
|