Commit 4978a6bd authored by 王伟's avatar 王伟

屏蔽商品重量

parent 3a9eeaf2
......@@ -130,7 +130,7 @@ export default {
imgObj: {},
commodityPass: 3,
originalPrice: '',
weight: '',
// weight: '',
nftSalesType: '',
stock: ''
// statu:this.status
......@@ -265,7 +265,7 @@ export default {
// this.form.saleInfo.sku = newSku
this.form.saleInfo = {
originalPrice: skus[0].originalPrice,
weight: skus[0].weight,
// weight: skus[0].weight,
nftSalesType: skus[0].nftSalesType,
stock: skus[0].stock
}
......@@ -332,7 +332,7 @@ export default {
republish: '',
skuId: '',
stock: '',
weight: '',
// weight: '',
commodityPassId: ''
}],
packageDTO: {},
......@@ -383,9 +383,9 @@ export default {
if (!saleInfo.originalPrice) {
return { errMsg: '请填写销售价格!' }
}
if (!saleInfo.weight) {
return { errMsg: '请填写商品重量!' }
}
// if (!saleInfo.weight) {
// return { errMsg: '请填写商品重量!' }
// }
if (!saleInfo.nftSalesType) {
return { errMsg: '请选择NFT销售方式!' }
}
......@@ -469,7 +469,7 @@ export default {
item.propertyList = [{ propKey: '规格', propVal: '默认' }]
item.image = form.thumb
item.nftSalesType = this.form.saleInfo.nftSalesType
item.weight = this.form.saleInfo.weight
// item.weight = this.form.saleInfo.weight
item.commodityPassId = this.commodityPassId
item.skuId = this.skuId
item.stock = item.nftSalesType == 1 ? this.availableNumber : this.form.saleInfo.stock
......
......@@ -5,11 +5,11 @@
<Input v-model="data.originalPrice" :readonly='isDetail' type="number" style="width: 400px;">
</Input>
</div>
<div class="item">
<!-- <div class="item">
<label class="label">商品重量:</label>
<Input v-model="data.weight" :readonly='isDetail' type="number" style="width: 400px;">
</Input>
</div>
</div> -->
<div class="item">
<label class="label">NFT销售方式:</label>
<RadioGroup v-model="data.nftSalesType">
......@@ -42,7 +42,7 @@ export default {
default: { sku: [] },
commodityPass: 3,
originalPrice: '',
weight: '',
// weight: '',
nftSalesType: '',
stock: ''
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment