|
@@ -67,7 +67,7 @@
|
|
|
ref="table"
|
|
|
size="small"
|
|
|
:rowKey="(record) => record.id"
|
|
|
- :row-selection="{ columnWidth: 40 ,getCheckboxProps:record=>({props:{disabled:(purchaseTargetType&&purchaseTargetType=='SUPPLIER_SYS')||record.productPowerFlag==0}})}"
|
|
|
+ :row-selection="{ columnWidth: 40 ,getCheckboxProps:record=>({props:{disabled:(purchaseTargetType&&purchaseTargetType=='SUPPLIER_SYS'&&record.onlineFalg == 0)||record.productPowerFlag==0}})}"
|
|
|
:scroll="{ y:tableHeight, x: 1000 }"
|
|
|
@rowSelection="rowSelectionFun"
|
|
|
:data="loadData"
|
|
@@ -78,6 +78,7 @@
|
|
|
<!-- 产品编码 -->
|
|
|
<template slot="productCode" slot-scope="text, record">
|
|
|
{{ record.productCode }}
|
|
|
+ <a-tag v-if="record.onlineFalg == 0">下架</a-tag>
|
|
|
<a-tag color="red" v-if="record.productPowerFlag== 0">无权限</a-tag>
|
|
|
</template>
|
|
|
</s-table>
|