Browse Source

2025-07-17

bm工序批量修改
master
fengyuan_yang 6 months ago
parent
commit
0a7020d9ab
  1. 10
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_cnc.vue
  2. 12
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_cut.vue
  3. 12
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_inkFormulation.vue
  4. 12
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_inkMixing.vue
  5. 14
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_prepress.vue
  6. 12
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printing.vue
  7. 12
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printingFlexo.vue
  8. 12
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printingIndigo.vue
  9. 2
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue

10
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_cnc.vue

@ -3,9 +3,11 @@
<el-form label-position="top" style="margin-top: 10px;">
<el-form-item >
<el-button type="primary" @click="cutSearch(true)" >刷新</el-button>
<el-button type="primary" @click="newCut()" v-if="!ifDisableFlag">新增</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
<template v-if="isAuth('103002:bmRoute')">
<el-button type="primary" @click="newCut()" v-if="!ifDisableFlag">新增</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
</template>
</el-form-item>
<div class="rq">
<el-table
@ -20,7 +22,7 @@
min-width="30"
v-if="!ifDisableFlag"
label="操作">
<template slot-scope="scope">
<template slot-scope="scope" v-if="isAuth('103002:bmRoute')">
<a type="text" size="small" @click="updateCut(scope.row)">编辑</a>
<a type="text" size="small" @click="deleteCut(scope.row)">删除</a>
</template>

12
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_cut.vue

@ -2,10 +2,12 @@
<div class="mod-config">
<el-form label-position="top" style="margin-top: 10px;">
<el-form-item >
<el-button type="primary" @click="cutSearch(true)" >刷新</el-button>
<el-button type="primary" @click="newCut()" v-if="!ifDisableFlag">新增</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
<el-button type="primary" @click="cutSearch(true)">刷新</el-button>
<template v-if="isAuth('103002:bmRoute')">
<el-button type="primary" @click="newCut()" v-if="!ifDisableFlag">新增</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
</template>
</el-form-item>
<div class="rq">
<el-table
@ -20,7 +22,7 @@
min-width="30"
v-if="!ifDisableFlag"
label="操作">
<template slot-scope="scope">
<template slot-scope="scope" v-if="isAuth('103002:bmRoute')">
<a type="text" size="small" @click="updateCut(scope.row)">编辑</a>
<a type="text" size="small" @click="deleteCut(scope.row)">删除</a>
</template>

12
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_inkFormulation.vue

@ -2,10 +2,12 @@
<div class="mod-config">
<el-form label-position="top" style="margin-top: 10px;">
<el-form-item >
<el-button type="primary" @click="colorSearch(true)" >刷新</el-button>
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
<el-button type="primary" @click="colorSearch(true)">刷新</el-button>
<template v-if="isAuth('103002:bmRoute')">
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
</template>
</el-form-item>
<div class="rq">
<el-table
@ -20,7 +22,7 @@
min-width="30"
v-if="!ifDisableFlag"
label="操作">
<template slot-scope="scope">
<template slot-scope="scope" v-if="isAuth('103002:bmRoute')">
<a type="text" size="small" @click="updateColor(scope.row)">编辑</a>
<a type="text" size="small" @click="deleteColor(scope.row)">删除</a>
</template>

12
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_inkMixing.vue

@ -1,6 +1,6 @@
<template>
<div class="mod-config" v-highlight-container>
<el-form label-position="top" style="margin-top: 1px; margin-left: 0px;">
<el-form label-position="top" style="margin-top: 10px; margin-left: 0px;">
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'颜色匹配/Colour Match'">
@ -28,9 +28,11 @@
<el-form label-position="top" style="margin-top: 1px; margin-left: 0px;">
<el-form-item >
<el-button type="primary" @click="colorSearch(true)" >刷新</el-button>
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
<template v-if="isAuth('103002:bmRoute')">
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
</template>
</el-form-item>
<div class="rq">
<el-table
@ -45,7 +47,7 @@
min-width="30"
v-if="!ifDisableFlag"
label="操作">
<template slot-scope="scope">
<template slot-scope="scope" v-if="isAuth('103002:bmRoute')">
<a type="text" size="small" @click="updateColor(scope.row)">编辑</a>
<a type="text" size="small" @click="deleteColor(scope.row)">删除</a>
</template>

14
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_prepress.vue

@ -1,6 +1,6 @@
<template>
<div class="mod-config" v-highlight-container>
<el-form label-position="top" style="margin-top: 1px; margin-left: 0px;height: 230px" v-if="searchData.buNo==='Flexo'">
<el-form label-position="top" style="margin-top: 10px; margin-left: 0px;height: 230px" v-if="searchData.buNo==='Flexo'">
<el-row :gutter="20">
<el-col :span="24" style="height: 95px">
<div class="grid-content bg-purple">
@ -77,10 +77,12 @@
<div class="grid-content bg-purple">
<el-form-item>
<el-button type="primary" @click="searchTable()" >刷新</el-button>
<el-button type="primary" @click="newTool()" v-if="!ifDisableFlag">新增</el-button>
<el-button type="primary" @click="toolSaveBatch()" v-if="!ifDisableFlag">一键导入</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
<template v-if="isAuth('103002:bmRoute')">
<el-button type="primary" @click="newTool()" v-if="!ifDisableFlag">新增</el-button>
<el-button type="primary" @click="toolSaveBatch()" v-if="!ifDisableFlag">一键导入</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
</template>
</el-form-item>
<div class="rq">
<el-table
@ -185,7 +187,7 @@
align="center"
width="100"
label="操作">
<template slot-scope="scope">
<template slot-scope="scope" v-if="isAuth('103002:bmRoute')">
<el-link style="cursor: pointer" @click="updateTool(scope.row)">编辑</el-link>
<el-link style="cursor: pointer" @click="deleteTool(scope.row)">删除</el-link>
</template>

12
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printing.vue

@ -5,10 +5,12 @@
<el-form label-position="top" style="margin-top: 10px;">
<el-form-item>
<el-button type="primary" @click="colorSearch(true)" >刷新</el-button>
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button type="primary" @click="colorSaveBatch()" v-if="!ifDisableFlag">一键导入</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
<template v-if="isAuth('103002:bmRoute')">
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button type="primary" @click="colorSaveBatch()" v-if="!ifDisableFlag">一键导入</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
</template>
</el-form-item>
<div class="rq">
<el-table
@ -23,7 +25,7 @@
min-width="30"
v-if="!ifDisableFlag"
label="操作">
<template slot-scope="scope">
<template slot-scope="scope" v-if="isAuth('103002:bmRoute')">
<a type="text" size="small" @click="updateColor(scope.row)">编辑</a>
<a type="text" size="small" @click="deleteColor(scope.row)">删除</a>
</template>

12
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printingFlexo.vue

@ -5,10 +5,12 @@
<el-form label-position="top" style="margin-top: 10px">
<el-form-item >
<el-button type="primary" @click="colorSearch(true)" >刷新</el-button>
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button type="primary" @click="colorSaveBatch()" v-if="!ifDisableFlag">一键导入</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
<template v-if="isAuth('103002:bmRoute')">
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button type="primary" @click="colorSaveBatch()" v-if="!ifDisableFlag">一键导入</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
</template>
</el-form-item>
<div class="rq">
<el-table
@ -23,7 +25,7 @@
min-width="80"
v-if="!ifDisableFlag"
label="操作">
<template slot-scope="scope">
<template slot-scope="scope" v-if="isAuth('103002:bmRoute')">
<a type="text" size="small" @click="updateColor(scope.row)">编辑</a>
<a type="text" size="small" @click="deleteColor(scope.row)">删除</a>
</template>

12
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printingIndigo.vue

@ -5,10 +5,12 @@
<el-form label-position="top" style="margin-top: 10px;">
<el-form-item>
<el-button type="primary" @click="colorSearch(true)" >刷新</el-button>
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button type="primary" @click="colorSaveBatch()" v-if="!ifDisableFlag">一键导入</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
<template v-if="isAuth('103002:bmRoute')">
<el-button type="primary" @click="newColor()" v-if="!ifDisableFlag">新增</el-button>
<el-button type="primary" @click="colorSaveBatch()" v-if="!ifDisableFlag">一键导入</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="batchLoading">批量保存</el-button>
</template>
</el-form-item>
<div class="rq">
<el-table
@ -23,7 +25,7 @@
min-width="80"
v-if="!ifDisableFlag"
label="操作">
<template slot-scope="scope">
<template slot-scope="scope" v-if="isAuth('103002:bmRoute')">
<a type="text" size="small" @click="updateColor(scope.row)">编辑</a>
<a type="text" size="small" @click="deleteColor(scope.row)">删除</a>
</template>

2
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue

@ -364,7 +364,7 @@
width="60"
label="操作">
<template slot-scope="scope">
<a type="text" size="small" @click="bmModel(scope.row)" v-if="!ifDisableFlag && isAuth('103002:bmRoute')&&!readonly">填写</a>
<a type="text" size="small" @click="bmModel(scope.row)" v-if="!ifDisableFlag && isAuth('103002:bmRoute') && !readonly">填写</a>
</template>
</el-table-column>
<!-- <el-table-column-->

Loading…
Cancel
Save