61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
skuPrice
|
|
|
|
isLock: 0
|
|
limitSkuCount: 0
|
|
price: 850
|
|
priceType: 1
|
|
skuID: 7
|
|
|
|
|
|
|
|
|
|
name: item.name, // 名字
|
|
unit: item.unit, // 规格 是否是份
|
|
|
|
specUnit: item.skus[0].specUnit, // 单位
|
|
specQuality: item.skus[0].specQuality, // 重量
|
|
SkuID: item.skus[0].id,
|
|
PriceType: 1,
|
|
originPrice: (item.price / 100).toFixed(2), // 原价 500g
|
|
Price: (prices[index] / 100).toFixed(2), // 活动价
|
|
LimitSkuCount: LimitSkuCounts[index] || 200, // 活动库存
|
|
IsLock: isLock[index] || 0 // 默认不锁定
|
|
|
|
----------skuName
|
|
|
|
brandID: 0
|
|
categoryID: 87
|
|
createdAt: "2018-11-07T13:38:52+08:00"
|
|
deletedAt: "1970-01-01T00:00:00+08:00"
|
|
id: 8227
|
|
img: "http://image.jxc4.com/4ec25d7847ad7a48fb06e57c6376b2f2.jpg"
|
|
isGlobal: 0
|
|
lastOperator: "zhaominfu"
|
|
|
|
places: Array(1)
|
|
prefix: ""
|
|
|
|
skus: Array(1)
|
|
|
|
updatedAt: "2018-11-07T13:39:08+08:00"
|
|
|
|
-------------skus
|
|
|
|
categoryID: 0
|
|
comment: ""
|
|
createdAt: "2018-11-07T13:38:52+08:00"
|
|
deletedAt: "0001-01-01T00:00:00Z"
|
|
id: 22174
|
|
jdID: 2020559287
|
|
jdSyncStatus: 0
|
|
lastOperator: "zhaominfu"
|
|
nameID: 8227
|
|
specQuality: 300
|
|
specUnit: "g"
|
|
status: 1
|
|
updatedAt: "2018-11-07T13:39:08+08:00"
|
|
weight: 300
|
|
|
|
name: "郫县萝卜干"
|
|
unit: "袋"
|
|
price: 800 |