Commit 6adc4d94 by 张立顺

fix bug

1 parent 009a9efe
<!--packageCrowdFunding/pages/paymentSuccess/paymentSuccess.wxml-->
<view class="successPay">
<view class="tips">支付成功</view>
<view class="sum">订单支付成功,实付{{orderDetail.totalPrice}}元</view>
<view class="sum">订单支付成功,实付{{orderDetail.finalPrice}}元</view>
</view>
<view class="orderInfo">
<activity-info OderType="pay" orderInfo="{{orderDetail}}" />
......
......@@ -3,7 +3,7 @@
<view class="payInfo">
<view class="payCom">
<view class="title">支付成功</view>
<view class="payPrice">订单支付成功,实付 {{orderDetail.totalPrice}} 元</view>
<view class="payPrice">订单支付成功,实付 {{orderDetail.finalPrice}} 元</view>
</view>
<view class="tips">
<view class="title">温馨提示</view>
......@@ -20,11 +20,10 @@
</view>
</view>
<view class="order-info">
<order-info OderType="detail" orderInfo="{{orderDetail}}" />
<order-info OderType="detail" orderInfo="{{orderDetail}}" />
</view>
<view class="btn_box">
<Gl-Button-Group bindbtnTap="btnTap" wx:if="{{showBtnFlag}}" textNameObj="{{textNameObj}}" />
<Gl-Button-Group bindbtnTap="btnTap" wx:if="{{showBtnFlag}}" textNameObj="{{textNameObj}}" />
</view>
<!-- 上传合同协议 -->
<zy-pay-popup show="{{showZyPopup}}" wx:if="{{showZyPopup}}" onlinePaymentFlag="{{true}}" bindconfirm="zyPayConfirm"></zy-pay-popup>
<zy-pay-popup show="{{showZyPopup}}" wx:if="{{showZyPopup}}" onlinePaymentFlag="{{true}}" bindconfirm="zyPayConfirm"></zy-pay-popup>
\ No newline at end of file
......@@ -30,9 +30,9 @@
class="item-disabled"
border
valueAlign="right"
label="原错误订单编码"
label="原错误订单编号"
labelWidth="var(--fontSize280)"
value="{{ orderInfo.orderId }}"
value="{{ orderInfo.payId }}"
/>
<gl-cell
class="item-disabled"
......@@ -40,7 +40,7 @@
valueAlign="right"
label="原错误订单总价"
labelWidth="var(--fontSize280)"
value="¥{{ orderInfo.quotedPriceUpdate }}"
value="¥{{ orderInfo.finalPrice }}"
/>
<gl-cell
border
......
......@@ -112,6 +112,7 @@ Page({
'payPrice',
'insurancePrice',
'quotedPriceUpdate',
'finalPrice',
'minEquityPrice'
],
firstEnter: true,
......@@ -574,14 +575,12 @@ Page({
}
// 错误订单提交校验
if (orderInfo.resetOrder) {
let originalPrice = Number(orderInfo.quotedPriceUpdate || 0)
let originalPrice = Number(orderInfo.finalPrice || 0)
let transactionPrice = NP.divide(this.data.totalFee || 0, 100)
let currentTotal = Number(orderInfo.total || 0)
if (NP.plus(originalPrice, transactionPrice) != currentTotal) {
return wx.$util.showToast(
'【原错误订单总价+关联交易流水】必须等于【商品总价】'
)
return wx.$util.showToast('原错误订单总价+关联交易流水必须等于商品总价')
}
} else {
// 正常订单校验总价不能小于0.01
......@@ -729,6 +728,7 @@ Page({
orderInfo.quotedPriceUpdate = this.multipliedByHundred(
orderInfo.quotedPriceUpdate
)
orderInfo.finalPrice = this.multipliedByHundred(orderInfo.finalPrice)
// console.log(orderInfo.quotedPriceUpdate );
// debugger
orderInfo.minEquityPrice = this.multipliedByHundred(
......@@ -963,6 +963,7 @@ Page({
tableInfo.quotedPriceUpdate = this.divideByHundred(
tableInfo.quotedPriceUpdate
)
tableInfo.finalPrice = this.divideByHundred(tableInfo.finalPrice)
tableInfo.vdQuotationGoodsList = tableInfo.vdQuotationGoodsList.map(
item => {
......
......@@ -314,7 +314,7 @@ Page({
})
getRecruitDetailAPI({
id: '341'
id
})
.then(res => {
let {
......@@ -386,7 +386,7 @@ Page({
recruitmentInfoConfig: filteredRecruitmentInfoConfig
})
})
.catch(err => { })
.catch(err => {})
},
/**
* 处理按钮点击
......@@ -666,35 +666,35 @@ Page({
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() { },
onReady() {},
/**
* 生命周期函数--监听页面显示
*/
onShow() { },
onShow() {},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() { },
onHide() {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() { },
onUnload() {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() { },
onPullDownRefresh() {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() { },
onReachBottom() {},
/**
* 用户点击右上角分享
*/
onShareAppMessage() { }
onShareAppMessage() {}
})
......@@ -8,15 +8,7 @@
<view class="search-box">
<view class="search-input">
<image src="/images/search.png" class="search-icon" />
<input
type="text"
placeholder="客户姓名/商品名称/订单编号/手机号"
class="input"
value="{{ keyword }}"
placeholder-class="input-placeholder"
bindinput="input"
bindconfirm="search"
/>
<input type="text" placeholder="客户姓名/商品名称/订单编号/手机号" class="input" value="{{ keyword }}" placeholder-class="input-placeholder" bindinput="input" bindconfirm="search" />
<block wx:if="{{ keyword }}">
<image src="/images/clear.png" class="search-clear" bindtap="clear" />
</block>
......@@ -32,40 +24,14 @@
</view>
<!-- 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销 -->
<block wx:if="{{ flag }}">
<scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{ true }}"
bindrefresherrefresh="search"
bindscrolltolower="scrollonReachBottom"
bindscroll="onPageScroll"
class="list"
style="height:calc(100vh - {{ navBarHeight }}px - var(--fontSize160));"
refresher-threshold="104"
refresher-triggered="{{ triggered }}"
>
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{ true }}" bindrefresherrefresh="search" bindscrolltolower="scrollonReachBottom" bindscroll="onPageScroll" class="list" style="height:calc(100vh - {{ navBarHeight }}px - var(--fontSize160));" refresher-threshold="104" refresher-triggered="{{ triggered }}">
<block wx:if="{{ list.length > 0 }}">
<block wx:for="{{ list }}" wx:key="index">
<block wx:for="{{ item }}" wx:for-item="li" wx:for-index="ind" wx:key="ind">
<view
style="{{ li.txtStyle }}"
class="touch-item {{ li.isTouchMove ? 'touch-move-active' : '' }}"
data-ind="{{ ind }}"
data-index="{{ index }}"
>
<view style="{{ li.txtStyle }}" class="touch-item {{ li.isTouchMove ? 'touch-move-active' : '' }}" data-ind="{{ ind }}" data-index="{{ index }}">
<!-- 广汇订单出库成功 -->
<image wx:if="{{ li.outboundStatus == 4 }}" class="stockIcon" src="../../images/stockIcon.png" />
<view
class="item content"
catchtap="jump"
data-ind="{{ ind }}"
data-index="{{ index }}"
bindtouchstart="touchstart"
bindtouchmove="touchmove"
bindtouchend="touchE"
data-name="{{ li.status == 3 ? 'confirmOrder' : li.status == 1 ? 'createOrder' : 'orderDetail' }}"
data-item="{{ li }}"
>
<view class="item content" catchtap="jump" data-ind="{{ ind }}" data-index="{{ index }}" bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchE" data-name="{{ li.status == 3 ? 'confirmOrder' : li.status == 1 ? 'createOrder' : 'orderDetail' }}" data-item="{{ li }}">
<view class="status text-center" style="color:{{ li.statuscolor }};background-color:{{li.statusbackground }};">
<block wx:if="{{ li.status == 1||li.status == 3 }}">
<block wx:if="{{ status[li.status].background }}">
......@@ -82,23 +48,12 @@
<view class="name">
<!-- <image src="/images/avatar.png" /> -->
<view class="name-text text-hide">{{li.customer.customerName}}</view>
<image
class="name-sex-icon"
src="{{ IMG_URL}}{{li.customer.customerSex == 1 ? 'miniProgram/icon-man.png' : 'miniProgram/icon-woman.png' }}"
mode=""
/>
<image class="name-sex-icon" src="{{ IMG_URL}}{{li.customer.customerSex == 1 ? 'miniProgram/icon-man.png' : 'miniProgram/icon-woman.png' }}" mode="" />
</view>
<view class="goods-list" style="padding-bottom:{{ li.subOrderList.length<1?0:'' }}">
<block wx:if="{{ li.subOrderList.length }}">
<block wx:for="{{ li.subOrderList }}" wx:key="sindex" wx:for-item="i" wx:for-index="sindex">
<view
catch:tap="foldUp"
data-item="{{ i }}"
data-index="{{ sindex }}"
data-listindex="{{ ind }}"
class="goods {{ filter.subStatus(i.constructionStatus) }} {{i.packageGoodsOrderList?'pullDownArrow':''}} {{i.foldUp?'showAllGoodsListFlag':'' }}"
wx:if="{{ li.showAllGoodsListFlag ? true : sindex < 2 }}"
>
<view catch:tap="foldUp" data-item="{{ i }}" data-index="{{ sindex }}" data-listindex="{{ ind }}" class="goods {{ filter.subStatus(i.constructionStatus) }} {{i.packageGoodsOrderList?'pullDownArrow':''}} {{i.foldUp?'showAllGoodsListFlag':'' }}" wx:if="{{ li.showAllGoodsListFlag ? true : sindex < 2 }}">
<view class="goods-name text-hide">
{{filter.replaceItemText(i.upgradeGoodsAlias) ||filter.replaceItemText(i.upgradeGoodsName) || i.packageName||''}}
</view>
......@@ -108,10 +63,7 @@
</view>
</view>
<!-- 显示套餐子商品 -->
<view
class="packgoodsListCon"
wx:if="{{ i.packageGoodsOrderList&&!i.foldUp&&( li.showAllGoodsListFlag ? true : sindex < 2) }}"
>
<view class="packgoodsListCon" wx:if="{{ i.packageGoodsOrderList&&!i.foldUp&&( li.showAllGoodsListFlag ? true : sindex < 2) }}">
<block wx:for="{{ i.packageGoodsOrderList }}" wx:key="packindex" wx:for-item="packchild" wx:for-index="packindex">
<view class="goods {{ filter.subStatus(packchild.constructionStatus) }}">
<view class="goods-name text-hide">
......@@ -134,10 +86,11 @@
</block>
</view>
<!-- 错误订单修复显示这个两个字段 -->
<view class="error-order-info" wx:if="{{ li.associateOrderCode != 11 && li.associateOrderCode }}">
<!-- <view>{{li.associatedOrderCode != 11}}{{li.associatedOrderCode}}</view> -->
<view class="error-order-info" wx:if="{{ li.associatedOrderCode && li.status!=11 }}">
<view class="info-row">
<view class="info-label">原错误订单编号</view>
<view class="info-value">{{li.associateOrderCode}}</view>
<view class="info-value">{{li.associatedOrderCode}}</view>
</view>
<view class="info-row">
<view class="info-label">原错误订单总价</view>
......@@ -213,14 +166,7 @@
<!-- footer -->
</view>
<block wx:if="{{ isMake }}">
<view
wx:if="{{ !li['confirmIndex'] }}"
class="del"
catchtap="delBtn"
data-ind="{{ ind }}"
data-item="{{ li }}"
data-index="{{ index }}"
>
<view wx:if="{{ !li['confirmIndex'] }}" class="del" catchtap="delBtn" data-ind="{{ ind }}" data-item="{{ li }}" data-index="{{ index }}">
<view>撤销</view>
<view>工单</view>
</view>
......@@ -272,23 +218,12 @@
<gl-image class="icon" src="/miniProgram/order3.png"></gl-image>
战败下单
</view>
<view
wx:if="{{ isSettingExpiredTraffic && !isScan }}"
class="modalbox cancle {{ selectType == 3?'act': '' }}"
bindtap="selectType"
data-type="3"
>
<view wx:if="{{ isSettingExpiredTraffic && !isScan }}" class="modalbox cancle {{ selectType == 3?'act': '' }}" bindtap="selectType" data-type="3">
<gl-image class="icon" src="/miniProgram/order4.png"></gl-image>
失效客户
</view>
</view>
</modal>
<recording-order-popup wx:if="{{ showOrderpop }}" show="{{ showOrderpop }}" bind:success="navigator" title="请选择交易参考号" />
<order-prompt-popup
wx:if="{{ showPromptDialog }}"
show="{{ showPromptDialog }}"
bindcancel="promptCancel"
bindconfirm="promptHandleConfirm"
sceneObj="{{ sceneObj }}"
></order-prompt-popup>
<order-prompt-popup wx:if="{{ showPromptDialog }}" show="{{ showPromptDialog }}" bindcancel="promptCancel" bindconfirm="promptHandleConfirm" sceneObj="{{ sceneObj }}"></order-prompt-popup>
<study-permission-modal id="customModal" />
\ No newline at end of file
module.exports = {
data: {
orderObj: [
{
label: '工单编号:',
key: 'orderCode',
copy: true
},
{
label: '工单时间:',
key: 'time',
dateChange: true
},
{
label: '工单状态:',
key: 'status',
color: '#14CC68',
status: true
},
{
label: '支付方式:',
key: 'payType',
payType: true
}
],
customerObj: [
{
label: '客户姓名:',
key: 'customerName'
},
{
label: '性别:',
key: 'customerSex',
enum: {
1: '男',
2: '女'
}
},
{
label: '手机号:',
key: 'customerPhone',
color: '#347BFF',
callBack: 'makePhoneCall',
copy: true
},
{
label: '车型:',
key: 'carType'
},
{
label: '车架号:',
key: 'standNo'
},
{
label: '车牌号:',
key: 'plateNumber'
},
{
label: '是否体验:',
key: 'experienceFlag',
enum: {
Y: '是',
N: '否'
}
},
{
label: '销售顾问:',
arr: ['merchantName', 'employeeName']
},
{
label: '转化专员:',
arr: ['sellerMerchantName', 'sellerName']
},
{
label: '备注:',
key: 'remark'
}
],
payType: {
0: '战败',
1: '微信支付',
2: '门店收款',
3: 'pos机支付',
4: '支付宝支付',
5: '嘀加收款',
6: '对公转账',
7: '其它收款'
},
orderType: [
{
name: '全部',
active: true,
value: []
},
{
name: '升级下单',
value: [1, 2, 3, 4, 6]
},
{
name: '核销抵扣',
value: [5]
}
],
status: {
12: {
text: '已退款',
color: '#8F959E'
},
11: {
text: '错误订单',
color: '#EB4E4E',
background: '#fdeded'
},
14: {
text: '审批中',
color: '#FF9D0A',
background: '#fff5e6'
},
10: {
text: '已关闭',
color: '#8F959E'
},
9: {
text: '已撤销',
color: '#8F959E'
},
1: {
text: '待跟进',
color: '#FF9D0A',
background: '#FFF5E6'
},
2: {
text: '战败',
color: '#F24724',
background: '#FDECE9'
},
3: {
text: '待支付',
color: '#FF9D0A',
background: '#FFF5E6'
},
4: {
text: '已支付',
color: '#35C376',
background: '#EAF9F1'
},
6: {
text: '已评价',
color: '#347BFF',
background: '#EAF1FF'
}
},
// 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销
statusList: [
{
name: '待跟进',
value: [1]
},
{
name: '已支付',
value: [4]
},
{
name: '待支付',
value: [3]
},
{
name: '已撤销',
value: [9]
},
{
name: '战败',
value: [2]
},
{
name: '已评价',
value: [6]
},
{
name: '已关闭',
value: [10]
},
{
name: '审批中',
value: [14]
},
{
name: '错误订单',
value: [11]
}
],
grassInfo: {},
orderCode: '',
userInfo: {}
}
data: {
orderObj: [
{
label: '工单编号:',
key: 'orderCode',
copy: true
},
{
label: '工单时间:',
key: 'time',
dateChange: true
},
{
label: '工单状态:',
key: 'status',
color: '#14CC68',
status: true
},
{
label: '支付方式:',
key: 'payType',
payType: true
}
],
customerObj: [
{
label: '客户姓名:',
key: 'customerName'
},
{
label: '性别:',
key: 'customerSex',
enum: {
1: '男',
2: '女'
}
},
{
label: '手机号:',
key: 'customerPhone',
color: '#347BFF',
callBack: 'makePhoneCall',
copy: true
},
{
label: '车型:',
key: 'carType'
},
{
label: '车架号:',
key: 'standNo'
},
{
label: '车牌号:',
key: 'plateNumber'
},
{
label: '是否体验:',
key: 'experienceFlag',
enum: {
Y: '是',
N: '否'
}
},
{
label: '销售顾问:',
arr: ['merchantName', 'employeeName']
},
{
label: '转化专员:',
arr: ['sellerMerchantName', 'sellerName']
},
{
label: '备注:',
key: 'remark'
}
],
payType: {
0: '战败',
1: '微信支付',
2: '门店收款',
3: 'pos机支付',
4: '支付宝支付',
5: '嘀加收款',
6: '对公转账',
7: '其它收款'
},
orderType: [
{
name: '全部',
active: true,
value: []
},
{
name: '升级下单',
value: [1, 2, 3, 4, 6]
},
{
name: '核销抵扣',
value: [5]
}
],
status: {
12: {
text: '已退款',
color: '#8F959E'
},
11: {
text: '错误订单',
color: '#EB4E4E',
background: '#fdeded'
},
14: {
text: '审批中',
color: '#FF9D0A',
background: '#fff5e6'
},
10: {
text: '已关闭',
color: '#8F959E'
},
9: {
text: '已撤销',
color: '#8F959E'
},
1: {
text: '待跟进',
color: '#FF9D0A',
background: '#FFF5E6'
},
2: {
text: '战败',
color: '#F24724',
background: '#FDECE9'
},
3: {
text: '待支付',
color: '#FF9D0A',
background: '#FFF5E6'
},
4: {
text: '已支付',
color: '#35C376',
background: '#EAF9F1'
},
6: {
text: '已评价',
color: '#347BFF',
background: '#EAF1FF'
}
},
// 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销
statusList: [
{
name: '待跟进',
value: [1]
},
{
name: '已支付',
value: [4]
},
{
name: '待支付',
value: [3]
},
{
name: '已撤销',
value: [9]
},
{
name: '战败',
value: [2]
},
{
name: '已评价',
value: [6]
},
{
name: '已关闭',
value: [10]
},
{
name: '审批中',
value: [14]
},
{
name: '错误订单',
value: [11]
}
],
grassInfo: {},
orderCode: '',
userInfo: {}
}
}
<!--subvehicleConversion/pages/paySuccess/paySuccess.wxml-->
<wxs src="./index.wxs" module="filter" />
<view class="successPay">
<view class="tips">支付成功</view>
<view class="sum">订单支付成功,实付{{orderDetail.totalPrice}}元</view>
<view class="tips">支付成功</view>
<view class="sum">订单支付成功,实付{{orderDetail.finalPrice}}元</view>
</view>
<view class="orderInfo">
<view class="orderInfoCom">
<view class="title">订单信息</view>
<view class="info">
<block wx:for="{{orderForm}}" wx:key="index">
<view class="item">
<view class="label">{{item.labelName}}</view>
<view class="text">
{{ item.key==goodsName?filter.replaceItemText(orderDetail[item.key]):orderDetail[item.key] ||''}}
</view>
</view>
</block>
</view>
</view>
</view>
<view class="orderInfoCom">
<view class="title">订单信息</view>
<view class="info">
<block wx:for="{{orderForm}}" wx:key="index">
<view class="item">
<view class="label">{{item.labelName}}</view>
<view class="text">
{{ item.key==goodsName?filter.replaceItemText(orderDetail[item.key]):orderDetail[item.key] ||''}}
</view>
</view>
</block>
</view>
</view>
</view>
\ No newline at end of file
......@@ -1213,11 +1213,11 @@ Page({
)
eventRequest.push(this.checkAgreeClient(wx.$util.getUserInfo()))
// 检查是否有异常订单锁单
const today = dayjs().day()
console.log(today, 'today = dayjs().day()');
if (today >= 1 && today <= 3) {
eventRequest.push(this.checkAbnormalOrderLocal())
}
// const today = dayjs().day()
// console.log(today, 'today = dayjs().day()');
// if (today >= 1 && today <= 3) {
// }
eventRequest.push(this.checkAbnormalOrderLocal())
// 如果是员工 判读是否要填写日报
// isStaff && eventRequest.push(this.staffDailyReport(wx.$util.getUserInfo()));
......
......@@ -288,7 +288,7 @@ value="{{ orderObj.remark }}"
class="item-disabled"
border
valueAlign="right"
label="原错误订单编码"
label="原错误订单编号"
labelWidth="var(--fontSize280)"
value="{{ orderObj.associateOrderCode }}"
/>
......
......@@ -171,7 +171,7 @@ ErrorOrderPriceStrategy.prototype.validate = async function () {
if (NP.minus(NP.plus(originalPrice, associatedPrice), currentTotal) !== 0) {
return ValidationResult.failure(
'【原错误订单总价+关联交易流水】必须等于【商品总价】'
'原错误订单总价+关联交易流水必须等于商品总价'
)
}
}
......
......@@ -6,15 +6,7 @@
<view class="search-box">
<view class="search-input">
<image src="/images/search.png" class="search-icon" />
<input
type="text"
placeholder="客户姓名/商品名称/订单编号/手机号"
class="input"
value="{{ keyword }}"
placeholder-class="input-placeholder"
bindinput="input"
bindconfirm="search"
/>
<input type="text" placeholder="客户姓名/商品名称/订单编号/手机号" class="input" value="{{ keyword }}" placeholder-class="input-placeholder" bindinput="input" bindconfirm="search" />
<block wx:if="{{ keyword }}">
<image src="/images/clear.png" class="search-clear" bindtap="clear" />
</block>
......@@ -30,39 +22,14 @@
</view>
<!-- 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销 -->
<block wx:if="{{ flag }}">
<scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{ true }}"
bindrefresherrefresh="search"
bindscrolltolower="scrollonReachBottom"
class="list"
style="height:calc(100vh - {{ navBarHeight + 104 }}px);"
refresher-threshold="104"
refresher-triggered="{{ triggered }}"
>
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{ true }}" bindrefresherrefresh="search" bindscrolltolower="scrollonReachBottom" class="list" style="height:calc(100vh - {{ navBarHeight + 104 }}px);" refresher-threshold="104" refresher-triggered="{{ triggered }}">
<block wx:if="{{ list.length > 0 }}">
<block wx:for="{{ list }}" wx:key="index">
<block wx:for="{{ item }}" wx:for-item="li" wx:for-index="ind" wx:key="ind">
<view
style="{{ li.txtStyle }}"
class="touch-item {{ li.isTouchMove ? 'touch-move-active' : '' }}"
data-ind="{{ ind }}"
data-index="{{ index }}"
>
<view style="{{ li.txtStyle }}" class="touch-item {{ li.isTouchMove ? 'touch-move-active' : '' }}" data-ind="{{ ind }}" data-index="{{ index }}">
<!-- 广汇订单出库成功 -->
<image wx:if="{{ li.outboundStatus == 4 }}" class="stockIcon" src="../../images/stockIcon.png" />
<view
class="item content {{ li.status == 9 ||li.status ==11?'gray':'' }}"
catchtap="jump"
data-ind="{{ ind }}"
data-index="{{ index }}"
bindtouchstart="touchstart"
bindtouchmove="touchmove"
bindtouchend="touchE"
data-name="{{ li.status == 3 ? 'confirmOrder' : li.status == 1? 'createOrder' : 'orderDetail' }}"
data-item="{{ li }}"
>
<view class="item content {{ li.status == 9 ||li.status ==11?'gray':'' }}" catchtap="jump" data-ind="{{ ind }}" data-index="{{ index }}" bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchE" data-name="{{ li.status == 3 ? 'confirmOrder' : li.status == 1? 'createOrder' : 'orderDetail' }}" data-item="{{ li }}">
<view class="status text-center" style="color:{{ li.statuscolor }};background-color:{{li.statusbackground }};">
<block wx:if="{{ li.status == 1||li.status == 3 }}">
<block wx:if="{{ status[li.status].background }}">
......@@ -179,14 +146,7 @@
<!-- </block> -->
<!-- </block> -->
</view>
<view
wx:if="{{ !li['confirmIndex'] }}"
class="del"
catchtap="delBtn"
data-ind="{{ ind }}"
data-item="{{ li }}"
data-index="{{ index }}"
>
<view wx:if="{{ !li['confirmIndex'] }}" class="del" catchtap="delBtn" data-ind="{{ ind }}" data-item="{{ li }}" data-index="{{ index }}">
<view>撤销</view>
<view>工单</view>
</view>
......@@ -217,10 +177,4 @@
</view>
</block>
</block>
<order-confirm
show="{{ show_confirm }}"
userInfo="{{ userInfo }}"
type="1"
navBarHeight="{{ navBarHeight }}"
orderStatus="{{ tabIndex }}"
/>
\ No newline at end of file
<order-confirm show="{{ show_confirm }}" userInfo="{{ userInfo }}" type="1" navBarHeight="{{ navBarHeight }}" orderStatus="{{ tabIndex }}" />
\ No newline at end of file
......@@ -61,8 +61,8 @@ const domain_items = {
// dj: "http://192.168.1.86:8594", //蔡远明
// dj: 'http://192.168.1.104:8292',//范富荣
// dj: 'http://192.168.1.89:8292', //周杭
dj: 'http://192.168.1.76:8292', //璐琦
// dj: 'http://192.168.1.122:8292', //庞善天
// dj: 'http://192.168.1.76:8292', //璐琦
dj: 'http://192.168.1.122:8292', //庞善天
// dj: 'http://192.168.1.227:8292',//陈希
// dj: 'http://192.168.1.67:8292',//周立明
// dj: 'http://192.168.148.235:8292',// 熊正顺
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!