Commit 09d5b242 authored by youjie's avatar youjie

no message

parent f85f7149
...@@ -141,16 +141,20 @@ ...@@ -141,16 +141,20 @@
</el-table-column> </el-table-column>
<el-table-column prop="" label="操作" width="165"> <el-table-column prop="" label="操作" width="165">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="账户管理" placement="top"> <template v-if="(scope.row.IsSeeAll==1&&userInfo.EmployeeId==scope.row.CreateBy)||scope.row.IsSeeAll==0">
<el-button @click="AccountManage(scope.row)" <el-tooltip class="item" effect="dark" content="账户管理" placement="top">
<el-button @click="AccountManage(scope.row)"
class="button" type="primary"
icon="el-icon-s-finance" circle>
</el-button>
</el-tooltip>
<el-button @click="Edit(scope.row)"
class="button" type="primary" class="button" type="primary"
icon="el-icon-s-finance" circle> icon="el-icon-edit" circle>
</el-button> </el-button>
</el-tooltip> </template>
<el-button @click="Edit(scope.row)"
class="button" type="primary"
icon="el-icon-edit" circle>
</el-button>
<!-- <el-tooltip class="item" effect="dark" content="详情" placement="top"> <!-- <el-tooltip class="item" effect="dark" content="详情" placement="top">
<el-button @click="Edit(scope.row,1)" <el-button @click="Edit(scope.row,1)"
class="button" type="info" class="button" type="info"
...@@ -163,9 +167,11 @@ ...@@ -163,9 +167,11 @@
icon="el-icon-check" circle> icon="el-icon-check" circle>
</el-button> </el-button>
</el-tooltip> </el-tooltip>
<el-button @click="Delete(scope.row)" <template v-if="(scope.row.IsSeeAll==1&&userInfo.EmployeeId==scope.row.CreateBy)||scope.row.IsSeeAll==0">
class="button" type="danger" <el-button @click="Delete(scope.row)"
icon="el-icon-delete" circle></el-button> class="button" type="danger"
icon="el-icon-delete" circle></el-button>
</template>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -207,7 +213,7 @@ ...@@ -207,7 +213,7 @@
<el-form-item label="供应商名称" prop="Name"> <el-form-item label="供应商名称" prop="Name">
<el-input v-model="form.Name" clearable></el-input> <el-input v-model="form.Name" clearable></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div class="msgbox"> <div class="msgbox">
<el-form-item label="到期时间" prop="ContractEndTime"> <el-form-item label="到期时间" prop="ContractEndTime">
<el-date-picker <el-date-picker
...@@ -268,7 +274,7 @@ ...@@ -268,7 +274,7 @@
</div> </div>
</el-form-item> </el-form-item>
</div> </div>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="resetForm('form'),showVisible = false">取 消</el-button> <el-button size="small" @click="resetForm('form'),showVisible = false">取 消</el-button>
...@@ -335,10 +341,12 @@ ...@@ -335,10 +341,12 @@
ContractUrl: [{ required: true, message: '请上传合同', trigger: "buttom"}], ContractUrl: [{ required: true, message: '请上传合同', trigger: "buttom"}],
ContractEndTime: [{ required: true, message: '请选择合同到期时间', trigger: "change"}], ContractEndTime: [{ required: true, message: '请选择合同到期时间', trigger: "change"}],
}, },
titleName: '新增' titleName: '新增',
userInfo: {}
} }
}, },
created() { created() {
this.userInfo = this.getLocalStorage();
this.msg.Id = this.$route.query.Id?this.$route.query.Id:'' this.msg.Id = this.$route.query.Id?this.$route.query.Id:''
}, },
components: { components: {
......
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