|
|
@@ -91,9 +91,10 @@
|
|
|
{{scope.row.memo?scope.row.memo:"-"}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column fixed="right" width="100px" prop="uid" label="操作">
|
|
|
+ <el-table-column fixed="right" min-width="200px" prop="uid" label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="primary" size="small" v-if="scope.row.status==2 && role=='1' && scope.row.invoice_type!=3" @click="confirm_status(scope.row.id,'是否确认已核对?',3)">审核通过</el-button>
|
|
|
+ <el-button type="primary" size="small" v-if="scope.row.status==2 && role=='1' && scope.row.invoice_type!=3" @click="confirm_refuse(scope.row.id)">驳回订单</el-button>
|
|
|
<el-button type="primary" size="small" v-if="scope.row.status==4 && role=='1' && scope.row.invoice_type!=3" @click="confirm_status(scope.row.id,'是否确认制单?',5)">确认制单</el-button>
|
|
|
<el-button type="danger" size="small" v-if="scope.row.status==5 && role=='1' && scope.row.invoice_type!=3" @click="confirm_status(scope.row.id,'是否确认打款?',6)">确认打款</el-button>
|
|
|
<el-button type="primary" size="small" v-if="scope.row.status==3" @click="confirm_js(scope.row.id,'是否确认付款?')">确认付款</el-button>
|
|
|
@@ -250,13 +251,13 @@
|
|
|
this.status = res.data.list;
|
|
|
}
|
|
|
},
|
|
|
- async admin_refuse(id) {
|
|
|
+ async confirm_refuse(id) {
|
|
|
this.$prompt('请输入拒绝的理由', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
}).then(async ({ value }) => {
|
|
|
this.loading = true;
|
|
|
- let res =await this.$post("/uapi/pub/info/user/user_invoice/admin_refuse",{id:id,reason:value});
|
|
|
+ let res =await this.$post("/uapi/pub/info/user/user_settlement/set_status",{id:id,reason:value,status:8});
|
|
|
if (res.status == 1) {
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
@@ -269,7 +270,7 @@
|
|
|
}).catch(() => {
|
|
|
this.$message({
|
|
|
type: 'info',
|
|
|
- message: '已取消删除'
|
|
|
+ message: '已取消'
|
|
|
});
|
|
|
});
|
|
|
},
|