订单详情-邀请签名修改
This commit is contained in:
@@ -38,6 +38,7 @@ Page({
|
||||
ckcarInfo:[],//随车资料选中内容
|
||||
carToolList:[],//随车随车工具选项
|
||||
ckcarTool:[],//随车工具选中内容
|
||||
nextCode:false,
|
||||
},
|
||||
onLoad: function (options) {
|
||||
for (let key in options) {
|
||||
@@ -638,6 +639,14 @@ Page({
|
||||
optShowCode() {
|
||||
this.setData({
|
||||
isShowCode:!this.data.isShowCode,
|
||||
nextCode:false,
|
||||
})
|
||||
},
|
||||
|
||||
//生成合同
|
||||
optNextCode() {
|
||||
this.setData({
|
||||
nextCode:true,
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -258,16 +258,44 @@
|
||||
</lcb-msg>
|
||||
|
||||
<lcb-msg isShow="{{isShowCode}}">
|
||||
<view slot="content">
|
||||
<view class="inner40">
|
||||
<view class="font-36 text-center">邀请客户扫码签名</view>
|
||||
<view class="pt40 text-center">
|
||||
<image class='inline-block img-250x250' lazy-load="{{true}}" mode="aspectFit" src="{{info.admin_img}}"></image>
|
||||
<view slot="content">
|
||||
<block wx:if="{{nextCode}}">
|
||||
<view class="inner40">
|
||||
<view class="font-36 text-center">扫码生成合同</view>
|
||||
<view class="pt20 text-center">
|
||||
<image class='inline-block img-250x250' show-menu-by-longpress='true' lazy-load="{{true}}" mode="aspectFit" src="{{info.my_img}}"></image>
|
||||
</view>
|
||||
<view class="pt20 font-24 color-999 text-center">客户合同未生成时可让客户扫码生成</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pl60 pr60 pb50 text-center font-32 color-666">
|
||||
<button bindtap="optShowCode" class="inline-block wp50 btn-36afa2 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">我知道了</button>
|
||||
</view>
|
||||
<view class="pl60 pr60 pb50 text-center font-32 color-666">
|
||||
<button bindtap="optShowCode" class="inline-block wp50 btn-36afa2 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">我知道了</button>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:elif="{{info.status>0}}">
|
||||
<view class="inner40">
|
||||
<view class="font-36 text-center">邀请客户扫码签名</view>
|
||||
<view class="pt20 text-center">
|
||||
<image class='inline-block img-250x250' show-menu-by-longpress='true' lazy-load="{{true}}" mode="aspectFit" src="{{info.my_img}}"></image>
|
||||
</view>
|
||||
<view class="pt20 font-24 color-999 text-center">邀请客户扫码签订合同</view>
|
||||
</view>
|
||||
<view class="pl60 pr60 pb50 text-center font-32 color-666">
|
||||
<button bindtap="optShowCode" class="inline-block wp50 btn-36afa2 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">我知道了</button>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:else>
|
||||
<view class="inner40">
|
||||
<view class="font-36 text-center">邀请客户扫码签名</view>
|
||||
<view class="pt20 text-center">
|
||||
<image class='inline-block img-250x250' show-menu-by-longpress='true' lazy-load="{{true}}" mode="aspectFit" src="{{info.admin_img}}"></image>
|
||||
</view>
|
||||
<view class="pt20 font-24 color-999 text-center">邀请客户扫码签订合同</view>
|
||||
<view class="pt10 font-24 color-999 text-center">(*客户合同未生成时“生成合同”)</view>
|
||||
</view>
|
||||
<view class="pl60 pr60 pb50 text-center font-32 color-666 fn-flex">
|
||||
<view bindtap="optNextCode" class="fn-flex-item bg-36afa2 pt15 pb15 ml20 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">生成合同</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</lcb-msg>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user