Commit d3fb0471 by 岑成威

Merge branch 'hotfix_v5.8.3.2' of 192.168.3.233:glsx/gl_tape into hotfix_v5.8.3.2

2 parents f9ecc239 a4ee5825
......@@ -218,7 +218,6 @@ export default {
page: '/pages/common/serviceDetail/index',
eventCode: 'app_service_center',
sceneType: [1],
showOnActivityTab: true,
pageDirect: true,
noInterception: true
},
......
<template>
<view class="list-skeleton">
<view
v-for="groupIndex in groupCount"
:key="'skeleton-group-' + groupIndex"
class="list-skeleton__group"
>
<view class="list-skeleton__count">
<view class="list-skeleton__block list-skeleton__count-left"></view>
<view class="list-skeleton__block list-skeleton__count-right"></view>
</view>
<view
v-for="itemIndex in itemCount"
:key="'skeleton-item-' + groupIndex + '-' + itemIndex"
class="list-skeleton__item"
>
<view class="list-skeleton__block list-skeleton__avatar"></view>
<view class="list-skeleton__body">
<view class="list-skeleton__block list-skeleton__line list-skeleton__line--name"></view>
<view class="list-skeleton__block list-skeleton__line list-skeleton__line--meta"></view>
<view class="list-skeleton__block list-skeleton__line list-skeleton__line--group"></view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
name: 'ListSkeleton',
props: {
groupCount: {
type: Number,
default: 2
},
itemCount: {
type: Number,
default: 2
}
}
}
</script>
<style lang="scss" scoped>
$card-shadow-space: 4px;
$content-h-gap: 12px;
$item-side-margin: $content-h-gap - $card-shadow-space;
@keyframes list-skeleton-shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
.list-skeleton {
&__group {
margin-bottom: 8px;
&:last-child {
margin-bottom: 0;
}
}
&__block {
border-radius: 4px;
background: linear-gradient(90deg, #F0F2F5 25%, #E4E8ED 50%, #F0F2F5 75%);
background-size: 200% 100%;
animation: list-skeleton-shimmer 1.4s ease-in-out infinite;
}
&__count {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
margin: 0 $item-side-margin 8px;
border-radius: 10px;
background: rgba(44, 102, 247, 0.03);
box-sizing: border-box;
min-height: 32px;
}
&__count-left {
width: 120px;
height: 14px;
}
&__count-right {
width: 56px;
height: 14px;
}
&__item {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 10px 12px;
margin: 0 $item-side-margin 8px;
background: #FFFFFF;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(44, 102, 247, 0.06);
box-sizing: border-box;
}
&__avatar {
width: 32px;
height: 32px;
border-radius: 50%;
flex-shrink: 0;
}
&__body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 8px;
padding-top: 2px;
}
&__line {
height: 14px;
&--name {
width: 72%;
}
&--meta {
width: 55%;
}
&--group {
width: 40%;
}
}
}
</style>
<template>
<view :class="['container-right', { 'container-right--page': type === 'in' }]">
<view class="customer-header">
<view
:class="['customer-header', { 'customer-header--gradient': enableHeaderGradient }]"
:style="enableHeaderGradient ? headerStyle : undefined"
>
<!-- 左 -->
<view class="header-left">
<image
v-if="showHeaderIcon"
class="header-left-icon"
:src="require('@/assets/images/common/icon-file-custom.png')"
mode="aspectFit"
......@@ -28,76 +32,95 @@
</view>
<scroll-view class="customer-list" scroll-y show-scrollbar="false">
<view class="customer-list-inner">
<view
v-for="group in customerProfile"
:key="group.date"
class="customer-day-group"
>
<view class="customer-count">
<view class="customer-count-left">
<image
class="customer-count-icon"
:src="require('@/assets/images/common/icon-customer-count.png')"
mode="aspectFit"
/>
<text class="customer-count-label">{{ formatDateLabel(group.date) }}已建档</text>
</view>
<view class="customer-count-right">
<text class="customer-count-num">{{ group.number || 0 }}</text>
<text class="customer-count-unit">位客户</text>
</view>
</view>
<!-- 加载骨架屏 -->
<ListSkeleton v-if="loading" />
<!-- 空状态 -->
<view v-else-if="isEmpty" class="customer-empty">
<image
class="customer-empty-icon"
:src="require('@/assets/images/common/noData.webp')"
mode="aspectFit"
/>
<text class="customer-empty-text">暂无客户档案</text>
</view>
<!-- 客户列表 -->
<template v-else>
<view
v-for="item in group.customerProfileInfoDTOS || []"
:key="item.id"
class="customer-item"
v-for="group in customerProfile"
:key="group.date"
class="customer-day-group"
>
<view class="customer-item-avatar">
<text class="customer-item-avatar-text">{{ getCustomerSurname(item.customerName) }}</text>
<view class="customer-count">
<view class="customer-count-left">
<image
class="customer-count-icon"
:src="require('@/assets/images/common/icon-customer-count.png')"
mode="aspectFit"
/>
<text class="customer-count-label">{{ formatDateLabel(group.date) }}已建档</text>
</view>
<view class="customer-count-right">
<text class="customer-count-num">{{ group.number || 0 }}</text>
<text class="customer-count-unit">位客户</text>
</view>
</view>
<view class="customer-item-body" @click="handleGoCustomerDetail(item)">
<view class="customer-item-row customer-item-row--name">
<view class="customer-item-name-left">
<text class="customer-item-name">{{ item.customerName }}</text>
<view v-if="item.carSeriesName" class="customer-item-car-tag">
<text class="customer-item-car-text">{{ item.carSeriesName }}</text>
<view
v-for="item in group.customerProfileInfoDTOS || []"
:key="item.id"
class="customer-item"
>
<view class="customer-item-avatar">
<text class="customer-item-avatar-text">{{ getCustomerSurname(item.customerName) }}</text>
</view>
<view class="customer-item-body" @click="handleGoCustomerDetail(item)">
<view class="customer-item-row customer-item-row--name">
<view class="customer-item-name-left">
<text class="customer-item-name">{{ item.customerName }}</text>
<view v-if="item.carSeriesName" class="customer-item-car-tag">
<text class="customer-item-car-text">{{ item.carSeriesName }}</text>
</view>
</view>
<view
v-if="getCustomerStatusLabel(item.customerStatus)"
:class="['customer-item-status', getCustomerStatusClass(item.customerStatus)]"
>
<text class="customer-item-status-text">{{ getCustomerStatusLabel(item.customerStatus) }}</text>
</view>
</view>
<view
v-if="getCustomerStatusLabel(item.customerStatus)"
:class="['customer-item-status', getCustomerStatusClass(item.customerStatus)]"
>
<text class="customer-item-status-text">{{ getCustomerStatusLabel(item.customerStatus) }}</text>
<view class="customer-item-row customer-item-row--meta">
<text class="customer-item-meta">{{ formatPhone(item.customerPhone) }}</text>
<template v-if="hasDisplayDate(item.deliveryDate)">
<view class="customer-item-divider"></view>
<text class="customer-item-meta">交付{{ formatDisplayDate(item.deliveryDate) }}</text>
</template>
<template v-if="hasDisplayDate(item.inviteDate)">
<view class="customer-item-divider"></view>
<text class="customer-item-meta">到店{{ formatDisplayDate(item.inviteDate) }}</text>
</template>
</view>
</view>
<view class="customer-item-row customer-item-row--meta">
<text class="customer-item-meta">{{ formatPhone(item.customerPhone) }}</text>
<template v-if="hasDisplayDate(item.deliveryDate)">
<view class="customer-item-divider"></view>
<text class="customer-item-meta">交付{{ formatDisplayDate(item.deliveryDate) }}</text>
</template>
<template v-if="hasDisplayDate(item.inviteDate)">
<view class="customer-item-divider"></view>
<text class="customer-item-meta">到店{{ formatDisplayDate(item.inviteDate) }}</text>
</template>
</view>
<view class="customer-item-row customer-item-row--group">
<text v-if="item.qwGroupName" class="customer-item-group">客户群:{{ item.qwGroupName }}</text>
<view class="customer-item-arrow">
<view class="sprite-icon icon-arrow-right"></view>
<view class="customer-item-row customer-item-row--group">
<text v-if="item.qwGroupName" class="customer-item-group">客户群:{{ item.qwGroupName }}</text>
<view class="customer-item-arrow">
<view class="sprite-icon icon-arrow-right"></view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
</view>
</scroll-view>
</view>
</template>
<script>
import ListSkeleton from './ListSkeleton.vue'
export default {
name: 'CustomerSide',
components: {
ListSkeleton
},
props: {
type: {
type: String,
......@@ -106,6 +129,45 @@ export default {
customerProfile: {
type: Array,
default: () => []
},
loading: {
type: Boolean,
default: false
},
showHeaderIcon: {
type: Boolean,
default: true
},
enableHeaderGradient: {
type: Boolean,
default: false
},
headerGradient: {
type: Object,
default: null
}
},
computed: {
isEmpty() {
if (!this.customerProfile.length) return true
return !this.customerProfile.some(
group => (group.customerProfileInfoDTOS || []).length > 0
)
},
headerStyle() {
if (!this.enableHeaderGradient) return {}
const {
afterGradient = 'linear-gradient(0deg, #94c2ff00 0%, #5294ff 100%)',
beforeGradient = 'linear-gradient(-44.4deg, #94c2ff00 0%, #5294ff 100%)',
afterOpacity = 0.15,
beforeOpacity = 0.6
} = this.headerGradient || {}
return {
'--header-gradient-after': afterGradient,
'--header-gradient-before': beforeGradient,
'--header-gradient-after-opacity': afterOpacity,
'--header-gradient-before-opacity': beforeOpacity
}
}
},
methods: {
......@@ -190,6 +252,10 @@ export default {
</script>
<style lang="scss" scoped>
$card-shadow-space: 4px;
$content-h-gap: 12px;
$item-side-margin: $content-h-gap - $card-shadow-space;
.container-right {
flex: 1;
min-width: 0;
......@@ -210,9 +276,46 @@ export default {
display: flex;
align-items: center;
justify-content: space-between;
padding: toRpx(8) 0 toRpx(28) 0;
padding: toRpx(36) 12px toRpx(28);
border-bottom: 1px solid #F5F7FA;
margin-top: toRpx(28);
&--gradient {
position: relative;
&::after {
content: '';
position: absolute;
left: 0;
top: 0;
z-index: 0;
width: 100%;
height: 100%;
background: var(--header-gradient-after, linear-gradient(0deg, #94c2ff00 0%, #5294ff 100%));
opacity: var(--header-gradient-after-opacity, 0.15);
pointer-events: none;
}
&::before {
content: '';
position: absolute;
left: toMinusRpx(20);
top: toMinusRpx(28);
z-index: 0;
width: toRpx(136);
height: toRpx(136);
opacity: var(--header-gradient-before-opacity, 0.6);
background: var(--header-gradient-before, linear-gradient(-44.4deg, #94c2ff00 0%, #5294ff 100%));
filter: blur(toRpx(24));
pointer-events: none;
}
.header-left,
.header-right {
position: relative;
z-index: 1;
}
}
.header-left {
display: flex;
align-items: center;
......@@ -241,7 +344,7 @@ export default {
height: 32px;
border-radius: 8px;
border: 1px solid rgba(44, 102, 247, 0.10);
background-color: #F2F2F2;
background: rgba(44, 102, 247, 0.05);
.header-right-icon {
width: 16px;
......@@ -272,8 +375,32 @@ export default {
}
.customer-list-inner {
padding: 12px 4px 4px;
// 阴影绘制空间放在 inner,避免 scroll-view 裁剪左右 box-shadow
padding: 12px $card-shadow-space calc(4px + #{$card-shadow-space});
box-sizing: border-box;
min-height: 100%;
}
.customer-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 48px 12px;
min-height: 200px;
box-sizing: border-box;
.customer-empty-icon {
width: 120px;
height: 120px;
}
.customer-empty-text {
margin-top: 8px;
font-size: 14px;
line-height: 20px;
color: #999EA8;
}
}
.customer-day-group {
......@@ -289,7 +416,7 @@ export default {
align-items: center;
justify-content: space-between;
padding: 8px 12px;
margin-bottom: 8px;
margin: 0 $item-side-margin 8px;
border-radius: 10px;
background: rgba(44, 102, 247, 0.05);
box-sizing: border-box;
......@@ -345,7 +472,7 @@ export default {
align-items: flex-start;
gap: 8px;
padding: 10px 12px;
margin-bottom: 8px;
margin: 0 $item-side-margin 8px;
background: #FFFFFF;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(44, 102, 247, 0.10);
......
......@@ -94,10 +94,15 @@
</view>
</view>
</view>
<view class="content-right box-class scene1-box-shadow">
<view class="common-title">服务中心</view>
<view class="content-box">
<MessageIndex class="message-box" ref="messageRef" />
<view class="content-right box-class scene1-box-shadow content-right-customer">
<view class="content-right-customer-inner">
<CustomerSide
:customerProfile="customerProfileList"
:loading="customerProfileLoading"
enable-header-gradient
:showHeaderIcon="false"
:headerGradient="customerHeaderGradient"
/>
</view>
</view>
</view>
......@@ -110,7 +115,10 @@
@entranceClick="entranceClick"
/>
<view class="line"></view>
<CustomerSide :customerProfile="customerProfileList" />
<CustomerSide
:customerProfile="customerProfileList"
:loading="customerProfileLoading"
/>
</view>
</view>
<!-- 挖掘潜客机会 -->
......@@ -386,7 +394,14 @@ export default {
}),
activityProductList: [],
prelearnData: {},
customerProfileList: []
customerProfileList: [],
customerProfileLoading: true,
customerHeaderGradient: Object.freeze({
afterGradient: 'linear-gradient(0deg, #94c2ff00 0%, #5294ff 100%)',
beforeGradient: 'linear-gradient(-44.4deg, #94c2ff00 0%, #5294ff 100%)',
afterOpacity: 0.15,
beforeOpacity: 0.6
})
}
},
beforeDestroy() {
......@@ -760,7 +775,8 @@ export default {
}
},
/**
* 查询当前进行中的营销活动商品列表
* @function 营销活动:
* @desc 查询当前进行中的营销活动商品列表
*/
async getActivityProductList() {
const { shopMerchantId: merchantId } = uni.$storage.get('userInfo') || {}
......@@ -783,22 +799,27 @@ export default {
},
/**
* 查询客户建档分页查询-月按天分组
* @function 客户档案:
* @desc 查询客户建档分页查询-月按天分组
*/
async getCustomerProfileGroupInfo() {
const { shopMerchantId: merchantId } = uni.$storage.get('userInfo') || {}
if (!merchantId) {
this.customerProfileList = []
this.customerProfileLoading = false
return
}
this.customerProfileLoading = true
try {
const res = await uni.$api.customerApi.getCustomerProfileGroupInfoAPI({ merchantId })
console.log('getCustomerProfileListInfo***')
console.log('getCustomerProfileGroupInfo***', res)
this.customerProfileList = Array.isArray(res) ? res : []
} catch (error) {
console.error('查询客户建档分组信息失败:', error)
this.customerProfileList = []
} finally {
this.customerProfileLoading = false
}
},
/**
......@@ -1404,6 +1425,35 @@ export default {
flex: 1;
min-height: 0;
// transform: translateY(toMinusRpx(32));
.content-left {
flex: 1 1 0;
min-width: 0;
width: auto;
}
.content-right-customer {
flex: 0 1 toRpx(720);
min-width: toRpx(320);
max-width: 40%;
width: auto;
height: calc(100% - 16px);
min-height: 0;
box-sizing: border-box;
padding: 0 0 16px;
display: flex;
flex-direction: column;
overflow: hidden;
.content-right-customer-inner {
margin-top: -10px;
}
&-inner {
flex: 1;
min-height: 0;
overflow: hidden;
}
}
.tab-container {
width: 100%;
height: 100%;
......
......@@ -420,6 +420,17 @@ export default {
this.pageParams.customerQr = ''
this.$refs.couponPopup.open()
this.customerType = customerType
if (customerInfo.inviteRecordId) {
this.customerInfo = customerInfo
this.pageParams.carInfo = {
carChildsBrandId: customerInfo.carChildsBrandId,
carChildsBrandName: customerInfo.carChildsBrandName,
carBrandId: customerInfo.carBrandId,
carBrand: customerInfo.carBrand,
id: customerInfo.carSeriesId,
name: customerInfo.carSeriesName
}
}
if (customerInfo.customerCouponId) {
try {
uni.showLoading({
......@@ -443,8 +454,6 @@ export default {
if (data) {
this.pageParams.customerCouponId = customerInfo.customerCouponId
this.pageParams.customerQr = data
if (customerInfo.inviteRecordId) this.customerInfo = customerInfo
} else throw '生成小程序码失败,请重试!'
} else throw message
......
......@@ -245,6 +245,7 @@ export default {
this.$refs.invitationCanvas.clearBoard()
},
openDetail (e) {
console.log('openDetail**e**', e);
this.couponPopupRef.open(0, {
...e,
phoneNumber: e.customerPhone,
......
......@@ -245,6 +245,11 @@ export default {
},
useMinPriceApproval() {
return shouldUseMinPriceApproval(this.orderObj.orderTypeCode)
},
// 轻改场景 + 新建工单:隐藏场景名称表单项(仅展示层)
hideSceneNameField() {
const { sceneType } = this.userInfo || {}
return sceneType == 1 && this.orderCreateType === 'createWithPay'
}
},
mounted() {
......@@ -266,6 +271,9 @@ export default {
} else {
item.hidden = item._originHidden
}
if (item.value === 'baseSceneCode' && this.hideSceneNameField) {
item.hidden = true
}
})
})
this.formList = list
......
......@@ -291,6 +291,11 @@ export default {
showPayTips () {
if (this.orderObj.payeeType == 0 && this.orderObj.selectPayType == 7) return true
else return false
},
// 轻改场景:隐藏场景名称表单项(仅展示层)
hideSceneNameField () {
const { sceneType } = this.userInfo || {}
return sceneType == 1
}
},
onload (options) {
......@@ -332,6 +337,9 @@ export default {
} else {
item.hidden = item._originHidden
}
if (item.value === 'baseSceneCode' && this.hideSceneNameField) {
item.hidden = true
}
})
})
this.formList = list
......
......@@ -50,6 +50,14 @@
</view>
</picker>
</template>
<template v-else-if="i.type == 'radio'">
<radio-group class="radio-group flex" @change="radioChange($event, i)">
<label class="radio-item flex" v-for="item in i.radioList" :key="item.value">
<radio style="transform: scale(0.7)" :value="item.value" :checked="customerInfo[i.key] == item.value" />
<view class="radio-name">{{ item.name }}</view>
</label>
</radio-group>
</template>
<template v-else>
<view
:class="['select flex', { placeholderStyle: !customerInfo[i.valueKey] }]"
......@@ -104,6 +112,14 @@
</view>
</picker>
</template>
<template v-else-if="i.type == 'radio'">
<radio-group class="radio-group flex" @change="radioChange($event, i)">
<label class="radio-item flex" v-for="item in i.radioList" :key="item.value">
<radio style="transform: scale(0.7)" :value="item.value" :checked="customerInfo[i.key] == item.value" />
<view class="radio-name">{{ item.name }}</view>
</label>
</radio-group>
</template>
<template v-else>
<view
:class="['select flex', { placeholderStyle: !customerInfo[i.valueKey] }]"
......@@ -207,6 +223,17 @@ const phoneRex = /^[1]([3-9])[0-9]{9}$/,
}
],
default_optionalForm = [{
label: '性别',
valueKey: 'customerSex',
key: 'customerSex',
type: 'radio',
current: '1',
radioList: [
{ value: '1', name: '男' },
{ value: '2', name: '女' }
]
},
{
label: '车架号',
valueKey: 'standNo',
key: 'standNo',
......@@ -288,6 +315,7 @@ export default {
this.customerInfo = {
customerName: '',
customerPhone: '',
customerSex: '1',
carTypeName: '',
carChildsBrandId: '',
carChildsBrandName: '',
......@@ -312,6 +340,9 @@ export default {
if (res.inviteDate) res.inviteDate = dayjs(res.inviteDate).format("YYYY-MM-DD")
if (res.filingDate) res.filingDate = dayjs(res.filingDate).format("YYYY-MM-DD")
this.customerInfo = res
if (!this.customerInfo.customerSex) {
this.customerInfo.customerSex = '1'
}
if (!this.customerInfo.filingDate) {
this.customerInfo.filingDate = dayjs().format('YYYY-MM-DD')
}
......@@ -367,6 +398,9 @@ export default {
getDatePickerEnd (field) {
return field.dateUnlimited ? '2099-12-31' : this.endDate
},
radioChange (e, field) {
this.customerInfo[field.key] = e.detail.value
},
bindDateChange (e, valueKey) {
const value = e.detail.value
this.customerInfo[valueKey] = value
......@@ -503,6 +537,7 @@ export default {
baseSceneCode:'100101',
customerName:params.customerName,
customerPhone:params.customerPhone,
customerSex: params.customerSex,
carBrand:params.carBrand,
carBrandId:params.carBrandId,
carChildsBrandId: params.carTypeId,
......@@ -707,6 +742,19 @@ export default {
.error {
border: toRpx(2) solid #f24724 !important;
}
.radio-group {
width: toRpx(738);
height: toRpx(76);
align-items: center;
gap: toRpx(48);
}
.radio-item {
align-items: center;
}
.radio-name {
color: #333333;
font-size: toRpx(28);
}
}
.btns {
justify-content: center;
......
......@@ -77,6 +77,14 @@
</view>
</picker>
</template>
<template v-else-if="i.type == 'radio'">
<radio-group class="radio-group flex" @change="radioChange($event, i)">
<label class="radio-item flex" v-for="item in i.radioList" :key="item.value">
<radio style="transform: scale(0.7)" :value="item.value" :checked="customerInfo[i.key] == item.value" />
<view class="radio-name">{{ item.name }}</view>
</label>
</radio-group>
</template>
<template v-else>
<view
:class="['select flex', { placeholderStyle: !customerInfo[i.valueKey] }]"
......@@ -126,6 +134,14 @@
</view>
</picker>
</template>
<template v-else-if="i.type == 'radio'">
<radio-group class="radio-group flex" @change="radioChange($event, i)">
<label class="radio-item flex" v-for="item in i.radioList" :key="item.value">
<radio style="transform: scale(0.7)" :value="item.value" :checked="customerInfo[i.key] == item.value" />
<view class="radio-name">{{ item.name }}</view>
</label>
</radio-group>
</template>
<template v-else>
<view
:class="['select flex', { placeholderStyle: !customerInfo[i.valueKey] }]"
......@@ -282,8 +298,19 @@ const phoneRex = /^[1]([3-9])[0-9]{9}$/,
type: 'readonly',
required: true,
merchantNameKey: 'merchantName'
},{
label: '性别',
valueKey: 'customerSex',
key: 'customerSex',
type: 'radio',
current: '1',
radioList: [
{ value: '1', name: '男' },
{ value: '2', name: '女' }
]
}],
default_optionalForm = [{
default_optionalForm = [
{
label: '车架号',
valueKey: 'standNo',
key: 'standNo',
......@@ -512,6 +539,7 @@ export default {
const requestParams = {
id: this.customerInfo.id,
customerName: this.customerInfo.customerName,
customerSex: this.customerInfo.customerSex,
carBrand: this.customerInfo.carBrand,
carBrandId: this.customerInfo.carBrandId,
carChildsBrandName: this.customerInfo.carChildsBrandName,
......@@ -676,6 +704,7 @@ export default {
this.customerInfo = {
customerName: '',
customerPhone: '',
customerSex: '1',
carBrand: '',
carBrandId: '',
carSeriesName: '',
......@@ -709,6 +738,9 @@ export default {
if (res.inviteDate) res.inviteDate = dayjs(res.inviteDate).format("YYYY-MM-DD")
// 合并而非整对象替换,保留 initForm 中已声明的响应式字段(如 contact_name)
Object.assign(this.customerInfo, res)
if (!this.customerInfo.customerSex) {
this.customerInfo.customerSex = '1'
}
if (!this.customerInfo.createdDate) {
this.customerInfo.createdDate = dayjs().format('YYYY-MM-DD')
}
......@@ -855,6 +887,9 @@ export default {
this.syncInviteDateFromDelivery()
}
},
radioChange (e, field) {
this.customerInfo[field.key] = e.detail.value
},
inputBlur (e, val) {
const standNoVal = this.customerInfo.standNo
if (val.key === 'standNo' && standNoVal) {
......@@ -1180,6 +1215,19 @@ export default {
.error {
border: toRpx(2) solid #f24724 !important;
}
.radio-group {
width: toRpx(738);
height: toRpx(76);
align-items: center;
gap: toRpx(48);
}
.radio-item {
align-items: center;
}
.radio-name {
color: #333333;
font-size: toRpx(28);
}
.input--readonly {
color: #666666;
background: #f5f7fa;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!