自营商城-售后订单-审核

master
panqihua 2 years ago
parent 789baada09
commit 84bc0b4a7d
  1. 31
      src/views/platform/self-operated-mall/after_sales_service.vue

@ -89,14 +89,29 @@
2 2
</el-table-column> </el-table-column>
<el-table-column label="商品图片" align="center"> <el-table-column label="商品图片" align="center">
<el-button type="text" @click="open = true">详情</el-button> <el-button type="text" @click="dialog.detail = true">详情</el-button>
<el-button type="text">审核</el-button> <el-button type="text" @click="dialog.audit = true">审核</el-button>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" @pagination="getList" /> :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> </div>
</template> </template>
<script> <script>
@ -107,8 +122,10 @@ export default {
dicts: ['refund_type', 'after_sales_order_status', 'refund_cause', 'audit_status'], dicts: ['refund_type', 'after_sales_order_status', 'refund_cause', 'audit_status'],
data() { data() {
return { return {
dialog: {
open: false, detail: false,
audit: false
},
dataList: [{}], dataList: [{}],
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
@ -118,6 +135,10 @@ export default {
refund_cause: undefined, refund_cause: undefined,
dateRange: undefined dateRange: undefined
}, },
form: {
auditType: '0',
refusalCause: ''
},
// //
total: 1, total: 1,
activeName: 'all' activeName: 'all'

Loading…
Cancel
Save