|
@@ -77,7 +77,13 @@
|
|
|
</template>
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
- <a-button size="small" type="primary" class="button-primary" @click="handleAdd(record)" id="purchaseReturnEdit-add-btn">添加</a-button>
|
|
|
+ <a-button
|
|
|
+ size="small"
|
|
|
+ type="primary"
|
|
|
+ class="button-primary"
|
|
|
+ :disabled="record.refundableQty==0"
|
|
|
+ @click="handleAdd(record)"
|
|
|
+ id="purchaseReturnEdit-add-btn">添加</a-button>
|
|
|
</template>
|
|
|
</s-table>
|
|
|
</a-collapse-panel>
|