|
|
|
@ -89,14 +89,29 @@ |
|
|
|
|
2 |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="商品图片" align="center"> |
|
|
|
|
<el-button type="text" @click="open = true">详情</el-button> |
|
|
|
|
<el-button type="text">审核</el-button> |
|
|
|
|
<el-button type="text" @click="dialog.detail = true">详情</el-button> |
|
|
|
|
<el-button type="text" @click="dialog.audit = true">审核</el-button> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" |
|
|
|
|
:limit.sync="queryParams.pageSize" @pagination="getList" /> |
|
|
|
|
<refund-order-detail :open="open" @close="open = false" /> |
|
|
|
|
<refund-order-detail :open="dialog.detail" @close="dialog.detail = false" /> |
|
|
|
|
<el-dialog title="审核" :visible.sync="dialog.audit"> |
|
|
|
|
<el-form label-width="100px" label-position="left"> |
|
|
|
|
<el-form-item label="审核"> |
|
|
|
|
<el-radio v-model="form.auditType" :key="item.value" :label="item.value" |
|
|
|
|
v-for="item in dict.type.audit_status">{{ |
|
|
|
|
item.label |
|
|
|
|
}}</el-radio> |
|
|
|
|
<el-input type="textarea" v-model="form.refusalCause" placeholder="拒绝原因" autosize /> |
|
|
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
<div style="text-align:center"> |
|
|
|
|
<el-button type="primary" @click="$modal.msgSuccess('保存成功'); dialog.audit = false">保存</el-button> |
|
|
|
|
<el-button @click="form.refusalCause = ''">重置</el-button> |
|
|
|
|
</div> |
|
|
|
|
</el-form> |
|
|
|
|
</el-dialog> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
@ -107,8 +122,10 @@ export default { |
|
|
|
|
dicts: ['refund_type', 'after_sales_order_status', 'refund_cause', 'audit_status'], |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
|
|
|
|
|
open: false, |
|
|
|
|
dialog: { |
|
|
|
|
detail: false, |
|
|
|
|
audit: false |
|
|
|
|
}, |
|
|
|
|
dataList: [{}], |
|
|
|
|
queryParams: { |
|
|
|
|
pageNum: 1, |
|
|
|
@ -118,6 +135,10 @@ export default { |
|
|
|
|
refund_cause: undefined, |
|
|
|
|
dateRange: undefined |
|
|
|
|
}, |
|
|
|
|
form: { |
|
|
|
|
auditType: '0', |
|
|
|
|
refusalCause: '' |
|
|
|
|
}, |
|
|
|
|
//总记录数 |
|
|
|
|
total: 1, |
|
|
|
|
activeName: 'all' |
|
|
|
|