|
@@ -77,11 +77,12 @@
|
|
|
</template>
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
+ <span v-if="record.refundableQty==0">--</span>
|
|
|
<a-button
|
|
|
+ v-else
|
|
|
size="small"
|
|
|
- type="primary"
|
|
|
+ type="link"
|
|
|
class="button-primary"
|
|
|
- :disabled="record.refundableQty==0"
|
|
|
@click="handleAdd(record)"
|
|
|
id="purchaseReturnEdit-add-btn">添加</a-button>
|
|
|
</template>
|
|
@@ -141,7 +142,7 @@
|
|
|
</template>
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
- <a-button size="small" type="primary" class="button-error" @click="handleDel(record)" id="purchaseReturnEdit-del-btn">删除</a-button>
|
|
|
+ <a-button size="small" type="link" class="button-error" @click="handleDel(record)" id="purchaseReturnEdit-del-btn">删除</a-button>
|
|
|
</template>
|
|
|
</s-table>
|
|
|
</a-collapse-panel>
|