@ -71,7 +71,7 @@ Scene({
// 需要手动对 checked 状态进行更新
this.setData({ ['form.isDefault']: detail ? 1 : 0 })
},
printOrder: function(){
printOrderInfo: function(){
wx.showLoading({ title: '正在处理', mask: true })
printOrder({id: this.data.form.id, printType: 1}).then(result => {
wx.hideLoading()
@ -176,7 +176,7 @@
</submit-layout>
<view style="border-radius: 50rpx;position:fixed;bottom:160rpx;right:50rpx" wx:if="{{form && (form.status == 3 || form.status == 4 || form.status == 42)}}">
<van-button round type="info" bind:click="printOrder" custom-style="width: 100rpx;height: 100rpx;">
<van-button round type="info" bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;">
<van-icon name="printer" size="30px"/>
</van-button>
</view>
@ -57,7 +57,7 @@ Scene({
util.showToast(err)
})
printOrder({id: this.data.id, printType: 2}).then(result => {
@ -209,7 +209,7 @@
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx" wx:if="{{form && form.orderStatus != 6}}">