Browse Source

2024-12-30

master
qiezi 1 year ago
parent
commit
7d77373cb5
  1. 2
      src/views/modules/quote/detail/primary/quoteDetailCost.vue
  2. 7
      src/views/modules/quote/detail/primary/quoteDetailOther.vue
  3. 4
      src/views/modules/quote/detail/primary/quoteDetailOtherCost.vue
  4. 7
      src/views/modules/quote/detail/primary/quoteDetailTest.vue
  5. 6
      src/views/modules/quote/detail/primary/quoteDetailTool.vue

2
src/views/modules/quote/detail/primary/quoteDetailCost.vue

@ -395,7 +395,9 @@ export default {
<template>
<div>
<template v-if="isAuth('5011:detail:tab7:compute')">
<el-button :loading="computeLoading" style="margin-right: 10px" type="primary" :disabled="quoteDetail.status === '下达'" @click="handleQueryAllCost"> </el-button>
</template>
<el-popover
placement="bottom-start"
width="100"

7
src/views/modules/quote/detail/primary/quoteDetailOther.vue

@ -214,8 +214,9 @@ export default {
<template>
<div>
<template v-if="isAuth('5011:detail:tab5: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-column label="其他项目" align="left" header-align="center" width="180" prop="otherDesc"></el-table-column>
<el-table-column label="分摊金额" align="right" header-align="center" prop="unitCost"></el-table-column>
@ -225,9 +226,13 @@ export default {
<el-table-column label="备注" align="left" header-align="center" prop="remark"></el-table-column>
<el-table-column label="操作" align="center" v-if="quoteDetail.status === '草稿'">
<template slot-scope="scope" >
<template v-if="isAuth('5011:detail:tab5:update')">
<a @click="handleSave(scope.row)">编辑</a>
</template>
<template v-if="isAuth('5011:detail:tab5:remove')">
<a v-if="scope.row.itemNo !== 0" @click="handleRemove(scope.row)">删除</a>
</template>
</template>
</el-table-column>
</el-table>

4
src/views/modules/quote/detail/primary/quoteDetailOtherCost.vue

@ -244,8 +244,12 @@ export default {
<template>
<div>
<template v-if="isAuth('5011:detail:tab6:save')">
<el-button type="primary" :disabled="quoteDetail.status === '下达'" @click="handleSaveAttribute">新增</el-button>
</template>
<template v-if="isAuth('5011:detail:tab6:update')">
<el-button type="primary" :disabled="quoteDetail.status === '下达'" @click="handleUpdateAttribute">{{updateStatus?'保存':'编辑'}}</el-button>
</template>
<el-table :data="dataList" style="width: 100%" border :height="420">
<el-table-column
v-for="(item,index) in columns" :key="index"

7
src/views/modules/quote/detail/primary/quoteDetailTest.vue

@ -214,8 +214,9 @@ export default {
<template>
<div>
<template v-if="isAuth('5011:detail:tab4: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-column label="测试项" align="left" header-align="center" width="180" prop="testDesc"></el-table-column>
<el-table-column label="测试费金额" align="right" header-align="center" prop="unitCost"></el-table-column>
@ -225,9 +226,13 @@ export default {
<el-table-column label="备注" align="left" header-align="center" prop="remark"></el-table-column>
<el-table-column label="操作" align="center" v-if="quoteDetail.status === '草稿'">
<template slot-scope="scope" >
<template v-if="isAuth('5011:detail:tab4:update')">
<a @click="handleSave(scope.row)">编辑</a>
</template>
<template v-if="isAuth('5011:detail:tab4:remove')">
<a v-if="scope.row.itemNo !== 0" @click="handleRemove(scope.row)">删除</a>
</template>
</template>
</el-table-column>
</el-table>

6
src/views/modules/quote/detail/primary/quoteDetailTool.vue

@ -260,7 +260,9 @@ export default {
<template>
<div>
<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-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>
@ -270,9 +272,13 @@ export default {
<el-table-column label="备注" align="left" header-align="center" prop="remark"></el-table-column>
<el-table-column label="操作" align="center" v-if="quoteDetail.status === '草稿'">
<template slot-scope="scope" >
<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>
</el-table-column>
</el-table>

Loading…
Cancel
Save