|
|
@@ -1223,122 +1223,30 @@
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="当前设备换型记录" @click="showTable('当前设备换型记录')" name="second">
|
|
|
- <el-table
|
|
|
- tooltip-effect="dark"
|
|
|
- :data="huanxingselectData"
|
|
|
- row-key="ID"
|
|
|
- highlight-current-row="true"
|
|
|
- :show-overflow-tooltip="true"
|
|
|
- border @row-click="dianjianhandle"
|
|
|
- style="width:115vh; height:50vh;"
|
|
|
- @row-dblclick="handleSelectClick"
|
|
|
- :row-class-name="rowClassName"
|
|
|
- >
|
|
|
- <el-table-column
|
|
|
- prop="日期"
|
|
|
- label="日期"
|
|
|
- width="160"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="机台编号"
|
|
|
- label="机台编号"
|
|
|
- width="90"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="班组"
|
|
|
- label="班组"
|
|
|
- width="70"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="工单编号A"
|
|
|
- label="工单编号A"
|
|
|
- width="95"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="印件名称A"
|
|
|
- label="印件名称A"
|
|
|
- width="130"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="印件工序A"
|
|
|
- label="印件工序A"
|
|
|
- width="150"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="码包号A"
|
|
|
- label="码包号A"
|
|
|
- width="80"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="工单编号B"
|
|
|
- label="工单编号B"
|
|
|
- width="100"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="印件名称B"
|
|
|
- label="印件名称B"
|
|
|
- width="100"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="印件工序B"
|
|
|
- label="印件工序B"
|
|
|
- width="150"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="码包号B"
|
|
|
- label="码包号B"
|
|
|
- width="80"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="清场项目A"
|
|
|
- label="菲林_标样_签样品_留样品"
|
|
|
- width="190"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="清场项目B"
|
|
|
- label="版材_纸张_电化铝_油墨"
|
|
|
- width="190"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="清场项目C"
|
|
|
- label="过版纸_废品_次品"
|
|
|
- width="170"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="清场项目D"
|
|
|
- label="半成品_成品_零头"
|
|
|
- width="170"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="清场项目E"
|
|
|
- label="操作台桌面_抽屉_地面"
|
|
|
- width="180"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="机长"
|
|
|
- label="机长"
|
|
|
- width="80"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="班长"
|
|
|
- label="带班长"
|
|
|
- width="80"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="质量巡查员"
|
|
|
- label="质量巡查员"
|
|
|
- width="100"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="创建时间"
|
|
|
- label="创建时间"
|
|
|
- width="120"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="UNIQID"
|
|
|
- label="UNIQID"
|
|
|
- width="80"
|
|
|
- />
|
|
|
+ <el-table tooltip-effect="dark" :data="huanxingselectData" row-key="ID"
|
|
|
+ highlight-current-row="true" :show-overflow-tooltip="true" border @row-click="dianjianhandle"
|
|
|
+ style="width:115vh; height:50vh;" @row-dblclick="handleSelectClick" :row-class-name="rowClassName" >
|
|
|
+ <el-table-column prop="日期" label="日期" width="160" />
|
|
|
+ <el-table-column prop="机台编号" label="机台编号" width="90" />
|
|
|
+ <el-table-column prop="班组" label="班组" width="70" />
|
|
|
+ <el-table-column prop="工单编号A" label="工单编号A" width="95" />
|
|
|
+ <el-table-column prop="印件名称A" label="印件名称A" width="130" />
|
|
|
+ <el-table-column prop="印件工序A" label="印件工序A" width="150" />
|
|
|
+ <el-table-column prop="码包号A" label="码包号A" width="80" />
|
|
|
+ <el-table-column prop="工单编号B" label="工单编号B" width="100" />
|
|
|
+ <el-table-column prop="印件名称B" label="印件名称B" width="100" />
|
|
|
+ <el-table-column prop="印件工序B" label="印件工序B" width="150" />
|
|
|
+ <el-table-column prop="码包号B" label="码包号B" width="80" />
|
|
|
+ <el-table-column prop="清场项目A" label="菲林_标样_签样品_留样品" width="190" />
|
|
|
+ <el-table-column prop="清场项目B" label="版材_纸张_电化铝_油墨" width="190" />
|
|
|
+ <el-table-column prop="清场项目C" label="过版纸_废品_次品" width="170" />
|
|
|
+ <el-table-column prop="清场项目D" label="半成品_成品_零头" width="170" />
|
|
|
+ <el-table-column prop="清场项目E" label="操作台桌面_抽屉_地面" width="180" />
|
|
|
+ <el-table-column prop="机长" label="机长" width="80" />
|
|
|
+ <el-table-column prop="班长" label="带班长" width="80" />
|
|
|
+ <el-table-column prop="质量巡查员" label="质量巡查员" width="100" />
|
|
|
+ <el-table-column prop="创建时间" label="创建时间" width="120" />
|
|
|
+ <el-table-column prop="UNIQID" label="UNIQID" width="80" />
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
@@ -1346,6 +1254,7 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
+
|
|
|
<el-dialog v-model="chanliangVisible" destroy-on-close
|
|
|
width="75%" style="height: 90vh;margin-top: 2%;" :before-close="closechanliangVisible" :title="type2 === 'create' ? '新增' : '修改'">
|
|
|
<el-row :gutter="24">
|
|
|
@@ -1356,14 +1265,14 @@
|
|
|
</el-col>
|
|
|
<el-col :span="18">
|
|
|
<el-form-item label="产品名称:" prop="perTenThousand" class="mab" label-width="150">
|
|
|
- <el-input v-model="formdata3.value.cpmc" id="产品名称" @keydown="ent1($event)" :clearable="true" />
|
|
|
+ <el-input v-model="formdata3.value.cpmc" id="产品名称" readonly @keydown="ent1($event)" :clearable="true" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
<el-row :gutter="24">
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="印件号:" prop="flatFeed" class="mab">
|
|
|
+ <el-form-item label="印件号:" prop="flatFeed" class="mab"label-width="70">
|
|
|
<el-input v-model="formdata3.value.yjno" id="印件号" @keydown="ent1($event)" :clearable="true" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -1378,7 +1287,7 @@
|
|
|
<el-col :span="14">
|
|
|
<el-form-item label="工序名称:" prop="flatFeed" class="mab">
|
|
|
<el-input v-model="formdata3.value.gxmc" id="工序名称" @focus="gxmcHandleFocus()" @blur="getGXsubmit()" @keydown="ent1($event)" :clearable="true" style="width: 350px;" />
|
|
|
- <el-input v-model="formdata3.value.gxh" id="工序号" :readonly=true :clearable="true" style="width: 50px; margin-left: 10px;" />
|
|
|
+ <el-input v-model="formdata3.value.gxh" id="工序号" :readonly=true :clearable="true" style="width: 100px; margin-left: 10px;" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="10">
|
|
|
@@ -1408,9 +1317,6 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <!-- <el-form-item label="机器:" prop="flatFeed" class="mab">
|
|
|
- <el-input v-model="formdata3.value.sczl_jtbh" id="机器" @keydown="ent1($event)" @blur="getJtbhsubmit()" :clearable="true" style="width: 100px;" />
|
|
|
- </el-form-item> -->
|
|
|
</el-col>
|
|
|
<el-col :span="7">
|
|
|
<el-form-item label="开工时间:" prop="flatFeed" class="mab">
|
|
|
@@ -1427,7 +1333,6 @@
|
|
|
<el-row :gutter="24">
|
|
|
<el-col :span="9">
|
|
|
<el-form-item label="上机时间:" prop="flatFeed" class="mab">
|
|
|
- <!-- <el-input v-model="formdata3.value.sj1" id="日期" @keydown="ent1($event)" :clearable="true" style="width: 170px;" /> -->
|
|
|
<el-date-picker
|
|
|
v-model="formdata3.value.sj1"
|
|
|
type="datetime"
|
|
|
@@ -1439,7 +1344,6 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="下机时间:" prop="flatFeed" class="mab">
|
|
|
- <!-- <el-input v-model="formdata3.value.sj2" id="机器" @keydown="ent1($event)" :clearable="true" style="width: 170px;" /> -->
|
|
|
<el-date-picker
|
|
|
v-model="formdata3.value.sj2"
|
|
|
type="datetime"
|
|
|
@@ -1620,7 +1524,6 @@
|
|
|
<el-option label="李当林" value="李当林" />
|
|
|
<el-option label="王赞文" value="王赞文" />
|
|
|
</el-select>
|
|
|
- <!-- <el-input v-model="formdata3.value.拉料['编号']" id="bh11" @keyup.enter.native="GetYg($event, '11')"/> -->
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
@@ -1653,7 +1556,6 @@
|
|
|
<el-col :span="2"><el-input v-model="formdata3.value.组员10['比例']" id="rate10" @input="updateTotal" @keydown="ent($event, 'rate9', 'rate10', '工单编号')" placeholder="" /></el-col>
|
|
|
<el-col :span="2"></el-col>
|
|
|
</el-row>
|
|
|
- <!-- </el-scrollbar> -->
|
|
|
<template #footer>
|
|
|
<div class="dialog-footer">
|
|
|
<el-button @click="closeDialog">取 消</el-button>
|
|
|
@@ -1662,8 +1564,6 @@
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
|
|
|
<!-- JP机台独立页面 新增-->
|
|
|
<el-dialog v-model="JPchanliangVisible" :before-close="JPcloseDialog" style="width: 60%;margin-top: 5%;" :title="'新增班组产量提报'" destroy-on-close>
|
|
|
@@ -1906,11 +1806,6 @@
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
<!-- 修改班组产量提报 -->
|
|
|
<el-dialog v-model="JPchanliangVisibleedit" :before-close="JPcloseDialogedit" style="width: 60%;margin: 50px auto" :title="'修改班组产量提报'" destroy-on-close>
|
|
|
@@ -2037,96 +1932,78 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <!-- 修改 JP检品独立 印件选择-->
|
|
|
- <el-dialog v-model="JPdialogSelectVisible_Yjedit" title="选择" destroy-on-close width="600px" @keydown="JPselect_Yjedit($event)" >
|
|
|
- <el-table tooltip-effect="dark" :data="JPselectData_Yjedit"
|
|
|
- row-key="ID" highlight-current-row="true"
|
|
|
- border style="width:100%"
|
|
|
- @row-dblclick="JPhandleSelectClick_Yjedit" >
|
|
|
- <el-table-column prop="yjno" label="印件号" width="80" />
|
|
|
- <el-table-column prop="yjmc" label="印件名称" width="480" />
|
|
|
- </el-table>
|
|
|
- </el-dialog>
|
|
|
-
|
|
|
+ <!-- 修改 JP检品独立 印件选择-->
|
|
|
+ <el-dialog v-model="JPdialogSelectVisible_Yjedit" title="选择" destroy-on-close width="600px" @keydown="JPselect_Yjedit($event)" >
|
|
|
+ <el-table tooltip-effect="dark" :data="JPselectData_Yjedit"
|
|
|
+ row-key="ID" highlight-current-row="true"
|
|
|
+ border style="width:100%"
|
|
|
+ @row-dblclick="JPhandleSelectClick_Yjedit" >
|
|
|
+ <el-table-column prop="yjno" label="印件号" width="80" />
|
|
|
+ <el-table-column prop="yjmc" label="印件名称" width="480" />
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
- <!-- 修改 JP检品独立 印件选择 -->
|
|
|
- <el-dialog v-model="JPdialogSelectVisible_Gxedit" title="选择" destroy-on-close width="600px" style="margin-top: 2%;" @keydown="JPselect_xzedit($event)">
|
|
|
- <el-table tooltip-effect="dark" :data="JPselectData_Gxedit" ref="table_gxedit"
|
|
|
- row-key="ID" highlight-current-row="true"
|
|
|
- :row-style="{ height: '0px' }" :cell-style="{ padding: '0px' }"
|
|
|
- :header-row-style="{ height: '0px' }" :header-cell-style="{ padding: '0px' }"
|
|
|
- border style="width:100%"
|
|
|
- @row-dblclick="JPhandleSelectClick_Gxedit">
|
|
|
- <el-table-column prop="name" label="" width="560" />
|
|
|
- </el-table>
|
|
|
- </el-dialog>
|
|
|
+ <!-- 修改 JP检品独立 印件选择 -->
|
|
|
+ <el-dialog v-model="JPdialogSelectVisible_Gxedit" title="选择" destroy-on-close width="600px" style="margin-top: 2%;" @keydown="JPselect_xzedit($event)">
|
|
|
+ <el-table tooltip-effect="dark" :data="JPselectData_Gxedit" ref="table_gxedit"
|
|
|
+ row-key="ID" highlight-current-row="true"
|
|
|
+ :row-style="{ height: '0px' }" :cell-style="{ padding: '0px' }"
|
|
|
+ :header-row-style="{ height: '0px' }" :header-cell-style="{ padding: '0px' }"
|
|
|
+ border style="width:100%"
|
|
|
+ @row-dblclick="JPhandleSelectClick_Gxedit">
|
|
|
+ <el-table-column prop="name" label="" width="560" />
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
- <!-- JP检品独立 修改机台机器-->
|
|
|
- <el-dialog v-model="JPdialogVisible_JTedit" title="机台机器选择" destroy-on-close width="600px" style="height: 600px;" @keydown="JPselect_JTedit($event)">
|
|
|
- <el-table tooltip-effect="dark" :data="JPselectData_JTedit" row-key="ID" highlight-current-row="true"
|
|
|
- border style="width:100%" ref="table_JTedit" :row-style="{ height: '20px' }" :cell-style="{ padding: '0px' }"
|
|
|
- :header-row-style="{ height: '20px' }" :header-cell-style="{ padding: '0px' }" @row-dblclick="JPhandleSelectClick_JTedit">
|
|
|
- <el-table-column prop="机台" label="机台" />
|
|
|
- </el-table>
|
|
|
- </el-dialog>
|
|
|
+ <!-- JP检品独立 修改机台机器-->
|
|
|
+ <el-dialog v-model="JPdialogVisible_JTedit" title="机台机器选择" destroy-on-close width="600px" style="height: 600px;" @keydown="JPselect_JTedit($event)">
|
|
|
+ <el-table tooltip-effect="dark" :data="JPselectData_JTedit" row-key="ID" highlight-current-row="true"
|
|
|
+ border style="width:100%" ref="table_JTedit" :row-style="{ height: '20px' }" :cell-style="{ padding: '0px' }"
|
|
|
+ :header-row-style="{ height: '20px' }" :header-cell-style="{ padding: '0px' }" @row-dblclick="JPhandleSelectClick_JTedit">
|
|
|
+ <el-table-column prop="机台" label="机台" />
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
|
|
|
- <el-dialog v-model="JPdialogSelectVisible_LXedit" title="选择" destroy-on-close width="300px" @keydown="JPselect_jylbedit($event)">
|
|
|
- <el-table
|
|
|
- :data="JPtableDataedit"
|
|
|
- ref="jylbedit_table"
|
|
|
- :row-style="{ height: '50px' }"
|
|
|
- :cell-style="{ padding: '0px' }"
|
|
|
- :header-row-style="{ height: '0px' }"
|
|
|
- :header-cell-style="{ padding: '0px' }"
|
|
|
- @row-dblclick="JPhandleRowClickedit"
|
|
|
- highlight-current-row>
|
|
|
- <el-table-column prop="name" label="名称" width="150"></el-table-column>
|
|
|
- <el-table-column prop="type" label="类别" width="100"></el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-dialog>
|
|
|
+ <el-dialog v-model="JPdialogSelectVisible_LXedit" title="选择" destroy-on-close width="300px" @keydown="JPselect_jylbedit($event)">
|
|
|
+ <el-table :data="JPtableDataedit" ref="jylbedit_table"
|
|
|
+ :row-style="{ height: '50px' }" :cell-style="{ padding: '0px' }"
|
|
|
+ :header-row-style="{ height: '0px' }" :header-cell-style="{ padding: '0px' }"
|
|
|
+ @row-dblclick="JPhandleRowClickedit" highlight-current-row>
|
|
|
+ <el-table-column prop="name" label="名称" width="150"></el-table-column>
|
|
|
+ <el-table-column prop="type" label="类别" width="100"></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
<!-- JP机修改定额代号弹窗 -->
|
|
|
<el-dialog v-model="GetDedhVisibleedit" id="tableFplb" @keydown="entedit($event)" style="margin-top: 5%;" >
|
|
|
<el-form>
|
|
|
- <el-form-item label="选择定额代号" class="mab" prop="keyOrder"></el-form-item>
|
|
|
- <div style="border:1px solid #eee; width:100%; height: 600px; overflow-y: auto;">
|
|
|
- <el-tree :data="GetDedhtreeDataedit" ref="table_fplbedit"
|
|
|
- @keydown="handleTreeKeydownedit"
|
|
|
- :props="{ children: 'children',label: 'label'}"
|
|
|
- node-key="id" @node-click="handleFplbClickedit">
|
|
|
- </el-tree>
|
|
|
- </div>
|
|
|
+ <el-form-item label="选择定额代号" class="mab" prop="keyOrder"></el-form-item>
|
|
|
+ <div style="border:1px solid #eee; width:100%; height: 600px; overflow-y: auto;">
|
|
|
+ <el-tree :data="GetDedhtreeDataedit" ref="table_fplbedit" @keydown="handleTreeKeydownedit"
|
|
|
+ :props="{ children: 'children',label: 'label'}" node-key="id" @node-click="handleFplbClickedit">
|
|
|
+ </el-tree>
|
|
|
+ </div>
|
|
|
</el-form>
|
|
|
- </el-dialog>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
<!--修改 JP检品机 当日上报产量 组员及分配比例-->
|
|
|
<el-dialog v-model="JPblModellistedit" style="width: 20%" @keydown="JPselect_zyfpedit($event)" >
|
|
|
<el-form>
|
|
|
<div>
|
|
|
- <el-table :data="JPemployeeDatalistedit"
|
|
|
- ref="zyfpedit_table" row-key="ID"
|
|
|
- :row-style="{ height: '0px' }"
|
|
|
- :cell-style="{ padding: '10px' }"
|
|
|
- :header-row-style="{ height: '0px' }"
|
|
|
- :header-cell-style="{ padding: '10px' }"
|
|
|
- highlight-current-row
|
|
|
+ <el-table :data="JPemployeeDatalistedit" ref="zyfpedit_table" row-key="ID" highlight-current-row
|
|
|
+ :row-style="{ height: '0px' }" :cell-style="{ padding: '10px' }"
|
|
|
+ :header-row-style="{ height: '0px' }" :header-cell-style="{ padding: '10px' }"
|
|
|
border :show-overflow-tooltip="true" :cell-class-name="JPblplanUsageCellClassedit"
|
|
|
- @row-click="JPtablebllickHandlerlistedit($event)">
|
|
|
+ @row-click="JPtablebllickHandlerlistedit($event)">
|
|
|
<el-table-column prop="员工编号" label="员工编号"></el-table-column>
|
|
|
<el-table-column prop="ygxm" label="员工姓名"></el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
<el-dialog v-model="hesuanVisible" :before-close="closehesuanVisible" title="核算参数调整" destroy-on-close width="40%" style="height: 50%;">
|
|
|
<div>
|
|
|
@@ -2163,7 +2040,6 @@
|
|
|
<el-option label="卷对卷" value="卷对卷"></el-option>
|
|
|
<el-option label="卷对张" value="卷对张"></el-option>
|
|
|
</el-select>
|
|
|
- <!-- <el-input v-model="hesuanValue.印刷方式" id="辅电表" @keydown="ent1($event)" :clearable="true" style="width: 200px;" v-if="CPType === true"/> -->
|
|
|
</el-form-item>
|
|
|
<el-form-item label="色度数 :" prop="flatFeed" class="mab" v-if="SDType === true">
|
|
|
<el-input v-model="hesuanValue.色度数" id="辅电表" @keydown="ent1($event)" :clearable="true" style="width: 200px;" v-if="SDType === true" />
|
|
|
@@ -2179,7 +2055,7 @@
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
|
|
|
-<!--工序产量核查【弹窗】-->
|
|
|
+ <!--工序产量核查【弹窗】-->
|
|
|
<el-dialog v-model="gd_gxclhclist" title="工序产量核查" style="width: 100%;height: 100%;margin: 0px;padding: 0px">
|
|
|
<el-button type="" @click="gxclhcCancel">退出</el-button>
|
|
|
<div style="width: 100%; height: 60px; padding: 0px; margin: 10px 0px 0px 0px; display: flex; align-items: center;">
|
|
|
@@ -2219,37 +2095,26 @@
|
|
|
<el-button type="" @click="sxzhscsCancel">退出</el-button>
|
|
|
<div style="width: 100%; height: 60px; padding: 0px; margin: 10px 0px 0px 0px; display: flex; align-items: center;">
|
|
|
<el-form-item label="当前工单 :" prop="currentProcess" style="margin-right: 20px; padding: 0px">
|
|
|
- <el-input v-model="xzhscsformData['gdbh']"
|
|
|
- @keyup.enter="xzhscsgetProductValue" style="width: 200px;"/>
|
|
|
+ <el-input v-model="xzhscsformData['gdbh']" @keyup.enter="xzhscsgetProductValue" style="width: 200px;"/>
|
|
|
<el-input v-model="xzhscsformData['cpdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
<el-input v-model="xzhscsformData['gdmc']" disabled style="width: 500px;"/>
|
|
|
-<!-- <el-input v-model="xzhscsformData['yjdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
- <el-input v-model="xzhscsformData['yjmc']" disabled style="width: 500px;"/> -->
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
<div style="width: 100%; height: 60px; padding: 0px; margin: 5px 0px 0px 260px; display: flex; align-items: center;">
|
|
|
<el-form-item label=" :" prop="currentProcess" style="margin-right: 20px; padding: 0px">
|
|
|
- <!-- <el-input v-model="xzhscsformData['gdbh']"
|
|
|
- @keyup.enter="xzhscsgetProductValue" style="width: 200px;"/>
|
|
|
- <el-input v-model="xzhscsformData['cpdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
- <el-input v-model="xzhscsformData['gdmc']" disabled style="width: 500px;"/> -->
|
|
|
- <el-input v-model="xzhscsformData['yjdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
- <el-input v-model="xzhscsformData['yjmc']" disabled style="width: 500px;"/>
|
|
|
+ <el-input v-model="xzhscsformData['yjdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
+ <el-input v-model="xzhscsformData['yjmc']" disabled style="width: 500px;"/>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
- <el-table ref="paichengRef"
|
|
|
- :show-overflow-tooltip="true"
|
|
|
- :row-style="{ height: '0px' }"
|
|
|
+ <el-table ref="paichengRef" :show-overflow-tooltip="true"
|
|
|
+ :row-style="{ height: '0px' }" :header-cell-style="{ padding: '0px' }"
|
|
|
:cell-style="{ padding: '0px' }" :header-row-style="{ height: '0px' }"
|
|
|
- :header-cell-style="{ padding: '0px' }"
|
|
|
style="width: 100%;height: 74vh" border tooltip-effect="dark"
|
|
|
- :data="sxzhscstableData" row-key="ID"
|
|
|
- :cell-class-name="sxzhscsCellClass">
|
|
|
+ :data="sxzhscstableData" row-key="ID" :cell-class-name="sxzhscsCellClass">
|
|
|
<template v-for="(item, idx) in xzhstableColumns">
|
|
|
<el-table-column #default="{ row, column, $index }" align="left" :label="item.label" :width="item.width" >
|
|
|
<div v-if="['难度系数', '损耗代号', '印刷方式', '版距','计损色数', '损耗系数'].includes(item.prop)">
|
|
|
- <el-input v-model="row[item.prop]" :clearable="false"
|
|
|
- :id="`input${idx}${$index}`" />
|
|
|
+ <el-input v-model="row[item.prop]" :clearable="false" :id="`input${idx}${$index}`" />
|
|
|
</div>
|
|
|
<div v-else>{{ row[item.prop] }}</div>
|
|
|
</el-table-column>
|
|
|
@@ -2257,23 +2122,15 @@
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
|
|
|
-<el-dialog v-model="gzSelVisible" title="员工工资明细查询"
|
|
|
- destroy-on-close fullscreen
|
|
|
- style="font-size: 50px;font-weight: bold;"
|
|
|
- >
|
|
|
+ <el-dialog v-model="gzSelVisible" title="员工工资明细查询" destroy-on-close fullscreen style="font-size: 50px;font-weight: bold;">
|
|
|
<el-button v-for="ygbh in gz_bzbh" type="primary" @click="gz_ontable(ygbh)">{{ ygbh }}</el-button>
|
|
|
<!-- 数据展示 -->
|
|
|
<el-table ref="gz_multipleTable" style="width: 100%;height: 40vh;padding-top: 5px;" tooltip-effect="dark" :data="gz_tableData" row-key="ID"
|
|
|
highlight-current-row="true" border :show-overflow-tooltip="true"
|
|
|
:row-style="{ height: '20px' }"
|
|
|
:cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
|
|
|
- :header-cell-style="{ padding: '0px' }"
|
|
|
- >
|
|
|
- <el-table-column v-for="column in tableCols1"
|
|
|
- :key="column.prop" :prop="column.prop"
|
|
|
- :label="column.label" :width="column.width"
|
|
|
- show-overflow-tooltip="true" sortable
|
|
|
- />
|
|
|
+ :header-cell-style="{ padding: '0px' }">
|
|
|
+ <el-table-column v-for="column in tableCols1" :key="column.prop" :prop="column.prop" :label="column.label" :width="column.width" show-overflow-tooltip="true" sortable/>
|
|
|
</el-table>
|
|
|
<!-- 数据展示 -->
|
|
|
<el-table ref="gz_multipleTable2" style="width: 100%;height: 40vh;padding-top: 30px;" tooltip-effect="dark" :data="gz_tableData2" row-key="ID"
|
|
|
@@ -2281,13 +2138,8 @@
|
|
|
:row-style="{ height: '20px' }"
|
|
|
:cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
|
|
|
:header-cell-style="{ padding: '0px' }"
|
|
|
- :show-overflow-tooltip="true"
|
|
|
- >
|
|
|
- <el-table-column v-for="column in tableCols2"
|
|
|
- :key="column.prop" :prop="column.prop"
|
|
|
- :label="column.label" :width="column.width"
|
|
|
- show-overflow-tooltip="true" sortable
|
|
|
- />
|
|
|
+ :show-overflow-tooltip="true">
|
|
|
+ <el-table-column v-for="column in tableCols2" :key="column.prop" :prop="column.prop" :label="column.label" :width="column.width" show-overflow-tooltip="true" sortable/>
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
|
|
|
@@ -2295,39 +2147,32 @@
|
|
|
<el-dialog v-model="dialogSelectVisible_Yj" title="选择" destroy-on-close width="600px" @keydown="select_Yj($event)" >
|
|
|
<el-table tooltip-effect="dark" :data="selectData_Yj"
|
|
|
row-key="ID" highlight-current-row="true"
|
|
|
- border style="width:100%"
|
|
|
- @row-dblclick="handleSelectClick_Yj"
|
|
|
- >
|
|
|
+ border style="width:100%" @row-dblclick="handleSelectClick_Yj">
|
|
|
<el-table-column prop="yjno" label="印件号" width="80" />
|
|
|
<el-table-column prop="yjmc" label="印件名称" width="480" />
|
|
|
</el-table>
|
|
|
- </el-dialog>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
<!-- 工序名称选择 -->
|
|
|
- <el-dialog v-model="dialogSelectVisible_Gx" title="选择" destroy-on-close width="600px" style="margin-top: 3%;" >
|
|
|
- <el-table tooltip-effect="dark" :data="selectData_Gx"
|
|
|
- row-key="ID" highlight-current-row="true"
|
|
|
- border style="width:100%"
|
|
|
- @row-dblclick="handleSelectClick_Gx">
|
|
|
+ <el-dialog v-model="dialogSelectVisible_Gx" title="工序名称选择" @keydown="select_gxmc($event)"
|
|
|
+ destroy-on-close width="600px" style="margin-top: 3%;" >
|
|
|
+ <el-table tooltip-effect="dark" :data="selectData_Gx" ref="table_GXMC"
|
|
|
+ row-key="ID" highlight-current-row="true" border style="width:100%"
|
|
|
+ @row-dblclick="handleSelectClick_Gx">
|
|
|
<el-table-column prop="name" label="" width="560" />
|
|
|
</el-table>
|
|
|
- </el-dialog>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
<Shebeizhuangtai
|
|
|
v-if="dialogSbyxgl"
|
|
|
v-model="dialogSbyxgl"
|
|
|
:title="titinfo"
|
|
|
- :formData="formData"
|
|
|
- />
|
|
|
-
|
|
|
+ :formData="formData" />
|
|
|
</el-main>
|
|
|
-
|
|
|
</el-container>
|
|
|
</el-container>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-<PrintPage ref="printPageRef" />
|
|
|
+ <PrintPage ref="printPageRef" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -3949,6 +3794,13 @@ const onADD = async() => {
|
|
|
inputElement.focus();
|
|
|
}
|
|
|
}, 100);
|
|
|
+ //自动聚焦光标
|
|
|
+ setTimeout(() => {
|
|
|
+ const inputElement = document.getElementById('工单编号');
|
|
|
+ if (inputElement) {
|
|
|
+ inputElement.focus();
|
|
|
+ }
|
|
|
+ }, 100);
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -6178,9 +6030,40 @@ const table_Gx = ref()
|
|
|
formdata3.value.gymc = gxmc
|
|
|
dialogSelectVisible_Gx.value = false
|
|
|
}
|
|
|
+ const select_gxmc = (event) => {
|
|
|
+ if (event.keyCode === 40) { // 向下箭头
|
|
|
+ if (currentIndex.value < selectData_Gx.length - 1) {
|
|
|
+ currentIndex.value++;
|
|
|
+ setCurrent_GXMC(selectData_Gx[currentIndex.value]);
|
|
|
+ } else {
|
|
|
+ currentIndex.value = 0;
|
|
|
+ setCurrent_GXMC(selectData_Gx[currentIndex.value]); // 到达最后一行时回到第一行
|
|
|
+ }
|
|
|
+ } else if (event.keyCode === 38) { // 向上箭头
|
|
|
+ if (currentIndex.value > 0) {
|
|
|
+ currentIndex.value--;
|
|
|
+ setCurrent_GXMC(selectData_Gx[currentIndex.value]);
|
|
|
+ } else {
|
|
|
+ currentIndex.value = selectData_Gx.length - 1;
|
|
|
+ setCurrent_GXMC(selectData_Gx[currentIndex.value]); // 到达第一行时回到最后一行
|
|
|
+ }
|
|
|
+ } else if (event.keyCode === 13) { // 回车键
|
|
|
+ dialogSelectVisible_Gx.value = false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ const table_GXMC = ref();
|
|
|
+ const setCurrent_GXMC = (row) => {
|
|
|
+ setTimeout(() => {
|
|
|
+ table_GXMC.value?.setCurrentRow(row);
|
|
|
+ const { gxh, name, gxmc } = row
|
|
|
+ formdata3.value.gxh = row.gxh
|
|
|
+ formdata3.value.gxmc = row.name
|
|
|
+ formdata3.value.gymc = row.gxmc
|
|
|
+ });
|
|
|
+ };
|
|
|
+
|
|
|
//工序失去焦点事件
|
|
|
const getGXsubmit = () => {
|
|
|
-
|
|
|
//弹出选择
|
|
|
ChanliangProcessDetail({gdbh:formdata3.value.工单编号,yjno:formdata3.value.yjno,machine:''}).then(response=>{
|
|
|
if (response.code === 0) {
|