Commit 4c810a21 by 张立顺

fix bug

1 parent 68575121
......@@ -52,17 +52,18 @@
<view class="li">
① 补录订单:支持正常分账期或超分账期单笔或多笔流水补录1个订单
</view>
<view class="li last">
<view class="li">
情况一:单笔支付直接补录创建工单
</view>
<view class="li last">
情况二:客户多笔支付,补录工单时勾选多笔交易流水
</view>
<view class="li">
② 特殊情况:需通知运营在后台关联工单
</view>
<view class="li last">
情况一:客户支付定金时间与尾款时间间隔20天以上
情况二:客户购买车辆2台及以上的费用,一笔支付
情况三:支付费用时误操作(多付了)需部分退款
<view class="li"> 情况一:客户支付定金时间与尾款时间间隔20天以上</view>
<view class="li">情况二:客户购买车辆2台及以上的费用,一笔支付</view>
<view class="li last"> 情况三:支付费用时误操作(多付了)需部分退款
</view>
<view class="li last">
操作流程:驻店在小程序点击新建工单,收款方式选择嘀加收款,复制交易流水号(填写时流水号末尾加逗号,多笔交易流水号中间用逗号隔开),工单录完后通知线上运营在后台关联。
......
......@@ -53,8 +53,8 @@ Component({
// 点击关闭 情况门店付款数据
thisPage.setData({
showPopup: false,
['orderInfo.transactionNo']: '',
['orderInfo.tradeNo']: '',
// ['orderInfo.transactionNo']: '',
// ['orderInfo.tradeNo']: '',
['orderInfo.paymentDocList']: []
})
},
......
......@@ -265,11 +265,11 @@
}
.goods-box .goods {
height: var(--fontSize118);
min-height: var(--fontSize118);
border-bottom: var(--fontSize2) solid rgba(195, 195, 195, .3);
display: flex;
align-items: center;
padding: 0 var(--fontSize28) 0 var(--fontSize90);
padding: 20rpx var(--fontSize28) 20rpx var(--fontSize90);
justify-content: space-between;
font-size: var(--fontSize28);
background: #F5F5F7;
......@@ -296,7 +296,7 @@
.goods-box .goods .name {
color: #FF6601;
width: var(--fontSize306);
max-width: var(--fontSize450);
}
.goods-box .goods .price-box {
......@@ -444,7 +444,8 @@
width: 100%;
display: flex;
align-items: center;
height: 104rpx;
min-height: 104rpx;
padding: 20rpx 0;
.package-price {
margin-left: auto;
......
......@@ -22,7 +22,7 @@
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
<image src="./images/del.png" />
</view>
<view class="name text-hide">
<view class="name ">
<!-- -->
{{item.goods.goodsAlias || item.goods.goodsNameAlias|| filter.replaceItemText(item.goods.upgradeGoodsName ,( item.goods.specificationData? '/'+item.goods.specificationData:'')) || filter.replaceItemText(item.goods.goodsName, (item.goods.specificationData? '/'+item.goods.specificationData:''))}}
<!-- {{filter.replaceItemText(item.goods.goodsAlias) ||filter.replaceItemText(item.goods.upgradeGoodsName) || filter.replaceItemText(item.goods.goodsName)}} -->
......@@ -41,13 +41,13 @@
<view class="deleteicon" bindtap="delGoodsList" data-index="{{ index }}">
<image src="./images/del.png" />
</view>
<view class="name text-hide">{{item.packageGoods.packageAlias || item.packageGoods.packageNameAlias || item.packageGoods.packageName}}</view>
<view class="name ">{{item.packageGoods.packageAlias || item.packageGoods.packageNameAlias || item.packageGoods.packageName}}</view>
<view class="package-price">¥{{item.price}}</view>
<!-- <view class="count" catchtap="showPopup" data-show-name="goodsBox">x{{item.count||1}}</view> -->
</view>
<view class="packageBox">
<view class="itemSty" wx:for="{{ item.packageGoods.goodsList }}" wx:key="childind" wx:for-index="childind" wx:for-item="child">
<view class="name text-hide">{{child.goodsAlias || child.goodsNameAlias || filter.replaceItemText(child.upgradeGoodsName , (item.specificationData? '/'+child.specificationData: '') ) ||filter.replaceItemText(child.goodsName ,( item.specificationData? '/'+child.specificationData: '') ) }}</view>
<view class="name ">{{child.goodsAlias || child.goodsNameAlias || filter.replaceItemText(child.upgradeGoodsName , (item.specificationData? '/'+child.specificationData: '') ) ||filter.replaceItemText(child.goodsName ,( item.specificationData? '/'+child.specificationData: '') ) }}</view>
<view class="price-box">
<text>¥</text>
<view class="price">
......
......@@ -1196,7 +1196,7 @@ Page({
// 老逻辑的流水补录 一单并且是正常的
let filteroutTradeArr = outTradeArr.map(item => item.outTradeNo)
if (switchVlaue == 1 && outTradeArr.length == 1) {
let { outTradeNo, accountDate, tradeNo } = outTradeArr[0]
let { outTradeNo, accountDate, tradeNo, totalFee } = outTradeArr[0]
this.setData({
outTradeArr: filteroutTradeArr,
switchVlaue,
......
......@@ -47,7 +47,7 @@ Component({
},
{
label: '商户名称',
prop: 'yqMerchantName'
prop: 'merchantName'
}
],
currentPage: 1,
......@@ -163,6 +163,7 @@ Component({
} else {
element.active = false
}
element.merchantName = element?.shopMerchantName ? element?.shopMerchantName : element.yqMerchantName
})
orderNoList =
currentPage == 1 ? data.list : [...orderNoList, ...data.list]
......@@ -179,7 +180,7 @@ Component({
})
}
})
.catch(err => {})
.catch(err => { })
},
confirm() {
let { orderNoList, switchVlaue } = this.data
......
<!--tabIndex/components/recordingOrderPopup/recordingOrderPopup.wxml-->
<wxs src="index.wxs" module="filter" />
<popup show="{{ show }}" bindconfirm="confirm" bindcancel="cancel" height="80%" slotStyle="{{ popupSlotStyle }}">
<view class="sub-title">
<view>{{title}}</view>
</view>
<view class="switch-box">
<view class="block text-center {{ switchVlaue== 1?'':'labelRight' }}" />
<view class="left text-center {{ switchVlaue == 1?'active':'' }}" bindtap="changeSwitch" data-value="1">正常分账期</view>
<view class="right text-center {{ switchVlaue == 2?'active':'' }}" bindtap="changeSwitch" data-value="2">
超分账期
<image class="question" src="/components/images/question.png" bind:tap="showTips"></image>
</view>
</view>
<scroll-view
class="order_no_box"
scroll-y
enable-back-to-top
refresher-enabled="{{ true }}"
bindrefresherrefresh="restPageNum"
bindscrolltolower="scrollonReachBottom"
refresher-threshold="104"
refresher-triggered="{{ triggered }}"
>
<block wx:if="{{ orderNoList.length }}">
<block wx:for="{{ orderNoList }}" wx:key="index" wx:for-index="index">
<view class="order_no_item {{ item.active?'active':'' }}" bindtap="changeOrderNo" data-target="{{ item }}">
<view class="message">
<block wx:for="{{ itemFormObj }}" wx:for-item="subItem" wx:key="idx" wx:for-index="idx">
<view class="item">
<view class="label">{{subItem.label}}</view>
<view class="value price_value" wx:if="{{ subItem.type == 'price' }}">¥{{filter.priceFilter(item[subItem.prop])}}</view>
<view class="select_value" wx:if="{{ subItem.type == 'select' }}" catch:tap="selectTap" data-index="{{ index }}">
<text class="text-hide">{{filmOrderData[item.filmOrder]}}</text>
<image src="/components/images/arrow-x.png" mode="" />
</view>
<view class="value" wx:if="{{ subItem.type !== 'price' && subItem.type !== 'select' }}">
{{item[subItem.prop]}}
<image
class="copy_icon"
catch:tap="copyOutTradeNo"
data-item="{{ item }}"
wx:if="{{ subItem.type == 'copy' }}"
src="{{ IMG_URL }}copy_icon_gapy.png"
mode=""
/>
</view>
</view>
</block>
</view>
<view class="checked" wx:if="{{ item.active }}">
<image src="/components/images/choose.png" />
</view>
<block wx:if="{{ showSelect && filmOrderIndex == index }}">
<view class="option_box">
<view
class="option {{ item.filmOrder == subI ? 'active' : '' }}"
wx:for="{{ filmOrderData }}"
wx:for-item="subE"
wx:for-index="subI"
wx:key="subI"
data-index="{{ subI }}"
data-order-index="{{ index }}"
catchtap="optionTap"
>{{subE}}</view>
</view>
<view class="mask_class" bindtap="closeSelect" />
</block>
</view>
</block>
</block>
<block wx:else>
<empty-data style="width: 100%;" />
</block>
</scroll-view>
<view class="sub-title">
<view>{{title}}</view>
</view>
<view class="switch-box">
<view class="block text-center {{ switchVlaue== 1?'':'labelRight' }}" />
<view class="left text-center {{ switchVlaue == 1?'active':'' }}" bindtap="changeSwitch" data-value="1">正常分账期</view>
<view class="right text-center {{ switchVlaue == 2?'active':'' }}" bindtap="changeSwitch" data-value="2">
超分账期
<image class="question" src="/components/images/question.png" bind:tap="showTips"></image>
</view>
</view>
<scroll-view class="order_no_box" scroll-y enable-back-to-top refresher-enabled="{{ true }}" bindrefresherrefresh="restPageNum" bindscrolltolower="scrollonReachBottom" refresher-threshold="104" refresher-triggered="{{ triggered }}">
<block wx:if="{{ orderNoList.length }}">
<block wx:for="{{ orderNoList }}" wx:key="index" wx:for-index="index">
<view class="order_no_item {{ item.active?'active':'' }}" bindtap="changeOrderNo" data-target="{{ item }}">
<view class="message">
<block wx:for="{{ itemFormObj }}" wx:for-item="subItem" wx:key="idx" wx:for-index="idx">
<view class="item">
<view class="label">{{subItem.label}}</view>
<view class="value price_value" wx:if="{{ subItem.type == 'price' }}">¥{{filter.priceFilter(item[subItem.prop])}}</view>
<view class="select_value" wx:if="{{ subItem.type == 'select' }}" catch:tap="selectTap" data-index="{{ index }}">
<text class="text-hide">{{filmOrderData[item.filmOrder]}}</text>
<image src="/components/images/arrow-x.png" mode="" />
</view>
<view class="value" wx:if="{{ subItem.type !== 'price' && subItem.type !== 'select' }}">
{{item[subItem.prop]}}
<image class="copy_icon" catch:tap="copyOutTradeNo" data-item="{{ item }}" wx:if="{{ subItem.type == 'copy' }}" src="{{ IMG_URL }}copy_icon_gapy.png" mode="" />
</view>
</view>
</block>
</view>
<view class="checked" wx:if="{{ item.active }}">
<image src="/components/images/choose.png" />
</view>
<block wx:if="{{ showSelect && filmOrderIndex == index }}">
<view class="option_box">
<view class="option {{ item.filmOrder == subI ? 'active' : '' }}" wx:for="{{ filmOrderData }}" wx:for-item="subE" wx:for-index="subI" wx:key="subI" data-index="{{ subI }}" data-order-index="{{ index }}" catchtap="optionTap">{{subE}}</view>
</view>
<view class="mask_class" bindtap="closeSelect" />
</block>
</view>
</block>
</block>
<block wx:else>
<empty-data style="width: 100%;" />
</block>
</scroll-view>
</popup>
<tipsPopup show="{{ tipsshow }}" bindconfirm="confirm" bindcancel="cancel" height="70%" title="超分账期">
<view class="ul">
<view class="title">字段定义</view>
<view class="li">○ 正常分账期:指客户付款后,未超过分账期 (一般指支付时间≤20日),驻店未在系统补录或特殊情况下需运营在后台关联订单的交易流水号。</view>
<view class="li last">○ 超分账期:指客户付款后,超过分账期 (一般指支付时间>20日),驻店未在系统补录或特殊情况下需运营在后台关联订单的交易流水号。</view>
<view class="title">操作指导</view>
<view class="li">① 补录订单:支持正常分账期或超分账期单笔或多笔流水补录1个订单</view>
<view class="li last">情况一:单笔支付直接补录创建工单
情况二:客户多笔支付,补录工单时勾选多笔交易流水</view>
<view class="li">② 特殊情况:需通知运营在后台关联工单</view>
<view class="li last">情况一:客户支付定金时间与尾款时间间隔20天以上
情况二:客户购买车辆2台及以上的费用,一笔支付
情况三:支付费用时误操作(多付了)需部分退款</view>
<view class="li last">操作流程:驻店在小程序点击新建工单,收款方式选择嘀加收款,复制交易流水号(填写时流水号末尾加逗号,多笔交易流水号中间用逗号隔开),工单录完后通知线上运营在后台关联。</view>
<!-- <view class="title">
特殊情况
<view class="ul">
<view class="title">
字段定义
</view>
<view class="li">
○ 正常分账期:指客户付款后,未超过分账期 (一般指支付时间≤20日),驻店未在系统补录或特殊情况下需运营在后台关联订单的交易流水号。
</view>
<view class="li last">
○ 超分账期:指客户付款后,超过分账期 (一般指支付时间>20日),驻店未在系统补录或特殊情况下需运营在后台关联订单的交易流水号。
</view>
<view class="title">
操作指导
</view>
<view class="li">
需新建工单,复制交易流水号 (填写时流水号末尾加逗号),收款方式选择嘀加收款,工单录完后通知线上运营在后台关联:
① 补录订单:支持正常分账期或超分账期单笔或多笔流水补录1个订单
</view>
<view class="li">
情况一:客户支付定金时间与尾款时间间隔20天以上
情况二:客户购买车辆2台及以上的费用,一笔支付
情况三:支付费用时误操作 (多付了) 需部分退款
</view> -->
</view>
<!-- <view>说明内容</view> -->
情况一:单笔支付直接补录创建工单
</view>
<view class="li last">
情况二:客户多笔支付,补录工单时勾选多笔交易流水
</view>
<view class="li">
② 特殊情况:需通知运营在后台关联工单
</view>
<view class="li"> 情况一:客户支付定金时间与尾款时间间隔20天以上</view>
<view class="li">情况二:客户购买车辆2台及以上的费用,一笔支付</view>
<view class="li last"> 情况三:支付费用时误操作(多付了)需部分退款
</view>
<view class="li last">
操作流程:驻店在小程序点击新建工单,收款方式选择嘀加收款,复制交易流水号(填写时流水号末尾加逗号,多笔交易流水号中间用逗号隔开),工单录完后通知线上运营在后台关联。
</view>
</view>
</tipsPopup>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!