Commit 8f362398 by Lin

Merge branch 'SAAS+V5.5.0' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.5.0

2 parents 829cb14c e9dd1387
...@@ -2,7 +2,7 @@ import http from '../request/http' ...@@ -2,7 +2,7 @@ import http from '../request/http'
module.exports = { module.exports = {
/**新建车损报价单 */ /**新建车损报价单 */
quotationAdd(data) { quotationAdd (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.add', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.add',
projectName: 'boutique', projectName: 'boutique',
...@@ -10,7 +10,7 @@ module.exports = { ...@@ -10,7 +10,7 @@ module.exports = {
}) })
}, },
/** 报价单支付订单生成(带上签名)返回订单号(商户地址) */ /** 报价单支付订单生成(带上签名)返回订单号(商户地址) */
quotationUpgrade(data) { quotationUpgrade (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.pay.order.generate', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.pay.order.generate',
projectName: 'boutique', projectName: 'boutique',
...@@ -18,7 +18,7 @@ module.exports = { ...@@ -18,7 +18,7 @@ module.exports = {
}) })
}, },
// 校验订单是否需要上传合同协议 // 校验订单是否需要上传合同协议
checkZyPayFlag(data) { checkZyPayFlag (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.zyPayUrl.check', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.zyPayUrl.check',
projectName: 'boutique', projectName: 'boutique',
...@@ -27,7 +27,7 @@ module.exports = { ...@@ -27,7 +27,7 @@ module.exports = {
}, },
// 查询店铺配置 // 查询店铺配置
getShopMerchantPointConfig(data) { getShopMerchantPointConfig (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.shopMerchantPointConfig.get', method: 'dj.api.smartcarlife.shopMerchantPointConfig.get',
projectName: 'boutique', projectName: 'boutique',
...@@ -36,7 +36,7 @@ module.exports = { ...@@ -36,7 +36,7 @@ module.exports = {
}, },
/** 查询报价单信息 */ /** 查询报价单信息 */
getQuotationInfoById(data) { getQuotationInfoById (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.find.by.id', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.find.by.id',
projectName: 'boutique', projectName: 'boutique',
...@@ -46,7 +46,7 @@ module.exports = { ...@@ -46,7 +46,7 @@ module.exports = {
/** /**
* 订单详情 * 订单详情
*/ */
getOrderDetail(data) { getOrderDetail (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.order.detail', method: 'dj.api.smartcarlife.order.detail',
projectName: 'boutique', projectName: 'boutique',
...@@ -54,7 +54,7 @@ module.exports = { ...@@ -54,7 +54,7 @@ module.exports = {
}) })
}, },
/**pos支付 */ /**pos支付 */
getPosQr(data) { getPosQr (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.payOrder.create', method: 'dj.api.smartcarlife.payOrder.create',
projectName: 'boutique', projectName: 'boutique',
...@@ -65,7 +65,7 @@ module.exports = { ...@@ -65,7 +65,7 @@ module.exports = {
* 查询门店录单设置 * 查询门店录单设置
}, },
*/ */
orderSettingList(data) { orderSettingList (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.order.field.setting.list', method: 'dj.api.smartcarlife.order.field.setting.list',
projectName: 'boutique', projectName: 'boutique',
...@@ -74,7 +74,7 @@ module.exports = { ...@@ -74,7 +74,7 @@ module.exports = {
}, },
/** 报价单分页列表 */ /** 报价单分页列表 */
quotationPage(data) { quotationPage (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page',
projectName: 'boutique', projectName: 'boutique',
...@@ -82,7 +82,7 @@ module.exports = { ...@@ -82,7 +82,7 @@ module.exports = {
}) })
}, },
/** 根据id查询报价单数据 */ /** 根据id查询报价单数据 */
getQuotationInfo(data) { getQuotationInfo (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.generate', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.generate',
projectName: 'boutique', projectName: 'boutique',
...@@ -90,7 +90,7 @@ module.exports = { ...@@ -90,7 +90,7 @@ module.exports = {
}) })
}, },
/** 修改车损报价单客户基本信息信息 */ /** 修改车损报价单客户基本信息信息 */
updateCustomerInfo(data) { updateCustomerInfo (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.customer.base.info.update', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.customer.base.info.update',
projectName: 'boutique', projectName: 'boutique',
...@@ -99,7 +99,7 @@ module.exports = { ...@@ -99,7 +99,7 @@ module.exports = {
}, },
/** 报价单订单分状态统计信息 */ /** 报价单订单分状态统计信息 */
orderStatistics(data) { orderStatistics (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.order.status.statistics', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.order.status.statistics',
projectName: 'boutique', projectName: 'boutique',
...@@ -107,7 +107,7 @@ module.exports = { ...@@ -107,7 +107,7 @@ module.exports = {
}) })
}, },
// 查询订单是否支持状态变更 // 查询订单是否支持状态变更
getOrderRefundStep(data) { getOrderRefundStep (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.refundApplyRecord.isExist', method: 'dj.api.smartcarlife.refundApplyRecord.isExist',
projectName: 'boutique', projectName: 'boutique',
...@@ -115,7 +115,7 @@ module.exports = { ...@@ -115,7 +115,7 @@ module.exports = {
}) })
}, },
/**报价单-撤销工单 */ /**报价单-撤销工单 */
cancelOrderById(data) { cancelOrderById (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.quotation.cancel', method: 'dj.api.smartcarlife.quotation.cancel',
projectName: 'boutique', projectName: 'boutique',
...@@ -123,7 +123,7 @@ module.exports = { ...@@ -123,7 +123,7 @@ module.exports = {
}) })
}, },
// 车损报价单战败订单创建 // 车损报价单战败订单创建
defeatOrderCreate(data) { defeatOrderCreate (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.add.defeat.order', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.add.defeat.order',
projectName: 'boutique', projectName: 'boutique',
...@@ -131,7 +131,7 @@ module.exports = { ...@@ -131,7 +131,7 @@ module.exports = {
}) })
}, },
// 更新合同协议内容 // 更新合同协议内容
updateZyInfo(data) { updateZyInfo (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.zyPayUrl.update', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.zyPayUrl.update',
projectName: 'boutique', projectName: 'boutique',
...@@ -139,7 +139,7 @@ module.exports = { ...@@ -139,7 +139,7 @@ module.exports = {
}) })
}, },
/** 根据商户号商品id获取可选升级商品列表 */ /** 根据商户号商品id获取可选升级商品列表 */
quotationGoodsList(data) { quotationGoodsList (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.quotationGoods.list', method: 'dj.api.smartcarlife.quotationGoods.list',
projectName: 'boutique', projectName: 'boutique',
...@@ -148,14 +148,14 @@ module.exports = { ...@@ -148,14 +148,14 @@ module.exports = {
}, },
/** /**
* /** 修改车损报价单信息 */ * /** 修改车损报价单信息 */
updateQuotation(data) { updateQuotation (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.update', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.update',
projectName: 'boutique', projectName: 'boutique',
...data ...data
}) })
}, },
getCheckEmployeeList(data) { getCheckEmployeeList (data) {
// 0->2.0 1->1.1 2->1.2 3->1.3 场景对应 // 0->2.0 1->1.1 2->1.2 3->1.3 场景对应
// data.sceneList = [1] // data.sceneList = [1]
return http.post({ return http.post({
...@@ -166,11 +166,23 @@ module.exports = { ...@@ -166,11 +166,23 @@ module.exports = {
// return api.post("dj.api.smartcarlife.employee.getByMerchantId", data); // return api.post("dj.api.smartcarlife.employee.getByMerchantId", data);
}, },
/** 更新报价单状态 */ /** 更新报价单状态 */
updateOrderStatus(data) { updateOrderStatus (data) {
return http.post({ return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.status.update', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.status.update',
projectName: 'boutique', projectName: 'boutique',
...data ...data
}) })
} },
/**
* 服务信息详情
*
*/
getServiceInfoDetail (data) {
return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.detail',
projectName: 'boutique',
...data
})
},
} }
...@@ -101,8 +101,6 @@ ...@@ -101,8 +101,6 @@
background-position: calc(100vmin * (1173 / 768) * -0.6884057971014492) calc(100vmin * (1173 / 768) * -0.5234441602728048);} background-position: calc(100vmin * (1173 / 768) * -0.6884057971014492) calc(100vmin * (1173 / 768) * -0.5234441602728048);}
.icon-edit { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-edit { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.45524296675191817) calc(100vmin * (1173 / 768) * -0.4113384484228474);} background-position: calc(100vmin * (1173 / 768) * -0.45524296675191817) calc(100vmin * (1173 / 768) * -0.4113384484228474);}
.icon-end-right { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.5234441602728048);}
.icon-equity-order { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-equity-order { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.5907928388746803);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-equityClose { width: calc(100vmin * (1173 / 768) * 0.010230179028132993); height: calc(100vmin * (1173 / 768) * 0.010230179028132993); .icon-equityClose { width: calc(100vmin * (1173 / 768) * 0.010230179028132993); height: calc(100vmin * (1173 / 768) * 0.010230179028132993);
...@@ -140,7 +138,7 @@ ...@@ -140,7 +138,7 @@
.icon-finish-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-finish-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.340153452685422) calc(100vmin * (1173 / 768) * -0.13256606990622335);} background-position: calc(100vmin * (1173 / 768) * -0.340153452685422) calc(100vmin * (1173 / 768) * -0.13256606990622335);}
.icon-first-left { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-first-left { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.5707587382779199);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.5234441602728048);}
.icon-first-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.07502131287297528); .icon-first-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.07502131287297528);
background-position: calc(100vmin * (1173 / 768) * -0.21099744245524296) calc(100vmin * (1173 / 768) * -0.35038363171355497);} background-position: calc(100vmin * (1173 / 768) * -0.21099744245524296) calc(100vmin * (1173 / 768) * -0.35038363171355497);}
.icon-first-right { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-first-right { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
...@@ -431,3 +429,7 @@ ...@@ -431,3 +429,7 @@
background-position: calc(100vmin * (1173 / 768) * -0.5004262574595055) calc(100vmin * (1173 / 768) * -0.45865302642796246);} background-position: calc(100vmin * (1173 / 768) * -0.5004262574595055) calc(100vmin * (1173 / 768) * -0.45865302642796246);}
.icon-zj-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-zj-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.20034100596760443) calc(100vmin * (1173 / 768) * -0.6986359761295823);} background-position: calc(100vmin * (1173 / 768) * -0.20034100596760443) calc(100vmin * (1173 / 768) * -0.6986359761295823);}
.icon-end-right { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.5707587382779199);}
.icon-collapse-all { width: calc(100vmin * (1173 / 768) * 0.010230179028132993); height: calc(100vmin * (1173 / 768) * 0.010230179028132993);
background-position: calc(100vmin * (1173 / 768) * -0.39940323955669227) calc(100vmin * (1173 / 768) * -0.6986359761295823);}
\ No newline at end of file \ No newline at end of file

2.93 MB | W: | H:

2.93 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -3,12 +3,7 @@ ...@@ -3,12 +3,7 @@
<template v-if="entranceList.length"> <template v-if="entranceList.length">
<view class="entrance-container"> <view class="entrance-container">
<view class="entrance-list"> <view class="entrance-list">
<view <view class="entrance-item" v-for="(item, index) in entranceList" :key="index" @click="handleClick(item)">
class="entrance-item"
v-for="(item, index) in entranceList"
:key="index"
@click="handleClick(item)"
>
<view :class="['sprite-icon', `icon-${item.icon}`]"></view> <view :class="['sprite-icon', `icon-${item.icon}`]"></view>
<view class="entrance-name">{{ item.label }}</view> <view class="entrance-name">{{ item.label }}</view>
</view> </view>
...@@ -17,10 +12,7 @@ ...@@ -17,10 +12,7 @@
</template> </template>
<template v-else> <template v-else>
<view class="developing flex"> <view class="developing flex">
<image <image class="developing-icon" src="../assets/images/common/developing.webp" />
class="developing-icon"
src="../assets/images/common/developing.webp"
/>
功能开发中 功能开发中
</view> </view>
</template> </template>
...@@ -30,13 +22,11 @@ ...@@ -30,13 +22,11 @@
<script> <script>
export default { export default {
name: 'Entrance', name: 'Entrance',
data () { data() {
return { return {}
}
}, },
computed: { computed: {
entranceList () { entranceList() {
let { sceneType } = uni.$storage.get('userInfo'), let { sceneType } = uni.$storage.get('userInfo'),
entranceList = [ entranceList = [
{ {
...@@ -54,7 +44,7 @@ export default { ...@@ -54,7 +44,7 @@ export default {
{ {
icon: 'equity-order', icon: 'equity-order',
label: '权益提单', label: '权益提单',
name: 'EquityOrder', name: 'EquityManagement',
sceneType: [0] sceneType: [0]
}, },
{ {
...@@ -87,7 +77,7 @@ export default { ...@@ -87,7 +77,7 @@ export default {
} }
}, },
methods: { methods: {
handleClick (item) { handleClick(item) {
// 这里可以根据实际需求进行跳转或功能处理 // 这里可以根据实际需求进行跳转或功能处理
this.$emit('entranceClick', item) this.$emit('entranceClick', item)
} }
......
...@@ -20,13 +20,22 @@ ...@@ -20,13 +20,22 @@
<template v-if="titleList[boxIdx].addHtml"> <template v-if="titleList[boxIdx].addHtml">
<slot :name="titleList[boxIdx].addHtml" /> <slot :name="titleList[boxIdx].addHtml" />
</template> </template>
<template v-if="collapseControl">
<view
:class="['collapse-control',{down:!titleList[boxIdx].collapseAll}]"
@click="collapseAll(boxIdx)"
>
<view class="sprite-icon icon-collapse-all"></view>
</view>
</template>
</view> </view>
</template> </template>
<template v-for="(item, idx) in items"> <template v-for="(item, idx) in items">
<view v-if="!item.hidden" :key="idx"> <view :key="idx">
<view <view
class="cell-row" :class="['cell-row',{'cell-hide':collapseControl && !titleList[boxIdx].collapseAll}]"
:key="idx" :key="idx"
v-if="!item.hidden"
> >
<view <view
class="cell" class="cell"
...@@ -121,6 +130,12 @@ ...@@ -121,6 +130,12 @@
:name="item.addHtml" :name="item.addHtml"
></slot> ></slot>
</view> </view>
<view
v-if="item.rowHtml"
:class="['row-html',{'cell-hide':collapseControl && !titleList[boxIdx].collapseAll}]"
>
<slot :name="item.rowHtml"></slot>
</view>
</view> </view>
</template> </template>
</view> </view>
...@@ -155,7 +170,8 @@ export default { ...@@ -155,7 +170,8 @@ export default {
titleList: { titleList: {
type: Array, type: Array,
default: () => [] default: () => []
} },
collapseControl: Boolean
}, },
data () { data () {
return { return {
...@@ -179,6 +195,9 @@ export default { ...@@ -179,6 +195,9 @@ export default {
}, },
handleBlur (e, item) { handleBlur (e, item) {
this.$emit('inputBlur', e, item) this.$emit('inputBlur', e, item)
},
collapseAll (index) {
this.$emit('collapseAll', index)
} }
} }
} }
...@@ -203,13 +222,28 @@ export default { ...@@ -203,13 +222,28 @@ export default {
.cell-title { .cell-title {
min-height: 72rpx; min-height: 72rpx;
padding: 0 32rpx; padding: 0 32rpx;
color: #6c6f75; color: #777;
font-size: 24rpx; font-size: 24rpx;
.collapse-control {
margin-left: auto;
width: 48rpx;
height: 48rpx;
transition: all 0.15s;
.sprite-icon {
zoom: 2;
}
}
.down {
transform: rotate(180deg);
}
} }
.cell-row { .cell-row {
padding-left: toRpx(32); padding-left: toRpx(32);
transition: all 0.15s;
}
.cell-hide {
height: 0;
} }
.cell { .cell {
display: flex; display: flex;
align-items: center; align-items: center;
......
...@@ -554,6 +554,8 @@ export default { ...@@ -554,6 +554,8 @@ export default {
const noInterceptPage = ['DailyReport', 'DeliveryManagement'], const noInterceptPage = ['DailyReport', 'DeliveryManagement'],
{ sceneType } = this { sceneType } = this
if (!noInterceptPage.includes(item.name)) { if (!noInterceptPage.includes(item.name)) {
// 日报
if (await this.checkDailyReport(sceneType != 7)) return
if (sceneType != 7) { if (sceneType != 7) {
// if (await this.inspectionOfProhibitionBill()) return // if (await this.inspectionOfProhibitionBill()) return
// 检查是否限制录单 // 检查是否限制录单
...@@ -564,7 +566,6 @@ export default { ...@@ -564,7 +566,6 @@ export default {
return return
} }
} }
if (await this.checkDailyReport(sceneType != 7)) return
} }
if (item.name === 'EvaluationFormList') { if (item.name === 'EvaluationFormList') {
mediaResourceManager.cleanupExpired() mediaResourceManager.cleanupExpired()
......
<template>
<view class="equity-box">
<view class="common-title">服务信息录入</view>
<view class="box">
<scroll-view
scroll-y
class="scroll-view"
>
<view class="box-content">
<GlCell
:formList="formList"
:formData="orderObj"
@inputBlur="inputBlur"
@handleCell="handleCell"
:titleList="titleList"
@collapseAll="collapseAll"
>
<template #goodsHtml>
恒河猴
</template>
<template #uploadHtml>
恒河猴1
</template>
</GlCell>
</view>
<view class="btns flex">
<view
class="btn save"
@click="handleEditSave"
>存草稿</view>
<view
@click="submit"
class="btn"
>确认提交</view>
</view>
</scroll-view>
</view>
<order-popup
ref="orderPopup"
:data="orderObj"
@onConfirm="onConfirm"
:popupType="popupType"
/>
</view>
</template>
<script type='text/ecmascript-6'>
import utils from '@/utils/utils'
import { EQUITY_FORM_LIST, EQUITY_FORM_TITLE_LIST, popupTypeEnum } from '../contant'
import GlCell from '@/components/Form/GlCell.vue'
import OrderPopup from '@/components/OrderPopup/index.vue'
import dayjs from 'dayjs'
export default {
name: 'CreateEquity',
components: {
GlCell,
OrderPopup
},
data () {
return {
formList: utils.deepClone(EQUITY_FORM_LIST),
titleList: utils.deepClone(EQUITY_FORM_TITLE_LIST),
orderObj: {
carSeriesId: ''
},
popupType: 0
}
},
mounted () {
this.getServiceInfoDetail()
},
methods: {
handleCell (val) {
console.log(val)
this.popupType = Object.keys(popupTypeEnum).find(key => popupTypeEnum[key].key === val.key) * 1
this.$refs.orderPopup.open()
},
inputBlur (e, val) {
},
async getServiceInfoDetail () {
const data = await uni.$api.equityApi.getServiceInfoDetail({
contractNo: 'car998467117191905280'
})
console.log(data)
},
collapseAll (index) {
this.titleList[index].collapseAll = !this.titleList[index].collapseAll
}
}
}
</script>
<style scoped lang='scss'>
.equity-box {
height: 100%;
position: relative;
.box {
height: calc(100% - #{toRpx(120)});
.scroll-view {
height: 100%;
}
&-content {
padding: 0 toRpx(48);
}
}
.customer-title {
.customer-file {
margin-left: toRpx(20);
color: #347bff;
font-size: toRpx(24);
.sprite-icon {
margin-right: toRpx(4);
}
}
}
.btns {
padding: toRpx(24) toRpx(128);
gap: toRpx(32);
.btn {
display: flex;
align-items: center;
justify-content: center;
width: toRpx(1130);
height: toRpx(80);
color: #fff;
border-radius: toRpx(48);
background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
}
.save {
background: #3b73ff1a;
color: #4673ff;
font-size: toRpx(28);
font-weight: 500;
}
}
}
</style>
\ No newline at end of file \ No newline at end of file
...@@ -159,6 +159,9 @@ export default { ...@@ -159,6 +159,9 @@ export default {
this.searchObj = null this.searchObj = null
this.searchObj = val this.searchObj = val
console.log(this.searchObj) console.log(this.searchObj)
if (!this.searchObj.orderStatus) {
this.tabIndex = 0
}
this.search() this.search()
}, },
copyText(e) { copyText(e) {
......
...@@ -71,6 +71,8 @@ ...@@ -71,6 +71,8 @@
<script> <script>
import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js' import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js'
import { debounce } from 'lodash' import { debounce } from 'lodash'
import permision from '@/js_sdk/wa-permission/permission.js'
export default { export default {
name: 'UploadProofOfPayment', name: 'UploadProofOfPayment',
props: { props: {
......
...@@ -448,4 +448,127 @@ const UpdateOrderInfo = [ ...@@ -448,4 +448,127 @@ const UpdateOrderInfo = [
} }
] ]
] ]
export { FORM_LIST, popupTypeEnum, payTypeList, DEFEAT_FORM_LIST, titleList, UpdateOrderInfo, defeat_titleList }
const EQUITY_FORM_LIST = [
[
{
label: '车架号',
value: 'vin',
maxlength: '17',
type: 'input',
},
{
label: '车辆发票价',
value: 'invoicePrice',
type: 'input',
readonly: true
},
{
label: '座位数',
value: 'seatesNum',
type: 'select',
key: 'seat',
},
{
label: '发动机号',
value: 'engineNo',
maxlength: '30',
type: 'input'
},
{
label: '车辆颜色',
value: 'vehicleColor',
maxlength: '5',
type: 'input'
},
{
label: '购车日期',
value: 'billingDate',
type: 'select',
},
{
label: '品牌车系',
value: 'carBrandText',
type: 'select',
key: 'carBrand',
},
],
[
{
label: '客户类型',
value: 'customerType',
type: 'select',
},
{
label: '姓名',
value: 'customerName',
maxlength: '100',
type: 'input'
},
{
label: '联系电话',
value: 'customerPhone',
maxlength: '11',
type: 'input'
},
{
label: '证件类型',
value: 'cardType',
type: 'select',
},
{
label: '证件号码',
value: 'cardNo',
maxlength: '18',
type: 'input'
},
{
label: '联系地址',
value: 'customerAddress',
maxlength: '100',
type: 'input'
},
],
[
{
hidden: true,
rowHtml: 'goodsHtml'
}
],
[
{
hidden: true,
rowHtml: 'uploadHtml'
}
],
[
{
label: '店面名称',
value: 'merchantName',
type: 'input',
readonly: true
},
{
label: '联系电话',
value: 'merchantPhone',
maxlength: '20',
type: 'input'
},
{
label: '联系地址',
value: 'merchantAddress',
maxlength: '100',
type: 'input'
},
]
]
const EQUITY_FORM_TITLE_LIST = [
{ name: '车辆信息', collapseAll: true },
{ name: '客户信息', collapseAll: true },
{ name: '产品信息', collapseAll: true },
{ name: '上传资料', collapseAll: true },
{ name: '店面信息', collapseAll: true }
]
export { FORM_LIST, popupTypeEnum, payTypeList, DEFEAT_FORM_LIST, titleList, UpdateOrderInfo, defeat_titleList, EQUITY_FORM_LIST, EQUITY_FORM_TITLE_LIST }
...@@ -46,6 +46,9 @@ import { interceptionMixin } from '@/mixin/index' ...@@ -46,6 +46,9 @@ import { interceptionMixin } from '@/mixin/index'
import UpdateOrderInfo from './components/UpdateOrderInfo.vue' import UpdateOrderInfo from './components/UpdateOrderInfo.vue'
import StudyPopup from '@/components/StudyPopup.vue' import StudyPopup from '@/components/StudyPopup.vue'
import StudyCenterPermissionPopup from '@/components/StudyCenterPermissionPopup.vue' import StudyCenterPermissionPopup from '@/components/StudyCenterPermissionPopup.vue'
import EquityManagement from './components/EquityManagement.vue'
import CreateEquity from './components/CreateEquity.vue'
export default { export default {
mixins: [interceptionMixin], mixins: [interceptionMixin],
...@@ -60,7 +63,9 @@ export default { ...@@ -60,7 +63,9 @@ export default {
OrderDetail, OrderDetail,
UpdateOrderInfo, UpdateOrderInfo,
StudyPopup, StudyPopup,
StudyCenterPermissionPopup StudyCenterPermissionPopup,
EquityManagement,
CreateEquity
}, },
data() { data() {
return { return {
...@@ -88,10 +93,10 @@ export default { ...@@ -88,10 +93,10 @@ export default {
this.currentMonth = dayjs(currentDate).format('YYYY-MM') this.currentMonth = dayjs(currentDate).format('YYYY-MM')
}, },
async entranceClick(item) { async entranceClick(item) {
if(this.toolComponentName == item.name) return if (this.toolComponentName == item.name) return
const noInterceptPage = ['DailyReport'] const noInterceptPage = ['DailyReport']
// if (!noInterceptPage.includes(item.name) && ((await this.checkDailyReport()) || (await this.inspectionOfProhibitionBill()))) return // if (!noInterceptPage.includes(item.name) && ((await this.checkDailyReport()) || (await this.inspectionOfProhibitionBill()))) return
if (!noInterceptPage.includes(item.name) && ((await this.checkDailyReport()))) return if (!noInterceptPage.includes(item.name) && (await this.checkDailyReport())) return
// 提示去学习中心弹窗 // 提示去学习中心弹窗
const res = await this.getLimitRecord() const res = await this.getLimitRecord()
if (res.lockOrder) { if (res.lockOrder) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!