Commit 09d5b242 authored by youjie's avatar youjie

no message

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