|
@@ -15,6 +15,7 @@
|
|
|
<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 95px" @click="gzSel" >员工工资查询</el-button>
|
|
<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 95px" @click="gzSel" >员工工资查询</el-button>
|
|
|
<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="oncomplaints" >客诉记录</el-button>
|
|
<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="oncomplaints" >客诉记录</el-button>
|
|
|
<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 120px" @click="deldbcl_onclick" :disabled="dbclSelection === ''" title="当班产量明细" >当班产量明细删除</el-button>
|
|
<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 120px" @click="deldbcl_onclick" :disabled="dbclSelection === ''" title="当班产量明细" >当班产量明细删除</el-button>
|
|
|
|
|
+ <el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 95px" @click="pd_lcdlistonClick" >流程单查询</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</header>
|
|
</header>
|
|
|
|
|
|
|
@@ -146,7 +147,7 @@
|
|
|
<el-tab-pane label="当班产量明细" @click="showsTable('当班产量明细')" name="third">
|
|
<el-tab-pane label="当班产量明细" @click="showsTable('当班产量明细')" name="third">
|
|
|
<el-table ref="multipleTable" highlight-current-row="true" :show-overflow-tooltip="true" :row-style="{ height: '40px' }"
|
|
<el-table ref="multipleTable" highlight-current-row="true" :show-overflow-tooltip="true" :row-style="{ height: '40px' }"
|
|
|
:cell-style="{ padding: '0px'}" :header-row-style="{ height: '40px' }" :header-cell-style="{ padding: '0px' }"
|
|
:cell-style="{ padding: '0px'}" :header-row-style="{ height: '40px' }" :header-cell-style="{ padding: '0px' }"
|
|
|
- @row-dblclick="ybupdateCompanyFunc" style="width: 100%;height: 400px;color:purple;font-weight: bold;" border tooltip-effect="dark"
|
|
|
|
|
|
|
+ @row-dblclick="ybupdateCompanyFunc" @row-click="dbclmxclick" style="width: 100%;height: 400px;color:purple;font-weight: bold;" border tooltip-effect="dark"
|
|
|
:data="CLMXData" row-key="ID" @selection-change="dbclmxSelectionChange">
|
|
:data="CLMXData" row-key="ID" @selection-change="dbclmxSelectionChange">
|
|
|
<el-table-column type="selection" width="55" />
|
|
<el-table-column type="selection" width="55" />
|
|
|
<el-table-column align="left" label="生产时段" prop="生产时间段" width="180"/>
|
|
<el-table-column align="left" label="生产时段" prop="生产时间段" width="180"/>
|
|
@@ -159,14 +160,14 @@
|
|
|
<el-table-column align="left" label="制程次品" prop="制程次品" width="100" />
|
|
<el-table-column align="left" label="制程次品" prop="制程次品" width="100" />
|
|
|
<el-table-column align="left" label="前工序废" prop="前工序废" width="100" />
|
|
<el-table-column align="left" label="前工序废" prop="前工序废" width="100" />
|
|
|
<el-table-column align="left" label="来料异常" prop="来料异常" width="100"/>
|
|
<el-table-column align="left" label="来料异常" prop="来料异常" width="100"/>
|
|
|
|
|
+ <el-table-column align="left" label="码开始行" prop="码开始行" width="100" />
|
|
|
|
|
+ <el-table-column align="left" label="码结束行" prop="码结束行" width="100" />
|
|
|
|
|
+ <el-table-column align="left" label="码包" prop="码包" width="100" />
|
|
|
<el-table-column align="left" label="装版工时" prop="装版工时" width="100" />
|
|
<el-table-column align="left" label="装版工时" prop="装版工时" width="100" />
|
|
|
<el-table-column align="left" label="保养工时" prop="保养工时" width="100" />
|
|
<el-table-column align="left" label="保养工时" prop="保养工时" width="100" />
|
|
|
<el-table-column align="left" label="打样工时" prop="打样工时" width="100"/>
|
|
<el-table-column align="left" label="打样工时" prop="打样工时" 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="通电工时" width="100"/>
|
|
<el-table-column align="left" label="通电工时" prop="通电工时" width="100"/>
|
|
|
- <el-table-column align="left" label="码开始行" prop="码开始行" width="100" />
|
|
|
|
|
- <el-table-column align="left" label="码结束行" prop="码结束行" width="100" />
|
|
|
|
|
- <el-table-column align="left" label="码包" prop="码包" width="100" />
|
|
|
|
|
<el-table-column align="left" label="主电表" prop="主电表" width="100"/>
|
|
<el-table-column align="left" label="主电表" prop="主电表" width="100"/>
|
|
|
<el-table-column align="left" label="辅电表" prop="辅电表" width="100" />
|
|
<el-table-column align="left" label="辅电表" prop="辅电表" width="100" />
|
|
|
<el-table-column align="left" label="色度数" prop="色度" width="100" />
|
|
<el-table-column align="left" label="色度数" prop="色度" width="100" />
|
|
@@ -1304,18 +1305,18 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row :gutter="24" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-row :gutter="24" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
- <el-col :span="1" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="日期" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-input v-model="formData3.日期" id="日期" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, 'gxh', '日期', '流程标牌')" placeholder="" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="流程标牌" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-input v-model="formData3.流程标牌" id="流程标牌" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '日期', '流程标牌', '上机时间')" placeholder="" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
|
|
+ <!-- <el-col :span="1" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ </el-col> -->
|
|
|
|
|
+ <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="日期" prop="" style="margin-top:0px; margin-bottom: 1px;margin-left:24px">
|
|
|
|
|
+ <el-input v-model="formData3.日期" id="日期" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, 'gxh', '日期', '流程标牌')" placeholder="" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="流程标牌" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-input v-model="formData3.流程标牌" id="流程标牌" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '日期', '流程标牌', '上机时间')" placeholder="" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
<el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-form-item label="上机时间" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-form-item label="上机时间" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-input v-model="formData3.上机时间" id="上机时间" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '流程标牌', '上机时间', '下机时间')" placeholder="" />
|
|
<el-input v-model="formData3.上机时间" id="上机时间" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '流程标牌', '上机时间', '下机时间')" placeholder="" />
|
|
@@ -1333,85 +1334,102 @@
|
|
|
<!-- <div style="margin-top: 20px;">-->
|
|
<!-- <div style="margin-top: 20px;">-->
|
|
|
<div style="margin-top: 5px;">
|
|
<div style="margin-top: 5px;">
|
|
|
<el-row :gutter="24" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-row :gutter="24" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
- <el-col :span="1" style="margin-top:0px; margin-bottom: 1px;"></el-col>
|
|
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="产量" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-input v-model="formData3.产量" id="产量" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '下机时间', '产量', '制程废品')" placeholder="" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
|
|
+ <!-- <el-col :span="1" style="margin-top:0px; margin-bottom: 1px;"></el-col> -->
|
|
|
|
|
+ <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="产量" prop="" style="margin-top:0px; margin-bottom: 1px;margin-left:24px">
|
|
|
|
|
+ <el-input v-model="formData3.产量" id="产量" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '下机时间', '产量', '制程废品')" placeholder="" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-form-item label="制程废品" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-form-item label="制程废品" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-input v-model="formData3.制程废品" id="制程废品" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '产量', '制程废品', '制程次品')" placeholder="" />
|
|
<el-input v-model="formData3.制程废品" id="制程废品" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '产量', '制程废品', '制程次品')" placeholder="" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
<el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
- <el-form-item label="制程次品" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
|
|
+ <el-form-item label="制程次品" prop="id" style="margin-top:0px; margin-bottom: 1px;margin-left:0px">
|
|
|
<el-input v-model="formData3.制程次品" id="制程次品" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '制程废品', '制程次品', '前工序废')" placeholder="" />
|
|
<el-input v-model="formData3.制程次品" id="制程次品" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '制程废品', '制程次品', '前工序废')" placeholder="" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
<el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-form-item label="前工序废" prop="" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-form-item label="前工序废" prop="" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-input v-model="formData3.前工序废" id="前工序废" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '制程次品', '前工序废', '来料异常')" placeholder="" />
|
|
<el-input v-model="formData3.前工序废" id="前工序废" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '制程次品', '前工序废', '来料异常')" placeholder="" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-form-item label="来料异常" prop="" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-form-item label="来料异常" prop="" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-input v-model="formData3.来料异常" id="来料异常" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '前工序废', '来料异常', '联数')" placeholder="" />
|
|
<el-input v-model="formData3.来料异常" id="来料异常" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '前工序废', '来料异常', '联数')" placeholder="" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
<el-row :gutter="24" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-row :gutter="24" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
- <el-col :span="1" style="margin-top:0px; margin-bottom: 1px;"></el-col>
|
|
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="联数" prop="" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-input v-model="formData3.Gy0_ls" id="联数" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '来料异常', '联数', '墨色')" placeholder="" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="墨色" prop="" label-width="60" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-input v-model="formData3.Gy0_ms" id="墨色" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '联数', '墨色', '装版总时长')" placeholder="" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="装版总时长" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-input v-model="formData3.装版总时长" disabled id="装版总时长" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '墨色', '装版总时长', '打样总工时')" placeholder="" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="打样总工时" label-width="100" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
|
|
+ <!-- <el-col :span="1" style="margin-top:0px; margin-bottom: 1px;"></el-col> -->
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="联数" prop="" style="margin-top:0px; margin-bottom: 1px;margin-left:24px">
|
|
|
|
|
+ <el-input v-model="formData3.Gy0_ls" id="联数" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '来料异常', '联数', '墨色')" placeholder="" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="墨色" prop="" label-width="60" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-input v-model="formData3.Gy0_ms" id="墨色" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '联数', '墨色', '装版总时长')" placeholder="" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="装版总时长" prop="id" style="margin-top:0px; margin-bottom: 1px;margin-left:-12px">
|
|
|
|
|
+ <el-input v-model="formData3.装版总时长" disabled id="装版总时长" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '墨色', '装版总时长', '打样总工时')" placeholder="" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="打样总工时" prop="id" style="margin-top:0px; margin-bottom: 1px;margin-left:-12px">
|
|
|
<el-input v-model="formData3.打样总工时" disabled style="margin-top:0px; margin-bottom: 1px;" id="打样总工时" @keydown="ent($event, '装版总时长', '打样总工时', '通电工时')" placeholder="" />
|
|
<el-input v-model="formData3.打样总工时" disabled style="margin-top:0px; margin-bottom: 1px;" id="打样总工时" @keydown="ent($event, '装版总时长', '打样总工时', '通电工时')" placeholder="" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
<el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-form-item label="通电工时" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-form-item label="通电工时" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
<el-input v-model="formData3.通电工时" style="margin-top:0px; margin-bottom: 1px;" id="通电工时" @keydown="ent($event, '打样总工时', '通电工时', '定额代号')" placeholder="" />
|
|
<el-input v-model="formData3.通电工时" style="margin-top:0px; margin-bottom: 1px;" id="通电工时" @keydown="ent($event, '打样总工时', '通电工时', '定额代号')" placeholder="" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
+
|
|
|
<el-row :gutter="20" style="margin-top:0px; margin-bottom: 1vh;">
|
|
<el-row :gutter="20" style="margin-top:0px; margin-bottom: 1vh;">
|
|
|
- <el-col :span="1" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
|
|
+ <!-- <el-col :span="1" style="margin-top:0px; margin-bottom: 1px;"></el-col> -->
|
|
|
|
|
+ <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;margin-left:0">
|
|
|
|
|
+ <el-form-item label="定额代号" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-input v-model="formData3.定额代号" id="定额代号" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '通电工时', '定额代号', '码包')" placeholder="" />
|
|
|
|
|
+ </el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="定额代号" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-input v-model="formData3.定额代号" id="定额代号" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '通电工时', '定额代号', '码包')" placeholder="" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="码包" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="3" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="码开始行" prop="id" style="margin-top:0px; margin-bottom: 1px;margin-left:0">
|
|
|
|
|
+ <el-input v-model="formData3.码开始行" style="margin-top:0px; margin-bottom: 1px;" id="码包" @keydown="ent($event, '定额代号', '码包', '主电表')" placeholder="" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="3" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="码结束行" prop="id" style="margin-top:0px; margin-bottom: 1px;margin-left:0">
|
|
|
|
|
+ <el-input v-model="formData3.码结束行" style="margin-top:0px; margin-bottom: 1px;" id="码包" @keydown="ent($event, '定额代号', '码包', '主电表')" placeholder="" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="6" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="码包" prop="id" style="margin-top:0px; margin-bottom: 1px;margin-left:105px">
|
|
|
<el-input v-model="formData3.码包" style="margin-top:0px; margin-bottom: 1px;" id="码包" @keydown="ent($event, '定额代号', '码包', '主电表')" placeholder="" />
|
|
<el-input v-model="formData3.码包" style="margin-top:0px; margin-bottom: 1px;" id="码包" @keydown="ent($event, '定额代号', '码包', '主电表')" placeholder="" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
- <el-form-item label="主电表" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
|
|
+ <el-col :span="5" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
+ <el-form-item label="主电表" prop="id" style="margin-top:0px; margin-bottom: 1px;margin-left:14px">
|
|
|
<el-input v-model="formData3.主电表" style="margin-top:0px; margin-bottom: 1px;" id="主电表" @keydown="ent($event, '码包', '主电表', '辅电表')" placeholder="" />
|
|
<el-input v-model="formData3.主电表" style="margin-top:0px; margin-bottom: 1px;" id="主电表" @keydown="ent($event, '码包', '主电表', '辅电表')" placeholder="" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
<el-col :span="4" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
- <el-form-item label="辅电表" prop="id" style="margin-top:0px; margin-bottom: 1px;">
|
|
|
|
|
|
|
+ <el-form-item label="辅电表" prop="id" style="margin-top:0px; margin-bottom: 1px;margin-left:16px">
|
|
|
<el-input v-model="formData3.辅电表" id="辅电表" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '主电表', '辅电表', 'bzdh')" placeholder="" />
|
|
<el-input v-model="formData3.辅电表" id="辅电表" style="margin-top:0px; margin-bottom: 1px;" @keydown="ent($event, '主电表', '辅电表', 'bzdh')" placeholder="" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -1419,7 +1437,7 @@
|
|
|
<div style="display: flex;">
|
|
<div style="display: flex;">
|
|
|
<div style="width: 248vh;">组员及分配比例</div>
|
|
<div style="width: 248vh;">组员及分配比例</div>
|
|
|
<div style="width: 22vh;">特殊组员</div>
|
|
<div style="width: 22vh;">特殊组员</div>
|
|
|
- <div style="">拉料人员</div>
|
|
|
|
|
|
|
+ <div style="width: 22vh;">拉料人员</div>
|
|
|
</div>
|
|
</div>
|
|
|
<el-row :gutter="10" style="margin-top: 1vh;">
|
|
<el-row :gutter="10" style="margin-top: 1vh;">
|
|
|
<el-col :span="2">
|
|
<el-col :span="2">
|
|
@@ -1749,7 +1767,45 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <!--流程单查询【弹窗】-->
|
|
|
|
|
+ <el-dialog v-model="pd_lcdlist" title="工单工序生产进程" style="width: 100%;height: 100%;margin: 0px;padding: 0px;">
|
|
|
|
|
+ <div style="width: 100%;height: 100%;">
|
|
|
|
|
+ <el-button type="" @click="pd_lcdCancel">退出</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div style="width: 100%; height: 100%; display: flex; align-items: center;">
|
|
|
|
|
+ <el-form-item label="工单编号" style="margin-right: 20px; padding: 0;">
|
|
|
|
|
+ <el-input v-model="pd_lcdformData['gdbh']" @keyup.enter="pd_lcdProductValue"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="印件号" style="margin-right: 5px; padding: 0;">
|
|
|
|
|
+ <el-input v-model="pd_lcdformData['yjno']" @keyup.enter="pd_lcdProductValue"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="" style="margin-right: 5px; padding: 0;">
|
|
|
|
|
+ <el-input v-model="pd_lcdformData['code']" disabled/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="" style="margin-right: 5px; padding: 0;">
|
|
|
|
|
+ <el-input v-model="pd_lcdformData['name']" disabled style="width: 500px"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div style="width: 100%; height: 70vh; display: flex;">
|
|
|
|
|
+ <layout>
|
|
|
|
|
+ <layout-sider :resize-directions="['right']" :width="240" style="margin-right: 10px;height: 70vh;">
|
|
|
|
|
+ <div class="JKWTree-tree">
|
|
|
|
|
+ <el-tree :data="pd_lcd_treeData" @node-click="pd_lcd_handleNodeClick" default-expand-all></el-tree>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </layout-sider>
|
|
|
|
|
+ <layout-main>
|
|
|
|
|
+ <!-- 这里放右侧的内容 -->
|
|
|
|
|
+ <el-space wrap>
|
|
|
|
|
+ <!-- 右侧内容 -->
|
|
|
|
|
+ <template v-for="item in processList.total_process">
|
|
|
|
|
+ <el-button disabled :type="! processList.process.includes(item) ? 'danger' : 'info'" plain style="width: 50px">{{ item }}</el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-space>
|
|
|
|
|
+ </layout-main>
|
|
|
|
|
+ </layout>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -2129,7 +2185,10 @@ import {
|
|
|
import {
|
|
import {
|
|
|
EquipmentSchedulingEdit,
|
|
EquipmentSchedulingEdit,
|
|
|
Procedure,
|
|
Procedure,
|
|
|
- teamDel, workOrderListDetail
|
|
|
|
|
|
|
+ teamDel,
|
|
|
|
|
+ workOrderListDetail,
|
|
|
|
|
+ getOrderProcessLeft,
|
|
|
|
|
+ getOrderProcessRight
|
|
|
} from "@/api/yunyin/yunying";
|
|
} from "@/api/yunyin/yunying";
|
|
|
|
|
|
|
|
import {
|
|
import {
|
|
@@ -2446,6 +2505,10 @@ const bzcloseDialog = async () => {
|
|
|
const dbclmxhandleSelectionChange = async (row) => {
|
|
const dbclmxhandleSelectionChange = async (row) => {
|
|
|
console.log(row)
|
|
console.log(row)
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+const dbclmxclick = async (row) => {
|
|
|
|
|
+ console.log(row)
|
|
|
|
|
+}
|
|
|
const ybupdateCompanyFunc = async (row) => {
|
|
const ybupdateCompanyFunc = async (row) => {
|
|
|
console.log(currentBz.value)
|
|
console.log(currentBz.value)
|
|
|
dbformData.value = {};
|
|
dbformData.value = {};
|
|
@@ -3717,7 +3780,7 @@ const ReportInfo = async () => {
|
|
|
console.log(getTimelistss)
|
|
console.log(getTimelistss)
|
|
|
console.log("获取下机时间")
|
|
console.log("获取下机时间")
|
|
|
console.log(formData)
|
|
console.log(formData)
|
|
|
-
|
|
|
|
|
|
|
+ chanliangVisible.value = true
|
|
|
//4.1获取报工单其他信息接口
|
|
//4.1获取报工单其他信息接口
|
|
|
const response = await reportInfo({ machine: JTMC.split("#")[0] });
|
|
const response = await reportInfo({ machine: JTMC.split("#")[0] });
|
|
|
// console.log(response)
|
|
// console.log(response)
|
|
@@ -3889,7 +3952,10 @@ const SubmitDailyProduction = async () => {
|
|
|
code: formData3.value.码包,
|
|
code: formData3.value.码包,
|
|
|
main_meter: formData3.value.主电表,
|
|
main_meter: formData3.value.主电表,
|
|
|
auxiliary_meter: formData3.value.辅电表,
|
|
auxiliary_meter: formData3.value.辅电表,
|
|
|
- bom: formData3.value.formattedArray
|
|
|
|
|
|
|
+ bom: formData3.value.formattedArray,
|
|
|
|
|
+ ma_start: formData3.value.码开始行,
|
|
|
|
|
+ ma_end: formData3.value.码结束行,
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
console.log(restoredData)
|
|
console.log(restoredData)
|
|
|
//4.2日产量上报 添加
|
|
//4.2日产量上报 添加
|
|
@@ -5314,9 +5380,13 @@ const updateCompanyFunc = async(row) => {
|
|
|
}
|
|
}
|
|
|
const rowws = ref(null)
|
|
const rowws = ref(null)
|
|
|
const wangongbh = ref(null)
|
|
const wangongbh = ref(null)
|
|
|
|
|
+const _Gd_gdbh = ref(null)
|
|
|
|
|
+const _Gd_yjno = ref(null)
|
|
|
//设备作业清单单机
|
|
//设备作业清单单机
|
|
|
const yjupdateCompanyFunc = async(row) => {
|
|
const yjupdateCompanyFunc = async(row) => {
|
|
|
console.log(row)
|
|
console.log(row)
|
|
|
|
|
+ _Gd_gdbh.value = row['工单编号|质量信息'].replace(/\|$/, '')
|
|
|
|
|
+ _Gd_yjno.value = row['印件号']
|
|
|
rowws.value = row
|
|
rowws.value = row
|
|
|
wangongbh.value = row['工单编号|质量信息'].replace(/\|$/, '')
|
|
wangongbh.value = row['工单编号|质量信息'].replace(/\|$/, '')
|
|
|
console.log("通过 "+row['工单编号|质量信息'].replace(/\|$/, '')+" 获取右上角数据↓↓↓↓↓")
|
|
console.log("通过 "+row['工单编号|质量信息'].replace(/\|$/, '')+" 获取右上角数据↓↓↓↓↓")
|
|
@@ -5552,6 +5622,79 @@ const enterDialog = async () => {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// =========== 流程单查询 ===========
|
|
|
|
|
+
|
|
|
|
|
+const pd_lcdlist = ref(false);
|
|
|
|
|
+const pd_lcdformData = reactive({
|
|
|
|
|
+ gdbh: '',
|
|
|
|
|
+ code: '',
|
|
|
|
|
+ name: '',
|
|
|
|
|
+ yjno: '',
|
|
|
|
|
+});
|
|
|
|
|
+// 流程单查询按钮
|
|
|
|
|
+const processList = ref([]);
|
|
|
|
|
+const pd_lcdlistonClick = async () => {
|
|
|
|
|
+ if(_Gd_gdbh.value === '' || _Gd_gdbh.value === null){
|
|
|
|
|
+ ElMessage({type: 'warning',message: '请选择具体的工单,在进行操作'})
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }else{
|
|
|
|
|
+ pd_lcdformData['gdbh'] = _Gd_gdbh.value;
|
|
|
|
|
+ pd_lcdformData['yjno'] = _Gd_yjno.value;
|
|
|
|
|
+ pd_lcdlist.value = true;
|
|
|
|
|
+ processList.value = []
|
|
|
|
|
+ _getOrderProcessLeft_list();
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+const pd_lcdProductValue = async () => {
|
|
|
|
|
+ _getOrderProcessLeft_list();
|
|
|
|
|
+}
|
|
|
|
|
+const pd_lcd_treeData = ref([]);
|
|
|
|
|
+const _getOrderProcessLeft_list = async () => {
|
|
|
|
|
+ const order = pd_lcdformData['gdbh'];
|
|
|
|
|
+ const yjno = pd_lcdformData['yjno']
|
|
|
|
|
+ // console.log(order)
|
|
|
|
|
+ try {
|
|
|
|
|
+ //5.1流程单查询-工单工序生产进程菜单栏
|
|
|
|
|
+ const getOrderProcessLeft_list = await getOrderProcessLeft({ order:order,yjno:yjno});
|
|
|
|
|
+ console.log(getOrderProcessLeft_list)
|
|
|
|
|
+ pd_lcdformData['code'] = getOrderProcessLeft_list.data.Gd_info['code'];
|
|
|
|
|
+ pd_lcdformData['name'] = getOrderProcessLeft_list.data.Gd_info['name'];
|
|
|
|
|
+ pd_lcd_treeData.value = [{
|
|
|
|
|
+ label: order + '-' + getOrderProcessLeft_list.data.Gd_info['name'],
|
|
|
|
|
+ // label: order + '-' + getOrderProcessLeft_list.data.Gd_info['code'] + '-' + getOrderProcessLeft_list.data.Gd_info['name'],
|
|
|
|
|
+ value: undefined,
|
|
|
|
|
+ children: []
|
|
|
|
|
+ }]
|
|
|
|
|
+ const newData = [];
|
|
|
|
|
+ for (let key in getOrderProcessLeft_list.data.Gy_info) {
|
|
|
|
|
+ let temp = getOrderProcessLeft_list.data.Gy_info[key];
|
|
|
|
|
+ let concatenatedValue = `${temp.Gy0_yjno}-${temp.Gy0_gxh} ---> ${temp.Gy0_gxmc}`;
|
|
|
|
|
+ newData.push({ label: concatenatedValue,value: temp.Gy0_gxh });
|
|
|
|
|
+ }
|
|
|
|
|
+ pd_lcd_treeData.value[0].children = newData;
|
|
|
|
|
+ //5.2流程单查询-获取工单工序生产进程右侧【进入页面默认显示第一个】
|
|
|
|
|
+ const getOrderProcessRight_list = await getOrderProcessRight({order:order, gxNo:newData[0].value,yjno:yjno});
|
|
|
|
|
+ processList.value = getOrderProcessRight_list.data
|
|
|
|
|
+ } catch (error) {
|
|
|
|
|
+ console.error(error);
|
|
|
|
|
+ }
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+const pd_lcd_handleNodeClick = async (node) => {
|
|
|
|
|
+ if (node.value === undefined) return
|
|
|
|
|
+ const order = pd_lcdformData['gdbh'];
|
|
|
|
|
+ const yjno = pd_lcdformData['yjno'];
|
|
|
|
|
+ ////5.2流程单查询-获取工单工序生产进程右侧
|
|
|
|
|
+ const getOrderProcessRight_list = await getOrderProcessRight({order:order, gxNo:node.value,yjno:yjno});
|
|
|
|
|
+ console.log(getOrderProcessRight_list)
|
|
|
|
|
+ processList.value = getOrderProcessRight_list.data
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+// 流程单查询退出
|
|
|
|
|
+const pd_lcdCancel = async () => {
|
|
|
|
|
+ pd_lcdlist.value = false;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// const sbzyqdplanUsageCellClass = ({row, column, rowIndex, columnIndex}) =>{
|
|
// const sbzyqdplanUsageCellClass = ({row, column, rowIndex, columnIndex}) =>{
|
|
|
// if(formData.value['工单编号'] === row['工单编号|质量信息'].split('|')[0]){
|
|
// if(formData.value['工单编号'] === row['工单编号|质量信息'].split('|')[0]){
|
|
|
// return 'back-color-row';
|
|
// return 'back-color-row';
|