|
|
@@ -14,64 +14,65 @@
|
|
|
<el-main>
|
|
|
<!-- 按钮区域 -->
|
|
|
<div class="gva-table-box">
|
|
|
- <div class="gva-btn-list">
|
|
|
- <el-row :span="6">
|
|
|
- <el-input v-model="positionvalue" placeholder="输入工单编号或产品名称" />
|
|
|
- </el-row>
|
|
|
- <el-button type="primary" :icon="Search" @click="onSearch">搜索</el-button>
|
|
|
- <el-button type="primary" @click="onCountByGdbh">切换显示方式</el-button>
|
|
|
- <el-button type="primary" @click="onAdd">新增</el-button>
|
|
|
- <el-button type="primary" @click="onDel">删除</el-button>
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="positionvalue" placeholder="输入工单编号或产品名称" style="width: 180px;" />
|
|
|
+ <el-button type="primary" class="search" icon="search" @click="onSearch"></el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="copy-document" @click="onCountByGdbh">切换显示方式</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="plus" @click="onAdd">新增</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="delete" @click="onDel">删除</el-button>
|
|
|
<div style="margin-left: auto;">
|
|
|
- <el-button type="primary" :icon="Download" @click="exportExcel">导出到Excel</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="download" @click="exportExcel">导出到Excel</el-button>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </el-form-item>
|
|
|
<!-- 数据展示 -->
|
|
|
<el-table ref="multipleTable" style="width: 100%" tooltip-effect="dark" :data="tableData" row-key="ID"
|
|
|
- highlight-current-row="true" border
|
|
|
+ highlight-current-row="true" border
|
|
|
+ :row-style="{ height: '0px' }"
|
|
|
+ :header-row-style="{ height: '20px' }"
|
|
|
+ :header-cell-style="{ padding: '0px' }"
|
|
|
:show-overflow-tooltip="true" @row-click="Click"
|
|
|
@selection-change="handleSelectionChange" @row-dblclick="doubleClick">
|
|
|
- <el-table-column type="selection" width="55" />
|
|
|
- <el-table-column align="left" label="工单编号" prop="sczl_gdbh" width="120"/>
|
|
|
- <el-table-column align="left" label="产品名称" prop="Gd_cpmc" width="340"/>
|
|
|
+ <!-- <el-table-column type="selection" width="55" /> -->
|
|
|
+ <el-table-column fixed align="left" label="工单编号" prop="sczl_gdbh" width="90"/>
|
|
|
+ <el-table-column fixed align="left" label="产品名称" prop="Gd_cpmc" width="250"/>
|
|
|
<el-table-column align="left" label="印件及工序" prop="jyno_gxmc" width="120"/>
|
|
|
- <el-table-column align="left" label="生产日期" prop="sczl_rq" width="120"/>
|
|
|
- <el-table-column align="left" label="机台" prop="sczl_jtbh" width="120"/>
|
|
|
- <el-table-column align="left" label="班组" prop="sczl_bzdh" width="120"/>
|
|
|
- <el-table-column align="left" label="流程单" prop="sczl_num" width="120"/>
|
|
|
- <el-table-column align="left" label="车头产量" prop="sczl_cl" width="120"/>
|
|
|
- <el-table-column align="left" label="色度数" prop="sczl_ms" width="120" />
|
|
|
- <el-table-column align="left" label="制程废" prop="sczl_zcfp" width="120" />
|
|
|
- <el-table-column align="left" label="次品" prop="sczl_zccp" width="120"/>
|
|
|
- <el-table-column align="left" label="来料异常" prop="incomingerror" width="120"/>
|
|
|
- <el-table-column align="left" label="装版工时" prop="sczl_装版工时" width="120"/>
|
|
|
- <el-table-column align="left" label="保养工时" prop="sczl_保养工时" width="120"/>
|
|
|
- <el-table-column align="left" label="打样工时" prop="sczl_打样工时" width="120"/>
|
|
|
+ <el-table-column align="left" label="生产日期" prop="sczl_rq" width="100"/>
|
|
|
+ <el-table-column align="left" label="机台" prop="sczl_jtbh" width="80"/>
|
|
|
+ <el-table-column align="left" label="班组" prop="sczl_bzdh" width="60"/>
|
|
|
+ <el-table-column align="left" label="流程单" prop="sczl_num" width="80"/>
|
|
|
+ <el-table-column align="left" label="车头产量" prop="sczl_cl" width="100"/>
|
|
|
+ <el-table-column align="left" label="色度数" prop="sczl_ms" width="80" />
|
|
|
+ <el-table-column align="left" label="制程废" prop="sczl_zcfp" width="80" />
|
|
|
+ <el-table-column align="left" label="次品" prop="sczl_zccp" width="80"/>
|
|
|
+ <el-table-column align="left" label="来料异常" prop="incomingerror" width="90"/>
|
|
|
+ <el-table-column align="left" label="装版工时" prop="sczl_装版工时" width="90"/>
|
|
|
+ <el-table-column align="left" label="保养工时" prop="sczl_保养工时" width="90"/>
|
|
|
+ <el-table-column align="left" label="打样工时" prop="sczl_打样工时" width="90"/>
|
|
|
<el-table-column align="left" label="异常停机工时" prop="sczl_异常停机工时" width="120"/>
|
|
|
<el-table-column align="left" label="设备运行工时" prop="sczl_设备运行工时" width="120"/>
|
|
|
- <el-table-column align="left" label="组员编号1" prop="sczl_bh1" width="120"/>
|
|
|
- <el-table-column align="left" label="组员姓名1" prop="name1" width="120"/>
|
|
|
- <el-table-column align="left" label="组员编号2" prop="sczl_bh2" width="120"/>
|
|
|
- <el-table-column align="left" label="组员姓名2" prop="name1" width="120" />
|
|
|
- <el-table-column align="left" label="组员编号3" prop="sczl_bh3" width="120"/>
|
|
|
- <el-table-column align="left" label="组员姓名3" prop="name3" width="120"/>
|
|
|
- <el-table-column align="left" label="组员编号4" prop="sczl_bh4" width="120"/>
|
|
|
- <el-table-column align="left" label="组员姓名4" prop="name4"width="120" />
|
|
|
- <el-table-column align="left" label="组员编号5" prop="sczl_bh5" width="120"/>
|
|
|
- <el-table-column align="left" label="组员姓名5" prop="name5" width="120"/>
|
|
|
- <el-table-column align="left" label="组员编号6" prop="sczl_bh6"width="120" />
|
|
|
- <el-table-column align="left" label="组员姓名6" prop="name6" width="120"/>
|
|
|
+ <el-table-column align="left" label="组员编号1" prop="sczl_bh1" width="100"/>
|
|
|
+ <el-table-column align="left" label="组员姓名1" prop="name1" width="100"/>
|
|
|
+ <el-table-column align="left" label="组员编号2" prop="sczl_bh2" width="100"/>
|
|
|
+ <el-table-column align="left" label="组员姓名2" prop="name1" width="100" />
|
|
|
+ <el-table-column align="left" label="组员编号3" prop="sczl_bh3" width="100"/>
|
|
|
+ <el-table-column align="left" label="组员姓名3" prop="name3" width="100"/>
|
|
|
+ <el-table-column align="left" label="组员编号4" prop="sczl_bh4" width="100"/>
|
|
|
+ <el-table-column align="left" label="组员姓名4" prop="name4"width="100" />
|
|
|
+ <el-table-column align="left" label="组员编号5" prop="sczl_bh5" width="100"/>
|
|
|
+ <el-table-column align="left" label="组员姓名5" prop="name5" width="100"/>
|
|
|
+ <el-table-column align="left" label="组员编号6" prop="sczl_bh6"width="100" />
|
|
|
+ <el-table-column align="left" label="组员姓名6" prop="name6" width="100"/>
|
|
|
<el-table-column align="left" label="拆片联拼系数" prop="拆片联拼系数" width="120"/>
|
|
|
- <el-table-column align="left" label="拆片条小盒系数" prop="拆片条小盒系数" width="120"/>
|
|
|
- <el-table-column align="left" label="工价系数" prop="sczl_工价系数" width="160"/>
|
|
|
- <el-table-column align="left" label="日定额" prop="日定额" width="120"/>
|
|
|
- <el-table-column align="left" label="千件工价" prop="piecesprice " width="120"/>
|
|
|
- <el-table-column align="left" label="补产标准" prop="addstandards " width="120"/>
|
|
|
+ <el-table-column align="left" label="拆片条小盒系数" prop="拆片条小盒系数" width="130"/>
|
|
|
+ <el-table-column align="left" label="工价系数" prop="sczl_工价系数" width="100"/>
|
|
|
+ <el-table-column align="left" label="日定额" prop="日定额" width="80"/>
|
|
|
+ <el-table-column align="left" label="千件工价" prop="piecesprice " width="100"/>
|
|
|
+ <el-table-column align="left" label="补产标准" prop="addstandards " width="100"/>
|
|
|
<el-table-column align="left" label="创建用户" prop="sys_id" width="120"/>
|
|
|
<el-table-column align="left" label="创建时间" prop="sys_rq" width="160"/>
|
|
|
<el-table-column align="left" label="修改时间" prop="mod_rq" width="160"/>
|
|
|
- <el-table-column align="left" label="UNIQID" prop="UniqId" width="160"/>
|
|
|
- <el-table-column align="left" label="table_type" prop="table_type" width="120"/>
|
|
|
+ <el-table-column align="left" label="UNIQID" prop="UniqId" width="100"/>
|
|
|
+ <!-- <el-table-column align="left" label="table_type" prop="table_type" width="120"/> -->
|
|
|
<tbody>
|
|
|
<tr v-for="row in filteredRows" :key="row.sczl_gdbh">
|
|
|
<td>{{ row.sczl_gdbh }}</td>
|
|
|
@@ -1858,7 +1859,6 @@ function Click(row, column, event) {
|
|
|
//获取详细信息
|
|
|
const GetInfo = async (value) => {
|
|
|
const response = await productionInfo({UniqId:value});
|
|
|
- console.log(response)
|
|
|
if (response.code === 0) {
|
|
|
formData.value=response.data;
|
|
|
}
|
|
|
@@ -1895,12 +1895,35 @@ onMounted(async () => {
|
|
|
.JKWTree-content {
|
|
|
flex: 1;
|
|
|
}
|
|
|
-.mab{
|
|
|
- margin-bottom: 5px;
|
|
|
-}
|
|
|
/* 选中某行时的背景色*/
|
|
|
.el-table__body tr.current-row>td {
|
|
|
background: #ff80ff !important;
|
|
|
/* 背景颜色 */
|
|
|
}
|
|
|
+</style>
|
|
|
+<style scoped>
|
|
|
+:deep(.el-table td .cell) {
|
|
|
+ line-height: 20px !important;
|
|
|
+}
|
|
|
+:deep(.el-tabs__header){
|
|
|
+ margin-bottom: 0;
|
|
|
+}
|
|
|
+.search{
|
|
|
+ margin-left: 0px !important;
|
|
|
+ margin-right: 10px !important;
|
|
|
+}
|
|
|
+.bt{
|
|
|
+ margin-left: 2px !important;
|
|
|
+ padding: 3px !important;
|
|
|
+ font-size: 12px;
|
|
|
+}
|
|
|
+.el-tabs__header{
|
|
|
+ margin: 0px !important;
|
|
|
+}
|
|
|
+.gva-table-box{
|
|
|
+ padding: 0px !important;
|
|
|
+}
|
|
|
+.mab{
|
|
|
+ margin-bottom: 5px;
|
|
|
+}
|
|
|
</style>
|