Browse Source

no message

feature/v1.4
xpz2018 5 years ago
parent
commit
7ba1caccf3
24 changed files with 263 additions and 49 deletions
  1. 2
      api/ztb.js
  2. 1
      app.json
  3. 1
      assets/image/icon_pdf.svg
  4. 2
      pages/agent/ability-item/index.js
  5. 2
      pages/agent/agent-item/index.js
  6. 12
      pages/agent/appointment/index.js
  7. 2
      pages/agent/factory-detail/index.js
  8. 83
      pages/agent/item-info/index.js
  9. 15
      pages/agent/item-info/index.json
  10. 53
      pages/agent/item-info/index.wxml
  11. 16
      pages/agent/item-info/index.wxss
  12. 6
      pages/agent/order-list/index.wxml
  13. 26
      pages/agent/select-item/index.js
  14. 7
      pages/agent/select-item/index.json
  15. 16
      pages/agent/select-item/index.wxml
  16. 12
      pages/agent/select-item/index.wxss
  17. 9
      pages/agent/select-list/index.js
  18. 2
      pages/agent/select-list/index.json
  19. 18
      pages/agent/select-list/index.wxml
  20. 2
      pages/login/index.js
  21. 2
      pages/moment/new-list/index.js
  22. 2
      pages/moment/new-list/index.wxml
  23. 12
      pages/setting/authory/index.wxml
  24. 9
      pages/storage/order-info/index.wxml

2
api/ztb.js

@ -35,6 +35,7 @@ const getRelation = () => mGet(`/recycle-service/proxy-sell/get/relation`, null,
const postRelation = (code) => mPost(`/recycle-service/proxy-sell/bind/relation?code=${code}`, null, zconfig)
// /proxy-sell/get/proxy-order/{orderId}客户查看订单详情
const getProxyOrderInfo = (id) => mGet(`/recycle-service/proxy-sell/get/proxy-order/${id}`, null, zconfig)
const getProxyOrderItemInfo = (params) => mGet(`/proxy-sell/get/agency-sell-order-info/by-id`, params, zconfig)
// recycle-service/proxy-sell/get/proxy-order-list
const getProxyOrderList = (params) => mGet(`/recycle-service/proxy-sell/get/proxy-order-list`, params, zconfig)
// recycle-service/proxy-sell/create/order
@ -78,6 +79,7 @@ export {
getRelation,
postRelation,
getProxyOrderInfo,
getProxyOrderItemInfo,
getProxyOrderList,
createProxyOrder,
cancelProxyOrder,

1
app.json

@ -34,6 +34,7 @@
"pages/agent/order-list/index",
"pages/agent/focus-list/index",
"pages/agent/order-detail/index",
"pages/agent/item-info/index",
"pages/agent/appointment/index",
"pages/agent/select-list/index",
"pages/agent/result/index",

1
assets/image/icon_pdf.svg

@ -1 +0,0 @@
<svg t="1602157373813" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13463" width="128" height="128"><path d="M911.36 0H112.64C51.2 0 0 51.2 0 112.64v793.6C0 972.8 51.2 1024 112.64 1024h793.6c61.44 0 112.64-51.2 112.64-112.64V112.64C1024 51.2 972.8 0 911.36 0zM486.4 440.32c-15.36 40.96-25.6 107.52-51.2 158.72-10.24 30.72-10.24 25.6-20.48 40.96h5.12c76.8-20.48 128-25.6 179.2-35.84-10.24-10.24-20.48-15.36-25.6-20.48-30.72-35.84-40.96-46.08-87.04-143.36z m373.76 240.64c-10.24 10.24-25.6 15.36-51.2 15.36-40.96 0-81.92-10.24-138.24-40.96-102.4 10.24-204.8 25.6-261.12 40.96-5.12 0-5.12 0-10.24 5.12C327.68 824.32 276.48 870.4 230.4 870.4c-15.36 0-35.84-10.24-40.96-15.36l-10.24-10.24-5.12-5.12c-5.12-10.24-5.12-20.48-5.12-30.72 5.12-30.72 40.96-76.8 107.52-122.88 10.24-10.24 35.84-20.48 56.32-30.72 15.36-25.6 25.6-46.08 46.08-92.16 30.72-51.2 51.2-122.88 66.56-174.08-20.48-66.56-35.84-117.76-15.36-189.44 5.12-25.6 25.6-46.08 46.08-46.08h15.36c15.36 0 25.6 5.12 35.84 15.36 35.84 35.84 20.48 133.12 0 209.92v10.24c20.48 66.56 56.32 128 92.16 158.72 15.36 10.24 30.72 25.6 46.08 35.84 25.6-5.12 46.08-5.12 71.68-5.12 71.68 0 112.64 10.24 128 40.96 5.12 10.24 10.24 20.48 5.12 30.72 5.12 5.12 0 20.48-10.24 30.72z m-35.84-46.08c-5.12-5.12-20.48-20.48-102.4-20.48-5.12 0-15.36 0-20.48 5.12 40.96 20.48 81.92 30.72 107.52 30.72h10.24c5.12 0 5.12 0 5.12-5.12v-10.24z m-501.76 76.8c-10.24 5.12-20.48 15.36-25.6 15.36-40.96 40.96-66.56 76.8-71.68 102.4 25.6-10.24 61.44-46.08 97.28-117.76z m163.84-384c5.12-20.48 10.24-40.96 15.36-51.2v-10.24c5.12-30.72 5.12-51.2-5.12-66.56h-10.24l-5.12 5.12c-10.24 25.6-10.24 71.68 5.12 122.88z" fill="#008Aff" p-id="13464" data-spm-anchor-id="a313x.7781069.0.i29" class=""></path></svg>

2
pages/agent/ability-item/index.js

@ -40,7 +40,7 @@ Component({
return
}
if(!this.data.item.isOperations){
util.showToast('该纸厂已暂停接单,请联系相关负责人!')
util.showToast(this.data.item.manageNotifyMessage)
return
}
if(util.isEmpty(this.data.cateIndex)){

2
pages/agent/agent-item/index.js

@ -37,7 +37,7 @@ Component({
return
}
if(!this.data.item.isOperations){
util.showToast('该纸厂已暂停接单,请联系相关负责人!')
util.showToast(this.data.item.manageNotifyMessage)
return
}
if(util.isEmpty(this.data.cateIndex)){

12
pages/agent/appointment/index.js

@ -213,12 +213,12 @@ Scene({
this.setData({ vehicleList: this.data.vehicleList })
},
submitForm: function (e) {
if(!app.userInfo.isAuth) {
Dialog.alert({ title: '温馨提示', message: '您暂未实名认证,请实名认证后提交订单。' }).then(() => {
wx.navigateTo({ url: '/pages/setting/authory/index' })
})
return
}
// if(!app.userInfo.isAuth) {
// Dialog.alert({ title: '温馨提示', message: '您暂未实名认证,请实名认证后提交订单。' }).then(() => {
// wx.navigateTo({ url: '/pages/setting/authory/index' })
// })
// return
// }
if (util.isEmpty(this.data.form.totalEstimatedWeight)) {
util.showToast('请输入预估重量')
return

2
pages/agent/factory-detail/index.js

@ -98,7 +98,7 @@ Scene({
return
}
if(!this.data.factoryDetail.isOperations){
util.showToast('该纸厂已暂停接单,请联系相关负责人!')
util.showToast(this.data.factoryDetail.manageNotifyMessage)
return
}
var item = this.data.factoryDetail.paperCategoryList[this.data.cateIndex]

83
pages/agent/item-info/index.js

@ -0,0 +1,83 @@
// pages/message/detail/index.js
import Scene from '../../index/scene'
import Dialog from '../../../components/dialog/dialog'
import { getProxyOrderItemInfo, cancelProxyOrderItem } from "../../../api/ztb"
const util = require('../../../utils/util')
const math = require('../../../utils/math')
const event = require('../../../utils/event')
Scene({
/**
* 页面的初始数据
*/
data: {
id: null,
cancel: true,
orderInfo: null
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
if (options.id) {
this.data.id = options.id
this.fetchOrderInfo()
}
},
fetchOrderInfo: function () {
wx.showLoading({ title: '加载中', mask: true })
getProxyOrderItemInfo({orderItemId: this.data.id}).then(result => {
this.data.cancel = true
for (let index = 0; index < result.data.orderItems.length; index++) {
const element = result.data.orderItems[index]
if (element.weightnoteInfo && element.weightnoteInfo.id) {
// 全额
if (util.isEmpty(element.activityOrderAuditPassNum)) {
element.sumAmount = math.times(element.weightnoteInfo.settleUtiPrice, element.weightnoteInfo.settleWeight)
if (element.unitSurcharge!=null&element.surcharge !=null&&element.surcharge == math.times(element.weightnoteInfo.netWeight, element.unitSurcharge)) {
//按照净重,计算代卖费
element.orderType = 0
} else {
//按照结算重量计算代卖费
element.orderType = 1
}
} else {
if (element.weightnoteInfo.netWeight) {
element.proxyAmount = math.times(element.weightnoteInfo.netWeight, element.unitSurcharge)
}
}
this.data.cancel = false
}
if (element.activityOrderAuditPassNum == 2) {
element.finalSettlePrice = math.plus(element.finalPayMoney, element.preSettleMoney)
}
}
var orderInfoStep = result.data.orderItems
result.data.orderItems.forEach((element1, index1) => {
for (let i = 0; i <element1.orderItemTimeList.length; i++) {
orderInfoStep[index1].orderItemTimeList[i] = element1.orderItemTimeList[i]
}
})
this.setData({ orderInfo: result.data, cancel: this.data.cancel, orderInfoStep })
wx.hideLoading()
}).catch(err => {
wx.hideLoading()
util.showToast(err)
})
},
cancelOrder: function () {
Dialog.confirm({ title: '温馨提示', message: '确定预约的日期无法送货,需要销售重新到纸厂进程预约?' }).then(() => {
wx.showLoading({ title: '处理中', mask: true })
cancelProxyOrderItem(that.data.orderInfo.orderId).then(result => {
wx.hideLoading()
that.setData({ ['orderInfo.status']: 55 })
event.emit('ProxyMessage', { what: 400, desc: 'ProxyChange' })
util.showToast('订单已经取消')
}).catch(err => {
wx.hideLoading()
util.showToast(err)
})
})
}
})

15
pages/agent/item-info/index.json

@ -0,0 +1,15 @@
{
"usingComponents": {
"van-button": "/components/button/index",
"van-dialog": "/components/dialog/index",
"submit-layout": "/components/submit-layout/index",
"delivery-info": "/pages/agent/order-detail/delivery-info/index",
"item-money-info": "/pages/agent/order-detail/item-money-info/index",
"item-car-info": "/pages/agent/order-detail/item-car-info/index",
"order-info": "/pages/agent/order-detail/order-info/index",
"pound-info": "/pages/agent/order-detail/pound-info/index",
"reserve-info": "/pages/agent/order-detail/reserve-info/index",
"header-info": "/pages/agent/order-detail/header-info/index",
"notification": "/pages/message/notification/index"
}
}

53
pages/agent/item-info/index.wxml

@ -0,0 +1,53 @@
<!--pages/message/detail/index.wxml-->
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">代卖订单详情</view>
</cu-custom>
<!-- ------顶部信息------ -->
<header-info orderInfo="{{orderInfo}}" />
<!-- ------特殊信息------ -->
<view wx:if="{{orderInfo && (orderInfo.status == 50 || orderInfo.status == 51)}}">
<view class="flex flex-justify bg-white margin-top" style="padding:30rpx">
<image class="image-load" src="/assets/image/ico_address.png"></image>
<view style="margin-left:24rpx;flex:1">
<view class="text-sg">货物即将发往{{orderInfo.paperMillName}}</view>
<view class="text-sm text-gray" style="margin-top:8rpx">{{orderInfo.paperMillAddress}}</view>
</view>
</view>
<!-- 待预约状态下,预约信息放前面 -->
<view wx:if="{{orderInfo.status==50}}">
<reserve-info orderInfo="{{orderInfo}}" />
<view style="height:16rpx"> </view>
</view>
<!-- 待送货状态下送货信息放在前面 -->
<delivery-info orderInfo="{{orderInfo}}" wx:if="{{orderInfo.status==51}}" />
</view>
<!-- ------车辆信息------ -->
<!-- 总共多少辆车,单独放在顶部 -->
<view style="height:16rpx"> </view>
<!-- 每一辆车,进度信息和结算信息 -->
<view wx:for="{{orderInfoStep}}" wx:key="index" style="margin-top:{{index == 0 ? 0 : 16}}rpx">
<view class="bg-white text-df text-gray" style="padding:24rpx 30rpx">车辆信息{{index+1}}</view>
<!-- 进度 -->
<item-car-info orderInfo="{{orderInfo}}" item="{{item}}" />
<!-- 磅单 -->
<pound-info orderInfo="{{orderInfo}}" item="{{item}}" />
<!-- 金额 -->
<item-money-info orderInfo="{{orderInfo}}" item="{{item}}" />
</view>
<!-- ------送货信息------ -->
<!-- 预约和送货状态下的送货信息已在前面展示过了,所以不需要展示 -->
<delivery-info orderInfo="{{orderInfo}}" wx:if="{{orderInfo.status>51}}" />
<!-- ------预约信息------ -->
<!-- 预约和送货状态下的预约信息已在前面展示过了,所以不需要展示 -->
<reserve-info orderInfo="{{orderInfo}}" wx:if="{{orderInfo.status>51}}" />
<!-- ------订单信息------ -->
<order-info orderInfo="{{orderInfo}}" />
<view style="height:{{136}}rpx;"
wx:if="{{orderInfo && ((cancel && orderInfo.status == 51) || orderInfo.status == 50)}}"></view>
<submit-layout wx:if="{{orderInfo && ((cancel && orderInfo.status == 51) || orderInfo.status == 50)}}">
<van-button type="default" custom-style="height:88rpx;width:240rpx" bind:click="cancelOrder"
wx:if="{{orderInfo.status == 50 || orderInfo.status == 51}}">取消订单</van-button>
</submit-layout>
<van-dialog id="van-dialog" />
<notification id="qn-notification" />

16
pages/agent/item-info/index.wxss

@ -0,0 +1,16 @@
/* pages/message/detail/index.wxss */
.margin-top{
margin-top: 16rpx;
}
.margin-right{
margin-right: 24rpx;
}
.image-load {
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
}

6
pages/agent/order-list/index.wxml

@ -17,10 +17,8 @@
</view>
<view wx:for-item="pageItem" wx:for-index="pageIndex" wx:for="{{orderList}}" wx:key="pageIndex">
<view wx:for="{{pageItem}}" wx:key="index">
<view data-page="{{pageIndex}}" data-index="{{index}}">
<view style="height:20rpx" wx:if="{{pageIndex != 0 || index != 0 }}"></view>
<order-item item="{{item}}"></order-item>
</view>
<view style="height:20rpx" wx:if="{{pageIndex != 0 || index != 0 }}"></view>
<order-item item="{{item}}"></order-item>
</view>
</view>
<!--加载更多的UI-->

26
pages/agent/select-item/index.js

@ -0,0 +1,26 @@
// pages/message/index.js
Component({
options: {
addGlobalClass: true,
multipleSlots: true
},
properties: {
item: { type: Object, value: null },
itemId: { type: String, value: null }
},
methods: {
lookItem: function (e) {
var orderItem = this.data.item.orderItems[e.currentTarget.dataset.index]
var data = { millName: this.data.item.paperMillName, createTime: this.data.item.createTime }
data.categoryName = orderItem.paperCategoryName
data.plateNumber = orderItem.plateNumber
data.id = orderItem.id
const channel = this.getOpenerEventChannel()
if(!channel){
return
}
channel.emit('onCallback', { what: 62, detail: data })
wx.navigateBack()
}
}
})

7
pages/agent/select-item/index.json

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"van-cell": "/components/cell/index",
"van-image": "/components/image/index"
}
}

16
pages/agent/select-item/index.wxml

@ -0,0 +1,16 @@
<!--pages/message/index.wxml-->
<view class="bg-white flex" style="border-bottom:2rpx solid #f3f3f3;padding: 20rpx 32rpx">
<van-image use-loading-slot width="72rpx" height="72rpx" round lazy-load src="{{ item.logoImg || '/assets/image/icon_logo.png' }}">
<image class="image-load" slot="loading" src="/assets/image/icon_logo.png"></image>
</van-image>
<view style="margin-left:16rpx">
<view class="text-sg text-black">{{item.paperMillName}}</view>
<view class="text-sm text-gray">下单时间:{{item.createTime}}</view>
</view>
</view>
<van-cell clickable center is-link center wx:for-item="orderItem" wx:for-index="oindex" wx:for="{{item.orderItems}}" wx:key="oindex">
<view slot="title" class="flex {{ itemId != orderItem.id || 'text-blue'}}" data-index="{{oindex}}" bindtap="lookItem">
<text class="text-sg text-bold">车牌号码:{{orderItem.plateNumber}}</text>
<text class="text-sg text-bold" style="margin-left: 32rpx">「{{orderItem.paperCategoryName}}」</text>
</view>
</van-cell>

12
pages/agent/select-item/index.wxss

@ -0,0 +1,12 @@
/* pages/mall/shops/index.wxss */
.item-content {
background-color: white;
padding: 24rpx 32rpx;
}
.item-order {
padding: 8rpx 30rpx;
border-radius: 10rpx;
border: 1rpx solid #f3f3f3;
background-color: #f3f3f3;
}

9
pages/agent/select-list/index.js

@ -41,14 +41,7 @@ Scene({
this.data.requesting = true
getAgencyOrderList(this.data.form).then(result => {
if (result.data && result.data.records && result.data.records.length) {
var respList = []
for (let index = 0; index < result.data.records.length; index++) {
const element = result.data.records[index]
for (let i = 0; i < element.orderItems.length; i++) {
const item = element.orderItems[i]
respList.push({id: item.id, millName: element.paperMillName, categoryName: item.paperCategoryName, plateNumber: item.plateNumber, createTime: element.createTime, logoImg: element.logoImg })
}
}
var respList = result.data.records
let nowList = `orderList[${this.data.orderList.length}]`
var num = this.data.form.pageNum
var finished = ((num - 1) * this.data.form.pageSize + respList.length) >= result.data.total

2
pages/agent/select-list/index.json

@ -1,7 +1,7 @@
{
"usingComponents": {
"refresh-view": "/components/refresh-view/index",
"van-cell": "/components/cell/index",
"select-item": "/pages/agent/select-item/index",
"van-image": "/components/image/index",
"van-divider": "/components/divider/index",
"van-loading": "/components/loading/index",

18
pages/agent/select-list/index.wxml

@ -1,5 +1,4 @@
<!--pages/process/order-list/index.wxml-->
<wxs module="formate" src="../../formate.wxs"></wxs>
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">选择代卖单</view>
</cu-custom>
@ -13,19 +12,10 @@
<view class="text-empty">{{loading? '正在加载' : '暂无数据'}}</view>
</view>
<view wx:for-item="pageItem" wx:for-index="pageIndex" wx:for="{{orderList}}" wx:key="pageIndex">
<van-cell clickable center is-link center wx:for="{{pageItem}}" wx:key="index">
<view slot="title" class="flex flex-justify" data-page="{{pageIndex}}" data-index="{{index}}" bindtap="lookItem">
<van-image round width="80rpx" height="80rpx" src="{{ item.logoImg || '/assets/image/icon_logo.png' }}" />
<view style="margin-left:18rpx;width:100%;flex:1">
<view class="flex {{ itemId != item.id || 'text-blue'}}">
<!-- <text class="text-sg text-bold text-cut" style="width:220rpx">{{item.millName}}</text> -->
<text class="text-sg text-bold">{{item.plateNumber}}</text>
<text class="text-sg text-bold" style="margin-left: 32rpx">「{{item.categoryName}}」</text>
</view>
<view class="text-sm text-gray" style="line-height:32rpx">下单纸厂:{{item.millName || ''}}</view>
</view>
</view>
</van-cell>
<view wx:for="{{pageItem}}" wx:key="index">
<view style="height:20rpx" wx:if="{{pageIndex != 0 || index != 0 }}"></view>
<select-item item="{{item}}" item-id="{{itemId}}"></select-item>
</view>
</view>
<!--加载更多的UI-->
<van-divider content-position="center" wx:if="{{ form.pageNum > 1}}" custom-style="padding:0rpx 120rpx">

2
pages/login/index.js

@ -129,7 +129,7 @@ Page({
return
}
headerFactoryId(app.userInfo.factoryId)
// wx.redirectTo({ url: '/pages/setting/authory/index' })
// wx.redirectTo({ url: '/pages/agent/select-list/index' })
wx.redirectTo({ url: '/pages/index/index' })
} else {
wx.redirectTo({ url: '/pages/client/index/index' })

2
pages/moment/new-list/index.js

@ -39,7 +39,7 @@ Scene({
return
}
if(!e.currentTarget.dataset.operations){
util.showToast('该纸厂已暂停接单,请联系相关负责人!')
util.showToast(e.currentTarget.dataset.msg)
return
}
wx.navigateTo({url: `/pages/agent/appointment/index?id=${e.currentTarget.dataset.fcid}&categoryId=${e.currentTarget.dataset.paperid}`})

2
pages/moment/new-list/index.wxml

@ -79,7 +79,7 @@
class="text-df {{cell.curDeductionPoint>0?'text-red':(cell.curDeductionPoint<0?'text-green':'text-black')}}"
style="flex:1;text-align: center">{{cell.curDeductionPoint|| 0}}</view>
<view class="text-df text-balck" style="flex:1;text-align: center" id="toDmai"
data-fcId="{{item.paperMillId}}" data-paperId="{{cell.categoryId}}" data-operations="{{item.isOperations}}" catchtap="toPage">
data-fcId="{{item.paperMillId}}" data-paperId="{{cell.categoryId}}" data-operations="{{item.isOperations}}" data-msg="{{item.manageNotifyMessage}}" catchtap="toPage">
<view class="son-table-btn">代卖</view>
</view>
</view>

12
pages/setting/authory/index.wxml

@ -5,7 +5,7 @@
<view class="cu-bar bg-white" style="min-height:90rpx" wx:if="{{step == 0}}">
<view class="action" style="color:#333333">
<!-- <text class="text-red" style="padding-top: 20rpx;font-size: 40rpx;">*</text> -->
<text class="text-red" style="padding-top: 20rpx;font-size: 40rpx;">*</text>
<text>请拍摄/上传本人身份证(头像面)</text>
</view>
</view>
@ -24,7 +24,7 @@
</view>
<view class="cu-bar bg-white" style="min-height:90rpx" wx:if="{{step == 0}}">
<view class="action" style="color:#333333">
<!-- <text class="text-red" style="padding-top: 20rpx;font-size: 40rpx;">*</text> -->
<text class="text-red" style="padding-top: 20rpx;font-size: 40rpx;">*</text>
<text>请拍摄/上传本人身份证(国徽面)</text>
</view>
</view>
@ -49,20 +49,20 @@
<text class="text-red" style="padding-top: 20rpx;font-size: 40rpx;">*</text>
<text>姓名:</text>
</view>
<input id="realName" placeholder="请输入真实姓名" placeholder-style="color:#aaa" value="{{form.realName}}" bind:input="bindInput"/>
<input id="realName" placeholder="请输入真实姓名" value="{{form.realName}}" bind:input="bindInput"/>
</view>
<view class="cu-form-group" style="min-height:100rpx;padding:0rpx;border-bottom: 1px solid #eee">
<view class="label flex flex-center" style="margin-left:12rpx;margin-right:24rpx;width:200rpx;justify-content: flex-start">
<text class="text-red" style="padding-top: 20rpx;font-size: 40rpx;">*</text>
<text>身份证号码:</text>
</view>
<input id="certificateNo" placeholder="请输入身份证号码" placeholder-style="color:#aaa" value="{{form.certificateNo}}" bind:input="bindInput"/>
<input id="certificateNo" placeholder="请输入身份证号码" value="{{form.certificateNo}}" bind:input="bindInput"/>
</view>
</view>
<view style="padding: 36rpx 32rpx" wx:if="{{step == 0}}">
<van-button block bind:click="nextStep">手动输入</van-button>
<view style="margin-top:48rpx"></view>
<!-- <van-button block bind:click="nextStep">手动输入</van-button>
<view style="margin-top:48rpx"></view> -->
<van-button block type="info" loading="{{loging}}" bind:click="submitImage">提交</van-button>
</view>
<view class="flex flex-direction" style="padding: 36rpx 32rpx;margin-top:96rpx" wx:if="{{step == 1}}">

9
pages/storage/order-info/index.wxml

@ -32,13 +32,16 @@
<view class="text-gray">{{orderInfo.plateNumber || ''}}</view>
</view>
</van-cell>
<van-cell wx:if="{{orderInfo.driverName}}">
<van-cell center wx:if="{{orderInfo.driverName}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">司机姓名</view>
<view class="text-gray">{{ orderInfo.driverName || ''}}</view>
</view>
</van-cell>
<!-- <van-field label="备注" type="textarea" input-align="right" readonly autosize border="{{ false }}" /> -->
<van-cell clickable is-link wx:if="{{orderInfo.agencySellOrderItemId}}" url="/pages/agent/item-info/index?id={{orderInfo.agencySellOrderItemId}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">代卖订单详情</view>
</view>
</van-cell>
</view>
<view class="margin-top"></view>
<van-collapse value="{{ activeNames }}" bind:change="onChange" wx:if="{{poundInfo}}">

Loading…
Cancel
Save