Browse Source

no message

feature/v2.1
xpz2018 4 years ago
parent
commit
5c9444e9bd
3 changed files with 7 additions and 4 deletions
  1. 4
      pages/process/order-logger/index.wxml
  2. 3
      pages/process/outside-price/index.js
  3. 4
      pages/process/outside-price/index.wxml

4
pages/process/order-logger/index.wxml

@ -4,12 +4,12 @@
</cu-custom>
<view class="bg-white" style="padding-top:32rpx" wx:if="{{form && form.length}}">
<van-steps direction="column" dot="{{true}}" step-min-height="128">
<van-steps direction="column" dot="{{true}}" active-index="{{form.length - 1}}" step-min-height="128">
<van-step wx:for="{{form}}" wx:key="index" title="{{item.operatorDesc}}" describe="{{item.operatorUserName + ' ' + item.createTime}}"></van-step>
</van-steps>
</view>
<view class="list-empty" style="padding-top:96rpx" wx:elif="{{!loading}}">
<image class="img-empty" src="/assets/image/list_empty.png"></image>
<view class="text-empty">暂无数据</view>
<view class="text-empty">暂无日志</view>
</view>
<notification id="qn-notification"/>

3
pages/process/outside-price/index.js

@ -51,6 +51,9 @@ Scene({
util.showToast(err)
})
},
orderLogger: function(){
wx.navigateTo({url: `/pages/process/order-logger/index?type=1&orderId=${this.data.id}` })
},
onProductChange: function({detail}){
this.data.form.productCategoryInfos[detail.index] = detail.item
var totalNetWeight = 0

4
pages/process/outside-price/index.wxml

@ -11,11 +11,11 @@
</view>
<view class="text-white" style="padding: 12rpx 0rpx 12rpx 12rpx" bindtap="eidtForm" wx:if="{{admin}}">修改订单</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.orderStatus == 1}}">
<view class="flex flex-center info_status" style="justify-content: flex-start;" bindtap="orderLogger" wx:elif="{{form.orderStatus == 1}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待定价</view>
</view>
<view class="flex flex-justify info_status" wx:elif="{{form.orderStatus == 3}}">
<view class="flex flex-justify info_status" wx:elif="{{form.orderStatus == 3}}" bindtap="orderLogger">
<view class="flex">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_uncheck.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待过磅审核</view>

Loading…
Cancel
Save