Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b544c2a7
authored
Dec 20, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
需求开发
1 parent
8fbcd91d
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
262 additions
and
31 deletions
components/CarBrands/CarBrands.js
components/CarBrands/CarBrands.wxml
components/CarBrands/CarBrands.wxss
packageEquity/components/GLForm/GLForm.wxml
packageEquity/pages/carEquity/components/SecondStep/SecondStep.js
packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxml
packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxss
packageEquity/pages/carEquity/components/constant/secondStepData.js
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.js
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.json
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.wxml
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.js
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.wxml
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.wxml
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
packageEquity/pages/createDeafeatOrder/createDeafeatOrder.js
packageEquity/pages/createDeafeatOrderAi/createDeafeatOrderAi.js
components/CarBrands/CarBrands.js
View file @
b544c2a
...
...
@@ -14,10 +14,11 @@ Component({
},
carSeriesId
:
{
type
:
Number
,
// observer: function (n) {
// console.log('carSeriesId')
// if (n) this.init()
// }
observer
:
function
(
n
)
{
let
{
storageData
,
equityFlag
}
=
this
.
data
// 数字报价单获取详情接口, carSeriesId通过接口获取会出现慢的情况,重新整理车型数据将已选值置为选中状态
if
(
equityFlag
&&
n
&&
storageData
?.
length
)
this
.
setCar
(
storageData
,
true
)
}
},
merchantId
:
{
type
:
Number
,
...
...
@@ -26,6 +27,9 @@ Component({
if
(
n
)
this
.
init
(
n
,
true
);
},
},
equityFlag
:
{
type
:
Boolean
}
},
/**
...
...
@@ -356,18 +360,20 @@ Component({
});
},
confirm
()
{
let
{
chooseItem
}
=
this
.
data
;
let
{
chooseItem
,
equityFlag
}
=
this
.
data
;
let
thisPage
=
wx
.
$router
.
getPageInstance
();
let
{
orderObj
:
{
customer
},
}
=
thisPage
.
data
;
customer
=
{
...
customer
,
...
chooseItem
,
};
thisPage
.
setData
({
[
"orderObj.customer"
]:
customer
,
});
if
(
!
equityFlag
)
{
let
{
orderObj
:
{
customer
},
}
=
thisPage
.
data
;
customer
=
{
...
customer
,
...
chooseItem
,
};
thisPage
.
setData
({
[
"orderObj.customer"
]:
customer
,
});
}
this
.
setData
({
show
:
false
,
});
...
...
components/CarBrands/CarBrands.wxml
View file @
b544c2a
...
...
@@ -2,7 +2,7 @@
title="选择车型"
show="{{show}}"
bindconfirm="confirm"
height="
90%
">
height="
{{ equityFlag ? '85%' : '90%' }}
">
<view class="car-brands-box">
<search-input bindsearch="searchCar" />
<view class="car-brands">
...
...
components/CarBrands/CarBrands.wxss
View file @
b544c2a
...
...
@@ -33,13 +33,14 @@
padding-left: var(--fontSize32);
font-size: var(--fontSize32);
font-weight: 700;
color: #323436;
}
.child {
font-weight: normal;
padding-left: var(--fontSize96);
font-size: var(--fontSize28);
color: #
888888
;
color: #
323436
;
position: relative;
}
...
...
packageEquity/components/GLForm/GLForm.wxml
View file @
b544c2a
...
...
@@ -97,7 +97,7 @@
<picker
wx:if="{{item.type == 'pickerTime'}}"
mode="date"
value="{{formData[name]}}"
value="{{formData[name]
|| formData[item.name]
}}"
start="{{item.start || ''}}"
end="{{item.end || ''}}"
bindchange="handleTimeChange"
...
...
packageEquity/pages/carEquity/components/SecondStep/SecondStep.js
View file @
b544c2a
...
...
@@ -55,6 +55,7 @@ Component({
formRule
:
constantData
.
formRule
,
energyFormRule
:
constantData
.
energyFormRule
,
oilFormRule
:
constantData
.
oilFormRule
,
extendServiceFormRule
:
constantData
.
extendServiceFormRule
,
isShowObj
:
{
car
:
true
,
customer
:
true
,
...
...
@@ -138,6 +139,16 @@ Component({
formData
})
},
// 切换排量/功率
changeType
(
e
)
{
let
{
type
,
index
}
=
e
.
currentTarget
.
dataset
let
idName
=
'extendService'
let
childCom
=
this
.
selectComponent
(
'#'
+
idName
+
index
)
childCom
.
parentSetData
(
'displacementPowerFlag'
,
type
)
this
.
setData
({
[
`serviceInfo.goodInfoList[
${
index
}
].displacementPowerFlag`
]:
type
})
},
onClickShow
(
e
)
{
const
{
type
}
=
e
.
target
.
dataset
this
.
setData
({
imgShow
:
true
,
imgType
:
type
})
...
...
@@ -197,7 +208,7 @@ Component({
let
{
value
}
=
e
.
detail
let
formData
=
this
.
getPageData
()
let
curitem
=
formData
.
goodInfoList
[
popObj
.
idx
]
let
idName
=
curitem
.
itemsCode
==
'YB0003'
?
'oil'
:
'energy
'
let
idName
=
curitem
.
itemsCode
==
'YB0003'
?
'oil'
:
(
curitem
.
itemsCode
==
'YB0001'
||
curitem
.
itemsCode
==
'YB0002'
)
?
'energy'
:
'extendService
'
let
childCom
=
this
.
selectComponent
(
'#'
+
idName
+
popObj
.
idx
)
childCom
.
parentSetData
(
popObj
.
attr
,
value
)
this
.
setData
({
...
...
@@ -249,7 +260,7 @@ Component({
})
},
handleConfirm
(
e
)
{
var
{
formRule
,
serviceInfo
,
imgObj
,
imgToInfo
,
energyFormRule
,
oilFormRule
,
retrofitInfo
}
=
this
.
data
var
{
formRule
,
serviceInfo
,
imgObj
,
imgToInfo
,
energyFormRule
,
oilFormRule
,
retrofitInfo
,
extendServiceFormRule
}
=
this
.
data
let
formData
=
this
.
getPageData
()
let
validObj
=
fn
.
checkRequired
(
formData
,
formRule
)
if
(
validObj
)
{
...
...
@@ -286,7 +297,7 @@ Component({
// 延保产品-验证
if
(
item
.
printType
==
2
)
{
// itemsCode标识:YB0001-延保-6大件,YB0002-延保-3电,YB0003-延保-油车
let
subValidObj
=
fn
.
checkRequired
(
item
,
item
.
itemsCode
==
'YB0003'
?
oilFormRule
:
energy
FormRule
)
let
subValidObj
=
fn
.
checkRequired
(
item
,
item
.
itemsCode
==
'YB0003'
?
oilFormRule
:
(
item
.
itemsCode
==
'YB0001'
||
item
.
itemsCode
==
'YB0002'
)
?
energyFormRule
:
extendService
FormRule
)
if
(
subValidObj
)
{
wx
.
$util
.
showToast
(
subValidObj
.
message
)
return
...
...
@@ -330,7 +341,7 @@ Component({
number
+=
`.
${
decimal
}
`
value
=
number
}
let
idName
=
curitem
.
itemsCode
==
'YB0003'
?
'oil'
:
'energy
'
let
idName
=
curitem
.
itemsCode
==
'YB0003'
?
'oil'
:
(
curitem
.
itemsCode
==
'YB0001'
||
curitem
.
itemsCode
==
'YB0002'
)
?
'energy'
:
'extendService
'
let
childCom
=
this
.
selectComponent
(
'#'
+
idName
+
idx
)
childCom
.
parentSetData
(
attr
,
value
)
this
.
setData
({
...
...
packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxml
View file @
b544c2a
...
...
@@ -146,7 +146,7 @@
</view>
</gl-form>
<gl-form
wx:
else
wx:
if="{{ item.itemsCode == 'YB0001' || item.itemsCode == 'YB0002' }}"
id="{{ 'energy' + index }}"
background="#F4F5F7"
formData="{{ item }}"
...
...
@@ -190,6 +190,39 @@
<text class="input-suffix">万公里</text>
</view>
</gl-form>
<gl-form
wx:else
id="{{ 'extendService' + index }}"
background="#F4F5F7"
formData="{{ item }}"
dataAttrName="{{ 'serviceInfo.goodInfoList[' + index +']' }}"
formDataList="{{ secondObj.productFormList[0].extendServiceFormList }}">
<view slot="displacementPower" class="displacementPower">
<view class="tab-box">
<view class="tab-item {{item.displacementPowerFlag == 0 ? 'active' : ''}}" data-type="0" data-index="{{index}}" bindtap="changeType">排量</view>
<view class="tab-item {{item.displacementPowerFlag == 1 ? 'active' : ''}}" data-type="1" data-index="{{index}}" bindtap="changeType">功率</view>
</view>
<view class="value">
<van-field
class="textarea between"
custom-style="width: var(--fontSize100);font-size: var(--fontSize28); padding: var(--fontSize30) 0; background: #F4F5F7;"
border="{{ false }}"
value="{{ item.displacementPowerValue }}"
input-align="right"
autosize
hold-keyboard
type="number"
placeholder="请输入"
maxlength="140"
data-attr="displacementPowerValue"
data-idx="{{ index }}"
data-curitem="{{ item }}"
bindinput="handleWarrantyInput"
/>
<text class="input-suffix">{{item.displacementPowerFlag == 0 ? 'L' : 'KW'}}</text>
</view>
</view>
</gl-form>
</view>
<gl-form
wx:else
...
...
packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxss
View file @
b544c2a
...
...
@@ -377,4 +377,41 @@
.pay-type .cell {
padding-left: var(--fontSize20) !important;
}
.displacementPower {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.displacementPower .tab-box{
width: var(--fontSize192);
height: var(--fontSize52);
background: #F3F3F5;
border-radius: var(--fontSize8);
display: flex;
align-items: center;
border: var(--fontSize2) solid #3582EE;
}
.displacementPower .tab-box .tab-item{
width: var(--fontSize96);
height: var(--fontSize52);
text-align: center;
line-height: var(--fontSize52);
border-radius: var(--fontSize8);
transition: all .25s;
color: #3582EE;
}
.displacementPower .tab-box .tab-item.active {
background-color: #3582EE;
color: #fff;
}
.displacementPower .value {
display: flex;
justify-content: flex-end;
align-items: center;
}
\ No newline at end of file
packageEquity/pages/carEquity/components/constant/secondStepData.js
View file @
b544c2a
...
...
@@ -190,6 +190,44 @@ const oilFormRule = {
]
}
const
extendServiceFormRule
=
{
servicePeriod
:
[{
required
:
true
,
message
:
'服务年限不能为空'
}],
displacementPowerValue
:
[
{
required
:
true
,
message
:
'排量或功率不能为空'
},
{
validator
:
(
rule
,
value
)
=>
{
return
/^
\d
+
(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'排量或功率请输入仅有两位小数的数字'
}
}
}
],
buyDate
:
[{
required
:
true
,
message
:
'购车发票日期不能为空'
}],
qualityBeginDate
:
[{
required
:
true
,
message
:
'原厂质保开始日期不能为空'
}],
warrantyPeriod
:
[
{
required
:
true
,
message
:
'原厂质保年限不能为空'
},
{
validator
:
(
rule
,
value
)
=>
{
return
/^
\d
+$/
.
test
(
value
)
?
null
:
{
message
:
'原厂质保年限请输入整数'
}
}
}
],
warrantyKm
:
[
{
required
:
true
,
message
:
'原厂质保公里不能为空'
},
{
validator
:
(
rule
,
value
)
=>
{
return
/^
\d
+
(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'原厂质保公里请输入仅有两位小数的数字'
}
}
}
],
mileage
:
[
{
required
:
true
,
message
:
'合同购买时的公里数不能为空'
},
{
validator
:
(
rule
,
value
)
=>
{
return
/^
\d
+
(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'合同购买时的公里数请输入仅有两位小数的数字'
}
}
}
]
}
const
secondObj
=
{
carFormList
:
[
{
...
...
@@ -466,6 +504,70 @@ const secondObj = {
noCellHeight
:
true
,
cellStyle
:
'height: var(--fontSize90); border-bottom: 0;'
}
],
// 延保配置服务项目
extendServiceFormList
:
[
{
label
:
'服务年限'
,
name
:
'servicePeriod'
,
type
:
'input'
,
disabled
:
true
,
suffix
:
'年'
,
noCellHeight
:
true
,
cellStyle
:
'height: var(--fontSize90);'
},
{
label
:
''
,
name
:
'displacementPower'
,
type
:
'slot'
,
noCellHeight
:
true
,
cellBoxStyle
:
'width: 100%;'
,
labelWidth
:
'0px'
,
labelStyle
:
'display: none;'
},
{
label
:
'购车发票日期'
,
name
:
'buyDate'
,
type
:
'pickerTime'
,
end
:
Util
.
tsFormatTime
(
new
Date
(),
'Y-M-D'
),
labelWidth
:
'var(--fontSize220)'
,
noCellHeight
:
true
,
cellStyle
:
'height: var(--fontSize90);'
,
haveArrow
:
true
},
{
label
:
'原厂质保开始日期'
,
name
:
'qualityBeginDate'
,
type
:
'pickerTime'
,
labelWidth
:
'var(--fontSize240)'
,
noCellHeight
:
true
,
cellStyle
:
'height: var(--fontSize90);'
,
haveArrow
:
true
},
{
label
:
'原厂质保年限'
,
name
:
'warrantyPeriod'
,
type
:
'input'
,
noCellHeight
:
true
,
cellStyle
:
'height: var(--fontSize90);'
,
labelWidth
:
'var(--fontSize220)'
,
},
{
label
:
'原厂质保公里(万公里)'
,
name
:
'warrantyKm'
,
type
:
'input'
,
noCellHeight
:
true
,
cellStyle
:
'height: var(--fontSize90);'
,
labelWidth
:
'var(--fontSize340)'
,
},
{
label
:
'合同购买时的公里数'
,
name
:
'mileage'
,
type
:
'input'
,
noCellHeight
:
true
,
cellStyle
:
'height: var(--fontSize90);'
,
labelWidth
:
'var(--fontSize280)'
,
}
]
},
// {
...
...
@@ -503,6 +605,10 @@ const secondObj = {
label
:
''
,
name
:
'tireRule'
,
type
:
'otherSlot'
,
isShowObj
:
{
attr
:
'tireFlag'
,
list
:
[
'1'
]
},
list
:
[
{
label
:
'轮胎规格'
,
...
...
@@ -519,6 +625,10 @@ const secondObj = {
type
:
'slot'
,
labelWidth
:
'0rpx'
,
noCellHeight
:
true
,
isShowObj
:
{
attr
:
'tireFlag'
,
list
:
[
'1'
]
},
tireObj
:
{
tire
:
''
},
...
...
@@ -665,5 +775,6 @@ export default {
formRule
,
energyFormRule
,
oilFormRule
,
secondObj
secondObj
,
extendServiceFormRule
}
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
View file @
b544c2a
...
...
@@ -186,6 +186,9 @@ Page({
this
.
getInterestCardSetting
(
data
.
goodId
)
}
// data.attachmentList = data.attachmentList
data
?.
goodInfoList
?.
forEach
(
val
=>
{
if
(
val
.
printType
==
2
&&
!
[
'YB0001'
,
'YB0002'
,
'YB0003'
].
includes
(
val
.
itemsCode
))
val
.
displacementPowerFlag
=
val
.
displacementPowerFlag
||
0
// 默认是选中排量
})
this
.
setData
({
serviceInfo
:
data
,
[
'serviceInfo.attachmentList'
]:
data
?.
attachmentList
||
[],
...
...
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.js
View file @
b544c2a
...
...
@@ -148,6 +148,9 @@ Component({
// 获取推荐人列表
getEmployee
()
{
let
userInfo
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
this
.
setData
({
userInfo
})
let
params
=
{
merchantId
:
userInfo
.
default4SStoreInfo
.
merchantId
}
...
...
@@ -241,7 +244,25 @@ Component({
},
// 品牌车型
handleJumpBrand
(
e
)
{
wx
.
$router
.
go
(
'packageEquity.carBrands'
)
// wx.$router.go('packageEquity.carBrands')
this
.
setData
({
showCarBrands
:
true
,
// 选择时再加载车型组件
carBrandBox
:
true
})
},
chooseCar
(
e
)
{
let
{
dataAttrName
}
=
this
.
data
let
{
carBrand
,
carBrandId
,
carChildsBrandId
,
carChildsBrandName
,
carSeriesId
,
carSeriesName
}
=
e
.
detail
let
thisPage
=
wx
.
$router
.
getPageInstance
()
thisPage
.
setData
({
[
dataAttrName
+
'.'
+
'carBrand'
]:
carBrand
,
[
dataAttrName
+
'.'
+
'carBrandId'
]:
carBrandId
,
[
dataAttrName
+
'.'
+
'carChildsBrandId'
]:
carChildsBrandId
,
[
dataAttrName
+
'.'
+
'carChildsBrandName'
]:
carChildsBrandName
,
[
dataAttrName
+
'.'
+
'carSeriesId'
]:
carSeriesId
,
[
dataAttrName
+
'.'
+
'carSeriesName'
]:
carSeriesName
})
},
/**获取园区配置 */
async
getYqStoreConfig
()
{
...
...
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.json
View file @
b544c2a
...
...
@@ -4,6 +4,7 @@
"gl-form"
:
"/packageEquity/components/GLForm/GLForm"
,
"Gl-Button-Group"
:
"../../../../components/GlButtonGroup/GlButtonGroup"
,
"store-referrer-picker"
:
"../storeReferrerPicker/storeReferrerPicker"
,
"customerInfo"
:
"/components/CustomerInfo/CustomerInfo"
"customerInfo"
:
"/components/CustomerInfo/CustomerInfo"
,
"car-brands"
:
"/components/CarBrands/CarBrands"
}
}
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.wxml
View file @
b544c2a
...
...
@@ -49,7 +49,7 @@
<gl-form disable="{{disable}}" formData="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bind:inputEvent="inputEvent" formDataList="{{first.carFormList}}">
<view slot="brands" class="brand" bindtap="handleJumpBrand">
<view wx:if="{{serviceInfo.carBrandId}}">
{{serviceInfo.carBrand || ''}}
/{{serviceInfo.carChildsBrandName || ''}}/
{{serviceInfo.carSeriesName || ''}}
{{serviceInfo.carBrand || ''}}
-{{serviceInfo.carChildsBrandName || ''}}-
{{serviceInfo.carSeriesName || ''}}
</view>
<view wx:else class="placeholder-class">请选择</view>
</view>
...
...
@@ -59,4 +59,6 @@
</view>
<store-referrer-picker bindconfirm="handleSalesChange" show="{{referrerPicker}}" referrerId="{{orderInfo.referrerId}}" pickerListAll="{{employeeList}}" />
<customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" apiType="2" />
\ No newline at end of file
<customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" apiType="2" />
<car-brands show="{{ carBrandBox }}" bindconfirm="chooseCar" carSeriesId="{{ serviceInfo.carSeriesId || '' }}" equityFlag="true" merchantId="{{ userInfo.default4SStoreInfo.merchantId || undefined }}" />
\ No newline at end of file
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.js
View file @
b544c2a
...
...
@@ -293,7 +293,7 @@ Component({
name
=
c
.
goods
.
goodsAlias
||
c
.
goods
.
upgradeGoodsName
||
c
.
goods
.
goodsName
}
if
(
c
.
packageGoods
)
{
name
=
c
.
packageGoods
.
packageName
name
=
c
.
packageGoods
.
package
Alias
||
c
.
packageGoods
.
package
Name
}
if
(
name
.
indexOf
(
value
)
!=
-
1
)
{
arr
.
push
(
c
)
...
...
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.wxml
View file @
b544c2a
...
...
@@ -28,7 +28,7 @@
<view class="childbox">
<view class="item">
<view class="name text-hide ">
<view>{{i.packageGoods.packageName}}</view>
<view>{{i.packageGoods.package
Alias || i.packageGoods.package
Name}}</view>
</view>
<view class="last">
<text class="price">¥{{i.packageGoods.sellPrice}}</text>
...
...
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.wxml
View file @
b544c2a
...
...
@@ -39,7 +39,7 @@
<view class="deleteicon" bindtap="delGoodsList" data-index="{{ index }}">
<image src="./images/del.png" />
</view>
<view class="name text-hide">{{item.packageGoods.packageName}}</view>
<view class="name text-hide">{{item.packageGoods.package
Alias || item.packageGoods.packageNameAlias || item.packageGoods.package
Name}}</view>
<view class="package-price">¥{{item.price}}</view>
<!-- <view class="count" catchtap="showPopup" data-show-name="goodsBox">x{{item.count||1}}</view> -->
</view>
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
b544c2a
...
...
@@ -440,6 +440,7 @@ Page({
let
obj
=
{
packageId
:
item
.
packageCode
,
packageName
:
item
.
packageName
,
packageNameAlias
:
item
.
packageAlias
||
item
.
packageNameAlias
,
goodsId
:
ele
.
merchantGoodsId
||
ele
.
upgradeGoodsId
,
goodsName
:
ele
.
upgradeGoodsName
||
ele
.
goodsName
,
goodsNameAlias
:
ele
.
goodsAlias
||
ele
.
goodsNameAlias
,
...
...
packageEquity/pages/createDeafeatOrder/createDeafeatOrder.js
View file @
b544c2a
...
...
@@ -222,6 +222,7 @@ Page({
let
obj
=
{
packageId
:
item
.
packageCode
,
packageName
:
item
.
packageName
,
packageNameAlias
:
item
.
packageAlias
||
item
.
packageNameAlias
,
goodsId
:
ele
.
merchantGoodsId
||
ele
.
upgradeGoodsId
,
goodsName
:
ele
.
upgradeGoodsName
||
ele
.
goodsName
,
goodsNameAlias
:
ele
.
goodsAlias
||
ele
.
goodsNameAlias
,
...
...
@@ -292,6 +293,7 @@ Page({
let
obj
=
{
packageId
:
packageGoods
.
packageCode
,
packageName
:
packageGoods
.
packageName
,
packageNameAlias
:
packageGoods
.
packageAlias
||
pachageGoods
.
packageNameAlias
,
goodsId
:
ele
.
goodsId
,
goodsName
:
ele
.
goodsName
,
goodsNameAlias
:
ele
.
goodsNameAlias
,
...
...
packageEquity/pages/createDeafeatOrderAi/createDeafeatOrderAi.js
View file @
b544c2a
...
...
@@ -294,6 +294,7 @@ Page({
let
obj
=
{
packageId
:
item
.
packageCode
,
packageName
:
item
.
packageName
,
packageNameAlias
:
item
.
packageAlias
||
item
.
packageNameAlias
,
goodsId
:
ele
.
merchantGoodsId
||
ele
.
upgradeGoodsId
,
goodsName
:
ele
.
upgradeGoodsName
||
ele
.
goodsName
,
goodsNameAlias
:
ele
.
goodsAlias
||
ele
.
goodsNameAlias
,
...
...
@@ -364,6 +365,7 @@ Page({
let
obj
=
{
packageId
:
packageGoods
.
packageCode
,
packageName
:
packageGoods
.
packageName
,
packageNameAlias
:
packageGoods
.
packageAlias
||
packageGoods
.
packageNameAlias
,
goodsId
:
ele
.
goodsId
,
goodsName
:
ele
.
goodsName
,
goodsNameAlias
:
ele
.
goodsNameAlias
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment