Commit f1582a4a authored by 王伟's avatar 王伟

外部商品通证发布商品

parent 71400fd7
This diff is collapsed.
......@@ -17,7 +17,7 @@
<Radio :label="2" style="width:200px" :disabled="isDetail || isEdit">使用权销售</Radio>
</RadioGroup>
</div>
<div class="item">
<div class="item" v-if="data.nftSalesType==2">
<label class="label">拷贝数量:</label>
<Input v-model="data.stock" :readonly='isDetail || isEdit' style="width: 400px;">
</Input>
......
......@@ -113,8 +113,7 @@ export default {
}
},
{ title: '操作',
key: 'goodsId',
width: 150,
width: 200,
align: 'center',
fixed: 'right',
render: (h, params) => {
......@@ -125,6 +124,9 @@ export default {
type: 'primary',
size: 'small'
},
style: {
margin: '5px'
},
on: {
click: this.handleRecords(params.row)
}
......@@ -140,6 +142,11 @@ export default {
},
on: {
click: this.handleAdd(params.row)
},
style: {
margin: '5px',
// display: this.isBrand ? 'inline-block' : 'none'
display: params.row.status === 0 ? 'inline-block' : 'none'
}
},
'发布商品'
......@@ -209,7 +216,7 @@ export default {
},
handleAdd (row) {
return () => {
let query = { labelName: row.labelName }
let query = { labelName: row.labelName, commodityPassId: row.commodityPassId, availableNumber: row.availableNumber }
this.$router.push({ name: 'commodity_add_good', query })
}
}
......
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