Commit 066e60e2 authored by youjie's avatar youjie

no message

parent 9910dbf5
......@@ -512,6 +512,7 @@ tr._item_list td:last-child {
<el-option value="18" v-if="isShowType" label="单项包车"></el-option>
<el-option value="19" v-if="isShowType" label="单项门票"></el-option>
<el-option value="20" label="开票收入"></el-option>
<el-option value="21" label="日本手配费收入"></el-option>
</el-select>
<el-select v-model="msg.DataType" :disabled="shujuType" filterable class="w150" v-if="isShowGrounding==false">
<el-option value="6" v-if="isShowType" label="日本地接部专户"></el-option>
......
......@@ -138,7 +138,7 @@
<p>{{scope.row.CreateDate}}</p>
</template>
</el-table-column>
<el-table-column prop="" label="操作" width="125">
<el-table-column prop="" label="操作" width="165">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="账户管理" placement="top">
<el-button @click="AccountManage(scope.row)"
......@@ -156,6 +156,12 @@
icon="el-icon-view" circle>
</el-button>
</el-tooltip> -->
<el-tooltip v-if="scope.row.AccountStatus==0&&scope.row.IsSeeAll==0" class="item" effect="dark" content="审核" placement="top">
<el-button @click="clickExamine(scope.row)"
class="button" type="primary"
icon="el-icon-check" circle>
</el-button>
</el-tooltip>
<el-button @click="Delete(scope.row)"
class="button" type="danger"
icon="el-icon-delete" circle></el-button>
......@@ -270,12 +276,26 @@
<el-button size="small" type="danger" @click="submit('form')" :loading="submitLoading">确 定</el-button>
</span>
</el-dialog>
<el-dialog
title="提示"
:visible.sync="dialogVisible"
width="30%">
<span>是否通过该数据?</span>
<span slot="footer" class="dialog-footer">
<el-button @click="ExamineGroundingSupplier(form.Id,2)"
:loading="submitLoading" size="small">拒 绝</el-button>
<el-button type="primary" @click="ExamineGroundingSupplier(form.Id,1)"
:loading="submitLoading2" size="small">通 过</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
export default {
data() {
return {
submitLoading2: false,
dialogVisible: false,
loading: false,
DataList: [],
heightQueryBox: false,
......@@ -383,6 +403,47 @@
}
this.showVisible = true
},
clickExamine(row){
this.form = JSON.parse(JSON.stringify(row))
this.dialogVisible = true
// let _this = this
// this.$confirm("审核该数据", "提示", {
// confirmButtonText: "通过",
// cancelButtonText: "拒绝",
// type: "warning"
// })
// .then(() => {
// _this.ExamineGroundingSupplier(row.Id,1)
// })
// .catch(() => {
// _this.ExamineGroundingSupplier(row.Id,2)
// });
},
ExamineGroundingSupplier(Id,AccountStatus){
if(AccountStatus==1){
this.submitLoading2 = true
}else{
this.submitLoading = true
}
this.apipost('travel_get_ExamineGroundingSupplier', {
Id: Id,
AccountStatus: AccountStatus
}, res => {
this.form = {}
this.dialogVisible = false
if(AccountStatus==1){
this.submitLoading2 = false
}else{
this.submitLoading = false
}
if (res.data.resultCode == 1) {
this.Success(res.data.message)
this.getPageList()
} else {
this.Error(res.data.message)
}
})
},
Delete(row){
this.$confirm("是否删除? 删除后不可恢复", "提示", {
confirmButtonText: "确定",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment