|
|
@ -260,7 +260,9 @@ export default { |
|
|
|
|
|
|
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
<div> |
|
|
<el-button type="primary" @click="handleSave(null)" :disabled="quoteDetail.status === '下达'">新增</el-button> |
|
|
|
|
|
|
|
|
<template v-if="isAuth('5011:detail:tab3:save')"> |
|
|
|
|
|
<el-button type="primary" @click="handleSave(null)" :disabled="quoteDetail.status === '下达'">新增</el-button> |
|
|
|
|
|
</template> |
|
|
<el-table :data="dataList" v-loading="queryLoading" :height="420" border style="width: 100%;margin-top: 5px" > |
|
|
<el-table :data="dataList" v-loading="queryLoading" :height="420" border style="width: 100%;margin-top: 5px" > |
|
|
<el-table-column label="工具描述" align="left" header-align="center" width="180" prop="toolDesc"></el-table-column> |
|
|
<el-table-column label="工具描述" align="left" header-align="center" width="180" prop="toolDesc"></el-table-column> |
|
|
<el-table-column label="模具费金额" align="right" header-align="center" prop="unitCost"></el-table-column> |
|
|
<el-table-column label="模具费金额" align="right" header-align="center" prop="unitCost"></el-table-column> |
|
|
@ -270,8 +272,12 @@ export default { |
|
|
<el-table-column label="备注" align="left" header-align="center" prop="remark"></el-table-column> |
|
|
<el-table-column label="备注" align="left" header-align="center" prop="remark"></el-table-column> |
|
|
<el-table-column label="操作" align="center" v-if="quoteDetail.status === '草稿'"> |
|
|
<el-table-column label="操作" align="center" v-if="quoteDetail.status === '草稿'"> |
|
|
<template slot-scope="scope" > |
|
|
<template slot-scope="scope" > |
|
|
<a @click="handleSave(scope.row)">编辑</a> |
|
|
|
|
|
<a v-if="scope.row.toolNo !== '*'" @click="handleRemove(scope.row)">删除</a> |
|
|
|
|
|
|
|
|
<template v-if="isAuth('5011:detail:tab3:update')"> |
|
|
|
|
|
<a @click="handleSave(scope.row)">编辑</a> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template v-if="isAuth('5011:detail:tab3:remove')"> |
|
|
|
|
|
<a v-if="scope.row.toolNo !== '*'" @click="handleRemove(scope.row)">删除</a> |
|
|
|
|
|
</template> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
|