Commit f1582a4a authored by 王伟's avatar 王伟

外部商品通证发布商品

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