Commit 3000fc33 by 李伟康

```

feat(boutique): 添加员工日报来源标识并引入权益模块API

- 在保存员工日报时添加 `dailyReportSource = 2` 的默认值
- 移除旧的查询店铺配置方法注释残留代码
- 新增权益相关接口文件 `/api/module/equity.js`,包含:
  - 新建车损报价单
  - 报价单支付订单生成
  - 校验是否需要上传合同协议
  - 查询店铺配置
  - 查询报价单信息
  - 获取订单详情
  - POS支付二维码生成
- 在模块入口文件中注册 equityApi 模块以便全局使用
```
1 parent 1d385a17
......@@ -336,6 +336,7 @@ module.exports = {
* 保存日报
*/
saveStaffDailyReport (data) {
data.dailyReportSource = 2
return http.post({
method: 'dj.api.smartcarlife.staff.daily.report.save',
projectName: 'boutique',
......@@ -391,9 +392,4 @@ module.exports = {
...data
})
},
// // 查询店铺配置
// getShopMerchantPointConfig(data) {
// return api.post('dj.api.smartcarlife.shopMerchantPointConfig.get', data)
// },
}
import http from '../request/http'
module.exports = {
/**新建车损报价单 */
quotationAdd (data) {
return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.add',
projectName: 'boutique',
...data
})
},
/** 报价单支付订单生成(带上签名)返回订单号(商户地址) */
quotationUpgrade (data) {
return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.pay.order.generate',
projectName: 'boutique',
...data
})
},
// 校验订单是否需要上传合同协议
checkZyPayFlag (data) {
return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.zyPayUrl.check',
projectName: 'boutique',
...data
})
},
// 查询店铺配置
getShopMerchantPointConfig (data) {
return http.post({
method: 'dj.api.smartcarlife.shopMerchantPointConfig.get',
projectName: 'boutique',
...data
})
},
/** 查询报价单信息 */
getQuotationInfoById (data) {
return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.find.by.id',
projectName: 'boutique',
...data
})
},
/**
* 订单详情
*/
getOrderDetail(data) {
return http.post({
method: 'dj.api.smartcarlife.order.detail',
projectName: 'boutique',
...data
})
},
/**pos支付 */
getPosQr(data) {
return http.post({
method: 'dj.api.smartcarlife.payOrder.create',
projectName: 'boutique',
...data
})
},
}
......@@ -11,7 +11,7 @@ import sceneMarketApi from './sceneMarketApi'
import interceptionApi from './interceptionApi'
import popupApi from './popupApi'
import usedCarApi from './usedCar'
import equityApi from './equity'
module.exports = {
commonApi,
systemApi,
......@@ -25,5 +25,6 @@ module.exports = {
popupApi,
evaluationApi,
usedCarApi,
activityApi
activityApi,
equityApi
}

2.91 MB | W: | H:

2.91 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -26,7 +26,7 @@
:class="[
{'sub-brand-name':j.isTitle},
{'item flex':!j.isTitle},
{active: (currentId ? j.id == currentId : (j.id == (data.customer ? data.customer[params.idKey] : '') || j.id == data[params.idKey])) && !j.isTitle}
{active:checkActive(j) && !j.isTitle}
]"
@click="choose(j,c)"
>
......@@ -184,7 +184,14 @@ export default {
}
this.currentId = that.id
this.$emit('choose', chooseItem)
}
},
checkActive (j) {
let { currentId, data, params, sceneType } = this
return (currentId ?
j.id == currentId :
sceneType == 0 ? j.id == data.carInfo[params.idKey] || '' :
(j.id == (data.customer ? data.customer[params.idKey] : '') || j.id == data[params.idKey]))
},
}
}
</script>
......
......@@ -5,9 +5,9 @@
:class="['step flex',{'step-active':currentStep == 1}]"
@click="currentStep = 1"
>
{{currentIds[0] || '选择省份'}}
{{currentIds[0] || '选择省份'}}
</view>
<view :class="['step flex',{'step-active':currentStep == 2}]">{{currentIds[1]|| '选择城市'}}</view>
<view :class="['step flex',{'step-active':currentStep == 2}]">{{currentIds[1]||'选择城市'}}</view>
</view>
<scroll-view
class="scroll-view"
......@@ -152,8 +152,14 @@ export default {
})
this.updateParams(params, province)
},
initData (data) {
this.list = data
initData (listData) {
let {data, params:{idKeys}} = this,
[provinceKey, cityKey] = idKeys
if(data[cityKey]){
this.currentIds = [data[provinceKey], data[cityKey]]
this.currentStep = 2
}
this.list = listData
this.$emit('onComplete')
},
choose (item) {
......@@ -169,7 +175,7 @@ export default {
} else {
this.currentIds = [name]
this.currentStep = 2
this.scrollTop = 10
this.scrollTop = 1
setTimeout(() => {
this.scrollTop = 0
}, 100)
......
......@@ -62,8 +62,7 @@ export default {
this.getList(searchValue, true)
},
choose (i) {
let { params: { idKey } } = this
this.currentId = i[idKey]
this.currentId = i.customerPhone
this.$emit('choose', i)
},
checkActive (i) {
......
......@@ -4,7 +4,7 @@
<view
:key="index"
@click="choose(i)"
:class="['item flex', { active: currentId ? i.uuid == currentId : i.uuid == data[params.idKey] }]"
:class="['item flex', { active: checkActive(i) }]"
>
<view class="sprite-icon icon-tag-checked"></view>
{{ i.staffName }}
......@@ -23,6 +23,12 @@ export default {
return {
}
},
computed: {
idKey () {
let { params: { idKey }, sceneType } = this
return idKey[sceneType] || idKey
}
},
mounted () {
},
methods: {
......@@ -55,19 +61,28 @@ export default {
this.getList(searchValue, true)
},
choose (i) {
console.log('choose', i)
let { params: { idKey }, data } = this,
let { idKey, data } = this,
userId = data.deliveryUserId,
referrerId = data.deliveryId,
deliveryUserId = data.userId,
deliveryId = data.referrerId,
value = {
userId: data.deliveryUserId,
deliveryUserId: data.userId
userId,
deliveryUserId,
referrerId,
deliveryId
}[idKey]
if ((idKey == 'userId' || idKey == 'deliveryUserId') && value == i.uuid) return uni.showToast({
if (['referrerId', 'userId', 'deliveryId', 'deliveryUserId'].includes(idKey) && value == i.uuid) return uni.showToast({
title: '销售顾问/录单员与交付专员不能选取同一人',
icon: 'none',
mask: true
})
this.currentId = i.uuid
this.$emit('choose', i)
},
checkActive (i) {
let { currentId, idKey, data } = this
return currentId ? i.uuid == currentId : i.uuid == data[idKey]
}
}
}
......
......@@ -6,9 +6,8 @@
<template v-if="params.loadComplete">
<template v-if="list.length">
<template v-for="(i, index) in list">
<!-- v-if="i.goodsFlag == 3" -->
<!-- v-if="i.goodsFlag == 3" -->
<view
:key="`${index}_${i.key}`"
@click.stop="choose(i, index)"
:class="['item', { hide: !i.show }, { active: checkActive(i) }, { single: i.goodsFlag == 1 }]"
......@@ -29,7 +28,7 @@
class="filled"
></uni-icons>
</view>
<text class="goods-name text-hide">
<text class="goods-name">
<template v-if="sceneType == 1">
{{ replaceItemText(i.goods, 'goodsAlias')
|| replaceItemText(i.goods, 'upgradeGoodsName')
......@@ -133,7 +132,9 @@
class="filled"
></uni-icons>
</view>
{{ i.packageGoods.packageAlias || i.packageGoods.packageName }}
<text class="goods-name">
{{ i.packageGoods.packageAlias || i.packageGoods.packageName }}
</text>
<text class="price">¥{{ i.packageGoods.sellPrice }}</text>
</view>
<view class="package-list">
......@@ -286,9 +287,8 @@ export default {
arr.push(val)
}
if (val.goodsFlag == 3) {
let item = val.packageGoods
val.packageGoods.goodsList = item.goodsList.map(item => {
;
let { goodsList } = val.packageGoods
val.packageGoods.goodsList = goodsList.map(item => {
(item.specificationNameSequence =
item.specificationTypeSequence && item.specificationNameSequence ?
item.specificationNameSequence.replace(/;~;/g, '/') :
......@@ -297,9 +297,11 @@ export default {
item.specificationTypeSequence && item.specificationData ?
item.specificationData.replace(/;~;/g, '/') :
'')
item.number = 1
item.price = item.sellPrice
return item
})
val.packageGoods.sellPrice = item.goodsList.reduce((pre, item) => {
val.packageGoods.sellPrice = goodsList.reduce((pre, item) => {
pre = NP.plus(pre, item.sellPrice)
return pre
}, 0)
......@@ -548,6 +550,9 @@ export default {
.title {
min-height: toRpx(88);
padding: toRpx(24) 0 toRpx(20);
.goods-name {
max-width: 80%;
}
}
.base-tips {
margin-bottom: 20rpx;
......
......@@ -27,7 +27,7 @@ const componentConfig = {
name: 'EmployeeList',
title: '销售顾问/录单员',
placeholder: '请输入姓名',
idKey: 'userId',
idKey: ['referrerId', 'userId'],
cacheData: [],
loadComplete: false,
searchValue: '',
......@@ -38,7 +38,7 @@ const componentConfig = {
title: '交付专员',
placeholder: '请输入姓名',
nullTips: '请选择交付专员',
idKey: 'deliveryUserId',
idKey: ['deliveryId', 'deliveryUserId'],
cacheData: [],
loadComplete: false,
searchValue: '',
......@@ -67,6 +67,7 @@ const componentConfig = {
title: '选择车型',
placeholder: '查找',
idKey: 'carSeriesId',
nullTips: '请选择车型',
cacheData: [],
loadComplete: false,
searchValue: '',
......@@ -201,21 +202,21 @@ const componentConfig = {
nullTips: '请选择所在城市',
cacheData: [],
noData: false,
idKeys: ['province','city']
idKeys: ['provinceText', 'cityText']
},
18:{
name:'Seat',
title:'座位数',
18: {
name: 'Seat',
title: '座位数',
idKey: 'seat',
hideSearch: true,
loadComplete: false,
},
19:{
name:'Customer',
title:'客户档案',
19: {
name: 'Customer',
title: '客户档案',
loadComplete: false,
placeholder: '查找',
idKey: 'customerPhone',
idKey: 'phone',
cacheData: [],
loadComplete: false,
searchValue: '',
......
......@@ -98,6 +98,7 @@ export default {
return {
userInfo: this.userInfo,
baseConfigData: this.baseConfigData,
sceneType: this.sceneType
}
},
data () {
......@@ -145,6 +146,10 @@ export default {
},
baseConfigData () {
return this.$store.state.boutique.baseConfigData
},
sceneType(){
const { sceneType } = uni.$storage.get('userInfo')
return sceneType
}
},
mounted () {
......
<template>
<PublishPopup
ref="payPopup"
popupClass="payPopup"
type="center"
:isShowFooter="false"
>
<template #header>
<view class="popup-top">
<view class="popup-top-box flex align-center">
<text class="popup-top-box-title">工单确认码</text>
<view @click.stop="closePopup">
<uni-icons
@click.stop="closePopup"
class="icon-close"
type="closeempty"
></uni-icons>
</view>
</view>
</view>
</template>
<template #content>
<view class="pos-popup">
<template v-if="orderInfo.payId">
<view class="price">¥{{ orderInfo.total_price }}</view>
<image
class="qrcode"
:src="orderInfo.payType == 1 ? wxqrcode : posQrCode"
></image>
<view class="level-1-tips">{{ orderInfo.payType == 1 ? '请让客户打开微信扫描上方付款码进行支付' : '请使用POS机扫描此码,再向客户收款' }}</view>
<view class="level-2-tips">超过24小时未支付将关闭此订单</view>
</template>
</view>
</template>
</PublishPopup>
</template>
<script type='text/ecmascript-6'>
import PublishPopup from '@/components/PublishPopup.vue'
import qrcode from '@/utils/qrcode'
export default {
components: {
PublishPopup
},
name: '',
data () {
return {
orderInfo: {},
wxqrcode: '',
posQrCode: '',
zyVoucherStatus: 0,
time: null,
show: true
}
},
computed: {
},
mounted () {
},
methods: {
open (id) {
uni.showLoading({
mask: true
})
this.show = true
this.orderInfo = {}
this.wxqrcode = ''
this.posQrCode = ''
this.getQuotationInfoById(id)
},
async getQuotationInfoById (id) {
const data = await uni.$api.equityApi.getQuotationInfoById({ id })
this.orderInfo = data
this.zyVoucherStatus = data.zyVoucherStatus
if (data.payType == 1) this.createWxQrcode()
if (data.payType == 3) this.createQrCodeImg()
this.getOrderDetail()
this.$refs.payPopup.open()
},
async getOrderDetail () {
uni.hideLoading()
if (!this.show) return
const { payId, id } = this.orderInfo,
data = await uni.$api.equityApi.getOrderDetail({ orderCode: payId })
this.orderInfo.total_price = data.totalPrice
let { payOrder, status } = data
if (payOrder?.payStatus == 2 || status == 4) {
uni.showToas({
title: '支付成功',
icon: 'none',
mask: true
})
setTimeout(() => {
this.$emit('jumpSuccess', { payId })
}, 1.5e3)
}
setTimeout(() => this.getOrderDetail(), 5e3)
},
clearTimer () {
if (this.time) clearInterval(this.time)
this.time = null
},
// 生成小程序码
createWxQrcode () {
let { zyVoucherStatus, orderInfo } = this,
{ sessionId } = uni.$storage.get()
let oParams = {}
oParams.appId = orderInfo.paymentChannel.wechatAppId
oParams.qrcodeType = 'QR_WXA_UNLIMIT'
oParams.path = 'packagesPayment/pages/payment/index'
oParams.scene = `orderCode=${orderInfo.payId}&workWxSessionId=${sessionId}&zyVoucherStatus=${zyVoucherStatus}`
oParams.channelType = 1
// B端小程序调用接口生成领券码时,传参userId用uuid,类型由int变string
uni.$api.boutiqueApi.createQrcodeImage(oParams).then(data => {
this.wxqrcode = data
})
},
async createQrCodeImg () {
const { payId } = this.orderInfo,
data = await uni.$api.equityApi.getPosQr({
orderCode: payId,
payType: 3,
payeeType: 0
})
let size = 0
try {
const info = uni.getSystemInfoSync()
let scale = info.windowWidth / 750 //不同屏幕下QRcode的适配比例;设计稿是750宽
let width = 300 * scale
size = width
} catch (e) {
size = 150
}
this.posQrCode = qrcode.createQrCodeImg(data.outTradeNo, {
size: parseInt(size)
})
},
closePopup () {
this.show = false
this.$refs.payPopup.closePopup()
}
}
}
</script>
<style scoped lang='scss'>
::v-deep .payPopup .uni-popup__wrapper {
width: 60%;
border-radius: toRpx(48);
background: #ffffff !important;
.popup-top {
border-radius: toRpx(48) toRpx(48) 0 0;
background: url('@/assets/images/boutique/payTipsBc.png') no-repeat;
background-size: 100% 100%;
margin-bottom: toRpx(16);
.popup-top-box {
color: #333333;
font-size: toRpx(36);
font-weight: 500;
text-align: center;
padding: toRpx(32);
.popup-top-box-title {
flex: 1;
}
.icon-close {
text-align: end;
}
}
}
.pos-popup {
text-align: center;
box-shadow: 0 toRpx(12) toRpx(24) 0 #2c66f726;
width: 90%;
border-radius: toRpx(48);
background: #ffffff;
margin: 0 auto toRpx(63) auto;
padding: toRpx(63) 0;
.qrcode {
width: toRpx(320);
height: toRpx(320);
margin-bottom: toRpx(32);
}
.price {
color: #4673ff;
font-size: toRpx(56);
font-weight: 700;
margin-bottom: toRpx(32);
}
.level-1-tips {
color: #1a1a1a;
font-size: toRpx(40);
font-weight: 500;
margin-bottom: toRpx(16);
}
.level-2-tips {
color: #808291;
font-size: toRpx(32);
font-weight: 400;
}
}
}
</style>
\ No newline at end of file
<template>
<view class="upload-proof-of-payment">
<view class="common-title">上传付款凭证</view>
<view class="common-title flex">
<view
class="back"
@click="$emit('back')"
>
<uni-icons
type="left"
size="20"
color="#000"
></uni-icons>
</view>
上传付款凭证
</view>
<view class="px-48">
<view class="box-shell">
<view class="flex align-center justify-between box-flow">
......@@ -8,26 +20,52 @@
交易流水号
<text class="required">*</text>
</view>
<input v-model="outTradeNo" type="text" @input="outTradeNoInput" class="uni-input" maxlength="150" placeholder="请输入" />
<input
v-model="outTradeNo"
type="text"
@input="outTradeNoInput"
class="uni-input"
maxlength="150"
placeholder="请输入"
/>
</view>
<view class="payment">
<view class="payment-label">
付款凭证
<text class="required">*</text>
</view>
<view class="upload-box flex flex-wrap">
<view class="upload-item" @click.stop="selectImg"></view>
<view v-for="(item, index) in payVoucherList" :key="index" class="previewImageList">
<view class="upload-box">
<template v-if="payVoucherList.length < 9">
<view
class="upload-item"
@click.stop="selectImg"
></view>
</template>
<view
v-for="(item, index) in payVoucherList"
:key="index"
class="previewImageList"
>
<image :src="item"></image>
<view class="close-box" @click="deleteImg(index)">
<uni-icons class="icon-close" type="closeempty" color="#ffffff"></uni-icons>
<view
class="close-box"
@click="deleteImg(index)"
>
<uni-icons
class="icon-close"
type="closeempty"
color="#ffffff"
></uni-icons>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="uploadBtn" @click.stop="confirm">确定提交</view>
<view
class="uploadBtn"
@click.stop="confirm"
>确定提交</view>
</view>
</template>
<script>
......@@ -36,22 +74,25 @@ import { debounce } from 'lodash'
export default {
name: 'UploadProofOfPayment',
props: {
transmissionOfData: {
type: Object,
default: () => null
}
},
data() {
data () {
return {
payVoucherList: [],
outTradeNo: ''
}
},
mounted() {
console.log(this.transmissionOfData, 'console.log(this.transmissionOfData)')
mounted () {
},
methods: {
selectImg() {
async selectImg () {
// #ifdef APP-PLUS
const photoLibrary = await permision.requestAndroidPermission('android.permission.READ_EXTERNAL_STORAGE')
const camera = await permision.requestAndroidPermission('android.permission.CAMERA')
const isOnline = await uni.$isNetWork()
if (photoLibrary != 1) throw '您的设备不支持相册功能或未授权访问,请前往设置中开启相册权限'
if (camera != 1) throw '您的设备不支持摄像头功能或未授权访问,请前往设置中开启摄像头权限'
if (!isOnline) throw '当前无网络连接,请连接网络后重试'
// #endif
let _this = this
uni.chooseImage({
count: 1, //默认9
......@@ -63,15 +104,14 @@ export default {
}
})
},
outTradeNoInput(e) {
outTradeNoInput (e) {
const filteredValue = e.detail.value.replace(/[\u4E00-\u9FA5]/g, '')
this.$nextTick(() => {
this.$set(this, 'outTradeNo', filteredValue)
})
console.log(this.outTradeNo)
},
// 上传付款凭证
async upLoad(event) {
async upLoad (event) {
console.log(event)
let _this = this
const { tempFilePaths } = event
......@@ -79,39 +119,19 @@ export default {
this.payVoucherList.push(url)
},
confirm: debounce(function (e) {
console.log(this.transmissionOfData)
let { outTradeNo, payVoucherList } = this
if (payVoucherList.length && outTradeNo) {
this.createPayOrder()
this.$emit('confirm', {
payVoucherList,
outTradeNo
})
} else {
uni.showToast({ title: '交易流水号或付款凭证不能为空!', icon: 'none' })
}
}, 300),
deleteImg(index) {
deleteImg (index) {
this.payVoucherList.splice(index, 1)
},
createPayOrder() {
const { orderCode, payType, payeeType, successDate } = this.transmissionOfData
let obj = {
orderCode,
payType: payType,
payeeType: payeeType,
successDate
}
if (this.payVoucherList?.length && this.outTradeNo) {
obj.payVoucherList = this.payVoucherList
obj.outTradeNo = this.outTradeNo
}
uni.showLoading({
title: '提交中...',
mask: true
})
uni.$api.boutiqueApi.createPayOrder(obj).then(data => {
uni.hideLoading()
uni.showToast({ title: '提交成功', icon: 'success' })
this.$emit('jump', 'OrderDetail', data)
})
}
}
}
</script>
......@@ -119,6 +139,9 @@ export default {
.px-48 {
padding: 0 toRpx(48);
}
.back {
height: 40rpx;
}
.upload-proof-of-payment {
width: 100%;
height: 100%;
......@@ -143,6 +166,7 @@ export default {
}
.uni-input {
text-align: right;
width: 80%;
.uni-input-placeholder {
font-size: toRpx(28);
font-weight: 400;
......@@ -162,6 +186,8 @@ export default {
}
}
.upload-box {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: toRpx(20);
.upload-item {
width: toRpx(320) !important;
......@@ -172,17 +198,18 @@ export default {
}
.previewImageList {
position: relative;
height: toRpx(240) !important;
image {
width: toRpx(320) !important;
height: toRpx(240) !important;
width: 100% !important;
height: 100% !important;
border-radius: toRpx(12);
}
.close-box {
width: toRpx(36);
height: toRpx(36);
position: absolute;
top: - toRpx(12);
right: - toRpx(12);
top: toMinusRpx(12);
right: toMinusRpx(12);
background: rgba(0, 0, 0, 0.6);
border-radius: 50%;
text-align: center;
......
......@@ -2,26 +2,24 @@ const FORM_LIST = [
[
{
label: '销售顾问/录单员',
value: 'employeeName',
value: 'referrer',
type: 'select',
key: 'employeeName',
required: true,
showText: 'shopMerchantName'
},
{
label: '交付专员',
value: 'deliveryEmployeeName',
value: 'deliveryName',
type: 'select',
required: true,
key: 'deliveryEmployeeName',
showText: 'shopMerchantName'
},
],
[
{
label: '姓名',
value: 'owner',
maxlength: '16',
maxlength: '-1',
type: 'input',
required: true
},
......@@ -139,7 +137,9 @@ const FORM_LIST = [
value: 'skuGoods',
type: 'select',
key: 'skuGoods',
addHtml: 'skuGoods'
addHtml: 'skuGoods',
required: true,
isArray: true
},
],
[
......@@ -148,7 +148,7 @@ const FORM_LIST = [
value: 'payee',
type: 'radio',
key: 'name',
current: '1',
current: '0',
radioList: [
{
value: '0',
......@@ -167,7 +167,7 @@ const FORM_LIST = [
value: 'payType',
type: 'radio',
key: 'name',
current: '0',
current: '1',
radioList: [
// {
// value: '3',
......@@ -186,10 +186,11 @@ const FORM_LIST = [
},
{
label: '嘀加收款时间',
value: 'successDateTime',
value: 'pay2Time',
key: 'todayShow',
type: 'select',
required: true
required: true,
hidden: false
},
{
label: '备注',
......@@ -501,16 +502,16 @@ const popupTypeEnum = {
0: {
key: 'employeeName',
list: 'employeeList',
targetIdKey: 'userId',
targetNameKey: 'employeeName',
targetIdKey: 'referrerId',
targetNameKey: 'referrer',
sourceIdKey: 'uuid',
sourceNameKey: 'staffName'
},
1: {
key: 'deliveryEmployeeName',
list: 'employeeList',
targetIdKey: 'deliveryUserId',
targetNameKey: 'deliveryEmployeeName',
targetIdKey: 'deliveryId',
targetNameKey: 'deliveryName',
sourceIdKey: 'uuid',
sourceNameKey: 'staffName'
},
......
......@@ -66,7 +66,6 @@ import CreateOrder from './components/CreateOrder.vue'
import DailyReport from './components/DailyReport.vue'
import DefeatOrder from './components/DefeatOrder.vue'
import OrderManagement from './components/OrderManagement.vue'
import ConfirmOrder from './components/ConfirmOrder.vue'
import OrderDetail from './components/OrderDetail.vue'
import UploadProofOfPayment from './components/UploadProofOfPayment.vue'
import NoticePopup from '@/components/NoticePopup.vue'
......@@ -81,7 +80,6 @@ export default {
DailyReport,
DefeatOrder,
OrderManagement,
ConfirmOrder,
NoticePopup,
UploadProofOfPayment,
OrderDetail
......@@ -159,7 +157,6 @@ export default {
// name:跳转组件名,val:跳转参数
jump (name, val) {
this.toolComponentName = name
console.log(this.toolComponentName, val)
if (val) {
this.transmissionOfData = val
}
......@@ -192,7 +189,7 @@ export default {
}
}
.detail-right {
width: toRpx(1368);
width: calc(100% - #{toRpx(832)});
height: 100%;
border-radius: toRpx(48);
background: #ffffff59;
......
......@@ -231,7 +231,7 @@ export default {
flex-wrap: wrap;
padding: toRpx(16) toRpx(48);
box-sizing: border-box;
margin: 0 -toRpx(16);
margin: 0 toMinusRpx(16);
border-bottom: toRpx(1) solid #f0f2f5;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!