|
|
@ -29,7 +29,7 @@ |
|
|
|
<!-- :active-value="1" :inactive-value="0"(关闭) 加冒号表示数字格式 --> |
|
|
|
<!-- active-value="1" inactive-value="0"(关闭) 不加冒号表示字符串 --> |
|
|
|
<!-- 传入的modelvalue 为数字 0 或者 1 --> |
|
|
|
<GuipSwitch :modelValue="scope.row.is_auto_refund" active-value="1" inactive-value="0" @change="updateAutoRefund(scope.row)"></GuipSwitch> |
|
|
|
<GuipSwitch v-if="scope.row.is_pay_public == 0" :modelValue="scope.row.is_auto_refund" active-value="1" inactive-value="0" @change="updateAutoRefund(scope.row)"></GuipSwitch> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="status" fixed="right" label="启用状态" min-width="30px"> |
|
|
@ -73,7 +73,7 @@ |
|
|
|
<!-- :active-value="1" :inactive-value="0"(关闭) 加冒号表示数字格式 --> |
|
|
|
<!-- active-value="1" inactive-value="0"(关闭) 不加冒号表示字符串 --> |
|
|
|
<!-- 传入的modelvalue 为数字 0 或者 1 --> |
|
|
|
<GuipSwitch :modelValue="scope.row.is_auto_refund" active-value="1" inactive-value="0" @change="updateAutoRefund(scope.row)"></GuipSwitch> |
|
|
|
<GuipSwitch v-if="scope.row.is_pay_public == 0" :modelValue="scope.row.is_auto_refund" active-value="1" inactive-value="0" @change="updateAutoRefund(scope.row)"></GuipSwitch> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="status" fixed="right" label="启用状态" min-width="30px"> |
|
|
|