Browse Source

运营管理

liuhairui 1 năm trước cách đây
mục cha
commit
7d3238600f

+ 50 - 34
src/view/yunyin/chanpinziliao/chanpinziliao.vue

@@ -73,12 +73,18 @@
 
           <!--工艺方案附加 -->
           <el-dialog v-model="fjlist" title="工艺方案附加" style="width: 100%;height: 100%;margin: 0px">
+              <el-button type="primary" @click="fjbzgx">附加标准工序</el-button>
+              <el-button type="primary" @click="gxdqcpgx">更新当前产品工序</el-button>
+              <!--                      :disabled="!fjformData['dqoriginalName']"  替换 disabled -->
+              <el-button type="primary"  disabled @click="fjhandleConfirm">建立工艺方案</el-button>
+              <el-button type="primary" @click="fjhandleCancel">放弃操作</el-button>
             <div>
+              <br>
               <div style="height: 38px; display: flex; align-items: center;">
                 <el-form-item label="当前产品:" prop="currentProcess" style="margin-right: 20px;padding: 0px">
                   <el-input v-model="fjformData['process']" disabled :clearable="true" placeholder="" style="width: 160px;"/>
+                  <el-input v-model="fjformData['processName']" disabled :clearable="true" placeholder="" style="width: 500px;flex: 1;"/>
                 </el-form-item>
-                <el-input v-model="fjformData['processName']" disabled :clearable="true" placeholder="" style="flex: 1;"/>
                 <el-form-item label="工艺方案:" prop="originalName"  style="margin-left: 20px;">
                   <el-select v-model="fjformData.originalName" placeholder="请选择" style="width: 160px;">
                     <el-option v-for="option in fjformData.originalNameOptions" @click="onoriginalNameclick" :key="option" :label="option" :value="option" />
@@ -89,10 +95,11 @@
                 <el-form-item label="新 产 品 :" prop="currentProcess" style="margin-right: 20px;">
                   <el-input v-model="fjformData['dqprocess']"
                             @keyup.enter="getProductValue"  placeholder="输入新产品" style="width: 160px;"/>
+                  <el-input v-model="fjformData['dqprocessName']"
+                            :disabled="!!fjformData['dqprocessName']"
+                            placeholder="点击输框获取产品名称" @click="ondqprocessNameclick"   style="width: 500px;flex: 1;"/>
                 </el-form-item>
-                <el-input v-model="fjformData['dqprocessName']"
-                          :disabled="!!fjformData['dqprocessName']"
-                          placeholder="点击输框获取产品名称" @click="ondqprocessNameclick"   style="flex: 1;"/>
+
                 <el-form-item label="工艺方案:" prop="originalName" style="margin-left: 20px;">
                   <el-input v-model="fjformData['dqoriginalName']"
                             :disabled="!fjformData['dqprocessName']"
@@ -104,7 +111,7 @@
                         :row-style="{ height: '0px' }"
                         :cell-style="{ padding: '0px' }" :header-row-style="{ height: '0px' }"
                         :header-cell-style="{ padding: '0px' }"
-                        style="width: 100%;height: 75vh;" border tooltip-effect="dark"
+                        style="width: 100%;height: 70vh;" border tooltip-effect="dark"
                         :data="fjtableData" row-key="ID" @selection-change="handleSelectionChange">
                 <el-table-column v-slot="scope" align="left" label=方案 width="100" >
                   <el-input disabled v-model="scope.row.programme" :clearable="false"/>
@@ -140,13 +147,13 @@
                   <el-input disabled v-model="scope.row.Gy0_sbbh" :clearable="false"/>
                 </el-table-column>
               </el-table>
-              <div class="dialog-footer" style="text-align: right;margin: 0;">
-                <el-button type="primary" @click="fjbzgx">附加标准工序</el-button>
-                <el-button type="primary" @click="gxdqcpgx">更新当前产品工序</el-button>
-                <!--                      :disabled="!fjformData['dqoriginalName']"  替换 disabled -->
-                <el-button type="primary"  disabled @click="fjhandleConfirm">建立工艺方案</el-button>
-                <el-button type="primary" @click="fjhandleCancel">放弃操作</el-button>
-              </div>
+<!--              <div class="dialog-footer" style="text-align: right;margin: 0;">-->
+<!--                <el-button type="primary" @click="fjbzgx">附加标准工序</el-button>-->
+<!--                <el-button type="primary" @click="gxdqcpgx">更新当前产品工序</el-button>-->
+<!--                &lt;!&ndash;                      :disabled="!fjformData['dqoriginalName']"  替换 disabled &ndash;&gt;-->
+<!--                <el-button type="primary"  disabled @click="fjhandleConfirm">建立工艺方案</el-button>-->
+<!--                <el-button type="primary" @click="fjhandleCancel">放弃操作</el-button>-->
+<!--              </div>-->
 
             </div>
           </el-dialog>
@@ -158,10 +165,11 @@
                 <el-form-item label="产品代号 :" prop="currentProcess" style="margin-right: 20px; padding: 0px">
                   <el-input v-model="cpgyformData['cpgydh']"
                             @keyup.enter="cpgygetProductValue"  placeholder="输入新产品" style="width: 160px;"/>
+                  <el-input v-model="cpgyformData['cpgymc']"
+                            disabled
+                            placeholder="" @click="oncpgymcclick"   style="width: 500px;flex: 1;"/>
                 </el-form-item>
-                <el-input v-model="cpgyformData['cpgymc']"
-                          :disabled="!!cpgyformData['cpgymc']"
-                          placeholder="点击输框获取产品名称" @click="oncpgymcclick"   style="flex: 1;"/>
+
                 <el-form-item label="工艺方案:" prop="originalName"  style="margin-left: 20px;">
                   <el-select v-model="cpgyformData.cpgyfan" placeholder="请选择" style="width: 160px;">
                     <el-option v-for="option in cpgyformData.cpgyfans" @click="oncpgyfanclick" :key="option" :label="option" :value="option" />
@@ -221,6 +229,8 @@
 
           <!--计损色数修正-->
           <el-dialog v-model="jsssxzlist" title="计损色数修正" style="width: 100%;height: 100%;margin: 0;">
+            <el-button type="" @click="jsssxzCancel">取消</el-button>
+            <el-button type="primary"  @click="jsssxzConfirm">确定</el-button>
             <div style="width: 100%; height: 60px; padding: 0px; margin: 0px 0px 6px 0px; display: flex; align-items: center;">
               <el-form-item label="关键字 :" prop="currentProcess" style="margin-right: 20px; padding: 0px">
                 <el-input v-model="jsssxzformData['cpdh']"
@@ -234,7 +244,7 @@
 
                       :header-row-style="{ height: '20px' }"
                       :header-cell-style="{ padding: '0px' }"
-                      style="width: 100%;height: 74vh" border tooltip-effect="dark"
+                      style="width: 100%;height: 70vh" border tooltip-effect="dark"
                       :data="jsssxztableData" row-key="ID" @selection-change="handleSelectionChange">
               <el-table-column v-slot="scope" align="left" label=产品名称 width="320" >
                 <el-input disabled v-model="scope.row.product_name" :clearable="false"/>
@@ -276,14 +286,16 @@
                 <el-input disabled v-model="scope.row.custom_name" :clearable="false"/>
               </el-table-column>
             </el-table>
-            <div class="dialog-footer"  style="text-align: right; margin-top: 1%;">
-              <el-button type="" @click="jsssxzCancel">取消</el-button>
-              <el-button type="primary"  @click="jsssxzConfirm">确定</el-button>
-            </div>
+<!--            <div class="dialog-footer"  style="text-align: right; margin-top: 1%;">-->
+<!--              <el-button type="" @click="jsssxzCancel">取消</el-button>-->
+<!--              <el-button type="primary"  @click="jsssxzConfirm">确定</el-button>-->
+<!--            </div>-->
           </el-dialog>
 
           <!--质检废品系数-->
           <el-dialog v-model="fjfpxslist" title="质检废品系数" style="width: 100%;height: 100%;margin: 0;">
+            <el-button type="" @click="fjfpxsCancel">取消</el-button>
+            <el-button type="primary" disabled @click="fjfpxsConfirm">确认</el-button>
             <div style="width: 100%; height: 60px; padding: 0px; margin: 0px 0px 6px 0px; display: flex; align-items: center;">
               <el-form-item label="关键字 :" prop="currentProcess" style="margin-right: 20px; padding: 0px">
                 <el-input v-model="fjfpxsformData['cpdh']"
@@ -295,7 +307,7 @@
                       :row-style="{ height: '20px' }"
                       :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
                       :header-cell-style="{ padding: '0px' }"
-                      style="width: 100%;height: 74vh" border tooltip-effect="dark"
+                      style="width: 100%;height: 70vh" border tooltip-effect="dark"
                       :data="fjfpxstableData" row-key="ID" @selection-change="handleSelectionChange">
               <el-table-column v-slot="scope" align="left" label=产品名称 width="300" >
                 <el-input disabled  v-model="scope.row.product_name" :clearable="false"/>
@@ -354,14 +366,16 @@
                 <el-input disabled v-model="scope.row.custom_name" :clearable="false"/>
               </el-table-column>
             </el-table>
-            <div class="dialog-footer" style="text-align: right; margin-top: 1%;">
-              <el-button type="" @click="fjfpxsCancel">取消</el-button>
-              <el-button type="primary" disabled @click="fjfpxsConfirm">确认</el-button>
-            </div>
+<!--            <div class="dialog-footer" style="text-align: right; margin-top: 1%;">-->
+<!--              <el-button type="" @click="fjfpxsCancel">取消</el-button>-->
+<!--              <el-button type="primary" disabled @click="fjfpxsConfirm">确认</el-button>-->
+<!--            </div>-->
           </el-dialog>
 
           <!--排产参数调整-->
           <el-dialog v-model="pccstzlist" title="排产参数调整"  style="width: 100%;height: 100%;margin: 0;">
+            <el-button type="" @click="pccstzCancel">取消</el-button>
+            <el-button type="primary"  @click="pccstzConfirm">确认</el-button>
             <div style="width: 100%; height: 60px; padding: 0px; margin: 0px 0px 6px 0px; display: flex; align-items: center;">
               <el-form-item label="关键是字 :" prop="currentProcess" style="margin-right: 20px; padding: 0px">
                 <el-input v-model="pccstzformData['cpdh']"
@@ -373,7 +387,7 @@
                       :row-style="{ height: '20px' }"
                       :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
                       :header-cell-style="{ padding: '0px' }"
-                      style="width: 100%;height: 74vh;" border tooltip-effect="dark"
+                      style="width: 100%;height: 70vh;" border tooltip-effect="dark"
                       :data="pccstztableData" row-key="ID" @selection-change="handleSelectionChange">
               <el-table-column v-slot="scope" align="left" label=产品名称 width="230" >
                 <el-input disabled  v-model="scope.row.product_name" :clearable="false"/>
@@ -429,14 +443,16 @@
                 <el-input disabled  v-model="scope.row.custom_name" :clearable="false"/>
               </el-table-column>
             </el-table>
-            <div class="dialog-footer" style="text-align: right; margin-top: 1%;">
-              <el-button type="" @click="pccstzCancel">取消</el-button>
-              <el-button type="primary"  @click="pccstzConfirm">确认</el-button>
-            </div>
+<!--            <div class="dialog-footer" style="text-align: right; margin-top: 1%;">-->
+<!--              <el-button type="" @click="pccstzCancel">取消</el-button>-->
+<!--              <el-button type="primary"  @click="pccstzConfirm">确认</el-button>-->
+<!--            </div>-->
           </el-dialog>
 
           <!--核算参数调整-->
           <el-dialog v-model="hscstzlist" title="核算参数调整"  style="width: 100%;height: 100%;margin:  0;">
+            <el-button type="" @click="hscstzCancel">取消</el-button>
+            <el-button type="primary"   @click="hscstzConfirm">确认</el-button>
             <div style="width: 100%; height: 60px; padding: 0px; margin: 0px 0px 6px 0px; display: flex; align-items: center;">
               <el-form-item label="关键是字 :" prop="currentProcess" style="margin-right: 20px; padding: 0px">
                 <el-input v-model="hscstzformData['cpdh']"
@@ -502,10 +518,10 @@
                 <el-input disabled  v-model="scope.row.custom_name" :clearable="false"/>
               </el-table-column>
             </el-table>
-            <div class="dialog-footer" style="text-align: right; margin-top: 1%;">
-              <el-button type="" @click="hscstzCancel">取消</el-button>
-              <el-button type="primary"   @click="hscstzConfirm">确认</el-button>
-            </div>
+<!--            <div class="dialog-footer" style="text-align: right; margin-top: 1%;">-->
+<!--              <el-button type="" @click="hscstzCancel">取消</el-button>-->
+<!--              <el-button type="primary"   @click="hscstzConfirm">确认</el-button>-->
+<!--            </div>-->
           </el-dialog>
 
           <!--导出产品资料-->

+ 0 - 1181
src/view/yunyin/shengchanguanli/gongdanshengchan.vue

@@ -1,1181 +0,0 @@
-<template>
-  <div>
-    <layout>
-      <layout-header>
-        <div class="">
-          <!--          按钮部分-->
-          <el-form ref="elSearchFormRef"  :model="searchInfo" class="demo-form-inline" :rules="searchRule" @keyup.enter="onSubmit">
-            <el-form-item>
-              <!--按钮-->
-              <el-input v-model="searchInfo" placeholder="搜索工单编号" clearable style="width: 180px;"></el-input>
-              <el-button type="primary" icon="search"  @click="onSubmit"></el-button>
-              <div v-if="treeType === 'customTree'">
-                <el-button type="primary" icon="edit" @click="onStatusClick" class="bt">状态设置</el-button>
-                <el-button type="primary" icon="edit" @click="ongxztgzClick" class="bt">工序状态更正</el-button>
-              </div>
-              <div v-else>
-                <el-button type="primary" icon="edit"  @click="onjrpcClick" class="bt">加入排产</el-button>
-                <el-button type="primary" icon="edit"  @click="onztwgClick" class="bt">暂停排产</el-button>
-                <el-button type="primary" icon="edit"  @click="ongxwgClick" class="bt">工序完工</el-button>
-                <!--                <el-button type="primary" icon="edit" disabled @click="onjztzClick" style="margin: 5px">机组调整</el-button>-->
-                <!--                <el-button type="primary" icon="edit" disabled @click="oncjsbpcClick" style="margin: 5px">车间设备排程</el-button>-->
-              </div>
-              <!--                <el-button type="primary" icon="edit" disabled @click="onprintClick" style="margin: 5px">工单打印</el-button>-->
-              <!--                <el-button type="primary" icon="edit" disabled @click="ongxclhcClick" style="margin: 5px">工序产量核查</el-button>-->
-              <!--                <el-button type="primary" icon="edit" disabled @click="onlcdlistClick" style="margin: 5px">流程单查询</el-button>-->
-            </el-form-item>
-          </el-form>
-
-          <!-- 状态设置【弹窗】-->
-          <el-dialog v-model="onstatuslist" title="工单状态设置" width="30%" style="top: 15%">
-            <div style="width: 100%;height: 100%;">
-              <div style="width: 100%; display: flex; align-items: center;">
-                <el-form-item label="工单编号 :" prop="currentProcess">
-                  <el-input v-model="statusformData['gdbh']" placeholder="" />
-                </el-form-item>
-              </div>
-              <div style="width: 100%; display: flex; align-items: center; margin-top: 30px;">
-                <span>状态设置:</span>
-                <el-radio-group v-model="status" style="margin-left: 10px;">
-                  <el-radio label="计划中">计划中</el-radio>
-                  <el-radio label="生产中">生产中</el-radio>
-                  <el-radio label="已完工">已完工</el-radio>
-                </el-radio-group>
-              </div>
-              <div class="dialog-footer" style="text-align: right; margin-top: 40px;">
-                <el-button @click="handleCancel">取消</el-button>
-                <el-button type="primary"  @click="handleConfirm">确认</el-button>
-              </div>
-            </div>
-          </el-dialog>
-          <!-- 工序状态更正【弹窗】-->
-          <el-dialog v-model="gxztgzzlist" title="工序状态更正" style="width: 100%;height: 100%;margin: 0px;padding: 0px">
-            <el-button type="" @click="gxztgzzCancel">退出</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="gxztgzzformData['gdbh']" @keyup.enter="gxztgzzgetProductValue" placeholder="" style="width: 500px;"/>
-              </el-form-item>
-            </div>
-            <el-table ref="multipleTable"
-                      :show-overflow-tooltip="true"
-                      :row-style="{ height: '0px' }"
-                      :cell-style="{ padding: '0px' }" :header-row-style="{ height: '0px' }"
-                      :header-cell-style="{ padding: '0px' }"
-                      style="width: 100%;height: 710px" border tooltip-effect="dark"
-                      :data="gxztgzztableData" row-key="ID" @selection-change="handleSelectionChange">
-              <el-table-column v-slot="scope" align="left" label=印件及工序 width="600" >
-                <el-input disabled  v-model="scope.row.印件及工序" :clearable="false"/>
-              </el-table-column>
-              <el-table-column v-slot="scope" align="left" label=计划产量/已完成 width="590" >
-                <el-input disabled  v-model="scope.row['计划产量/已完成']" :clearable="false"/>
-              </el-table-column>
-              <el-table-column v-slot="scope" align="left" label=完成率 width="240" >
-                <el-input disabled  v-model="scope.row.完成率" :clearable="false"/>
-              </el-table-column>
-              <el-table-column v-slot="scope" align="left" label=完工时间 width="210" >
-                <el-input disabled  v-model="scope.row.完工时间" :clearable="false"/>
-              </el-table-column>
-              <el-table-column v-slot="scope" align="left" label=设备代号 width="240" >
-                <el-input disabled  v-model="scope.row.设备代号" :clearable="false"/>
-              </el-table-column>
-            </el-table>
-          </el-dialog>
-          <!--加入排产【弹窗】-->
-          <!--暂停完工【弹窗】-->
-          <!--暂停完工【弹窗】-->
-          <!--机组调整【弹窗】-->
-          <!--车间设备排程【弹窗】-->
-          <el-dialog v-model="cjsbpclist" title="车间设备排程" style="width: 100%;height: 100%;margin: 0px;padding: 0px">
-            <el-button type="" icon="edit" @click="oneditpcClick">更新排程</el-button>
-            <el-button type="" @click="cjsbpcCancel">退出</el-button>
-
-            <div style="width: 100%; height: 60px; padding: 0px; margin: 10px 0px 0px 0px; ">
-              <div style="width: 100%; height: 60px; padding: 0px;  display: flex; align-items: center;">
-                <el-form-item label="设备代号 :" prop="currentProcess" style="margin-right: 20px; padding: 0px">
-                  <el-input v-model="cjsbpcformData['sbdh']" disabled placeholder="" />
-                </el-form-item>
-                <el-form-item label="班次选择:" prop="originalName" style="margin-left: 20px;">
-                  <el-select v-model="cjsbpcformData.banci" placeholder="请选择" allow-create filterable>
-                    <el-option
-                        v-for="(option, index) in cjsbpcformData.bancis"
-                        :key="index"
-                        :label="option.label"
-                        :value="option.value"
-                    />
-                  </el-select>
-                </el-form-item>
-                <el-form-item label="" prop="isBanciSelected" style="margin-left: 20px;">
-                  <el-checkbox v-model="cjsbpcformData.isBanciSelected">所有班次</el-checkbox>
-                </el-form-item>
-
-              </div>
-              <el-table ref="paichengRef"
-                        :show-overflow-tooltip="true"
-                        :row-style="{ height: '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="paichengData" row-key="ID" >
-                <!--                  <el-table-column v-slot="scope" align="left" label=优先次序 width="120" >-->
-                <!--                    <el-input disabled  v-model="scope.row.优先次序" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=工单编号 width="200" >-->
-                <!--                    <el-input disabled  v-model="scope.row.工单编号" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=印件名称 width="220" >-->
-                <!--                    <el-input disabled  v-model="scope.row.印件名称" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=接货数 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.接货数" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=小时产能 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.小时产能" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=产能系数 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.产能系数" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=生产工时 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.生产工时" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=生产工时 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.生产工时" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=辅助工时 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.辅助工时" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=班次安排 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.班次安排" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=排单备注 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.排单备注" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=最早开工时间 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.最早开工时间" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=计划开工时间 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.计划开工时间" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=计划完工时间 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.计划完工时间" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=销售订单号 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.销售订单号" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-                <!--                  <el-table-column v-slot="scope" align="left" label=印件/工序 width="110" >-->
-                <!--                    <el-input disabled  v-model="scope.row.印件/工序" :clearable="false"/>-->
-                <!--                  </el-table-column>-->
-              </el-table>
-            </div>
-
-          </el-dialog>
-          <!--工单打印【弹窗】-->
-          <!--工序产量核查【弹窗】-->
-          <el-dialog v-model="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;">
-              <div style="width: 100%; height: 60px; padding: 0px;  display: flex; align-items: center;">
-                <el-form-item label="工单编号" prop="currentProcess" style="margin-right: 20px; padding: 0px">
-                  <el-input v-model="gxclhcformData['gdbh']"  @keyup.enter="gxclhcProductValue" placeholder="" />
-                </el-form-item>
-                <el-form-item label="" prop="currentProcess" style="margin-right: 20px; padding: 0px">
-                  <el-input v-model="gxclhcformData['gdmc']" disabled placeholder="" style="width: 340px;"/>
-                </el-form-item>
-              </div>
-            </div>
-
-          </el-dialog>
-
-        </div>
-      </layout-header>
-
-      <layout>
-        <layout-sider :resize-directions="['right']" :width="190" style="margin-right: 10px;">
-          <div class="JKWTree-tree" style="height: 200px">
-            <el-tree :data="treeData" :props="defaultProps" @node-click="handleNodeClick"></el-tree>
-          </div>
-        </layout-sider>
-        <layout-content>
-          <el-main>
-
-            <div class="gva-table-box"  v-if="treeType === 'customTree'">
-              <el-table ref="multipleTable" style="width: 100%;height: 25vh"
-                        :row-style="{ height: '20px' }" :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                        :header-cell-style="{ padding: '0px' }" border
-                        tooltip-effect="dark" :data="tableData" row-key="ID"
-                        :highlight-current-row="true" size="small" @row-click="gdtableRowClick"
-                        @selection-change="handleSelectionChange" :show-overflow-tooltip="true">
-                <template v-for="item in tableFields[currentNode]">
-                  <el-table-column :align="item.align" :label="item.title" :prop="item.prop" :width="item.width" />
-                </template>
-              </el-table>
-            </div>
-
-            <el-tabs v-model="activeName" @tab-click="handleClick" v-if="(currentNode == '计划中' || currentNode == '已完工') &&  treeType === 'customTree'">
-              <el-tab-pane label="工艺资料"  @click="showTable('工艺资料')"  name="first">
-                <el-table ref="multipleTable" :show-overflow-tooltip="true" :row-style="{ height: '20px' }"
-                          :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                          :header-cell-style="{ padding: '0px' }" highlight-current-row="true"
-                          style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="gytableData" row-key="ID" @selection-change="handleSelectionChange">
-                  <el-table-column align="left" label="工单编号" prop="工单编号"  width="90"/>
-                  <el-table-column align="left" label="重点工序" prop="重点工序"  width="90"/>
-                  <el-table-column align="left" label="印件工序及名称" prop="印件工序及名称"  width="500"/>
-                  <el-table-column align="left" label="工序备注" prop="工序备注"  width="150"/>
-                  <el-table-column align="left" label="机组" prop="机组"  width="80"/>
-                  <el-table-column align="left" label="小时产能" prop="小时产能"  width="90"/>
-                  <el-table-column align="left" label="生产工时" prop="生产工时"  width="90"/>
-                  <el-table-column align="left" label="辅助工时" prop="辅助工时"  width="90"/>
-                  <el-table-column align="left" label="印刷方式" prop="印刷方式"  width="90"/>
-                  <el-table-column align="left" label="版距" prop="版距"  width="70"/>
-                  <el-table-column align="left" label="创建用户" prop="创建用户"  width="100"/>
-                  <el-table-column align="left" label="创建时间" prop="创建时间"  width="110"/>
-                  <el-table-column align="left" label="修改时间" prop="修改时间"  width="110"/>
-                  <el-table-column align="left" label="UNIQID" prop="UNIQID"  width="90"/>
-                </el-table>
-              </el-tab-pane>
-
-              <el-tab-pane label="印件资料"  @click="showTable('印件资料')"  name="second">
-                <el-table ref="multipleTable" :row-style="{ height: '20px' }"
-                          :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                          :header-cell-style="{ padding: '0px' }" :show-overflow-tooltip="true"
-                          :highlight-current-row="true"
-                          style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="yjtableData" row-key="ID" @selection-change="handleSelectionChange">
-                  <el-table-column align="left" label="工单编号" prop="工单编号"  width="90"/>
-                  <el-table-column align="left" label="印件号" prop="印件号"  width="70"/>
-                  <el-table-column align="left" label="印件代号" prop="印件代号"  width="100"/>
-                  <el-table-column align="left" label="印件名称" prop="印件名称"  width="240"/>
-                  <el-table-column align="left" label="纸张名称" prop="纸张名称"  width="230"/>
-                  <el-table-column align="left" label="投料规格" prop="投料规格"  width="100"/>
-                  <el-table-column align="left" label="成品数量" prop="成品数量"  width="90"/>
-                  <el-table-column align="left" label="实际投料" prop="实际投料"  width="90"/>
-                  <el-table-column align="left" label="投料单位" prop="投料单位"  width="85"/>
-                  <el-table-column align="left" label="平张投料" prop="平张投料"  width="90"/>
-                  <el-table-column align="left" label="联数" prop="联数"  width="70"/>
-                  <el-table-column align="left" label="开数" prop="开数"  width="70"/>
-                  <el-table-column align="left" label="创建用户" prop="创建用户"  width="110"/>
-                  <el-table-column align="left" label="创建时间" prop="创建时间"  width="110"/>
-                  <el-table-column align="left" label="修改时间" prop="修改时间"  width="110"/>
-                  <el-table-column align="left" label="UNIQID" prop="UNIQID"  width="90"/>
-                </el-table>
-              </el-tab-pane>
-            </el-tabs>
-
-            <div v-if="treeType === 'customTree'">
-              <el-table ref="multipleTable2"
-                        v-if="['排程中', '制程中'].includes(currentNode)"
-                        :show-overflow-tooltip="true" :row-style="{ height: '20px' }"
-                        :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                        :header-cell-style="{ padding: '0px' }" :highlight-current-row="true"
-                        style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="bottomData" row-key="ID" @selection-change="handleSelectionChange">
-                <template v-for="item in bottomTableF[currentNode]">
-                  <el-table-column :align="item.align" :label="item.title" :prop="item.prop" :width="item.width" />
-                </template>
-              </el-table>
-            </div>
-
-            <div v-if="treeType === 'dataTree'">
-              <el-table ref="chejianRef"
-                        :show-overflow-tooltip="true" :row-style="{ height: '20px' }"
-                        :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                        :header-cell-style="{ padding: '0px' }" :highlight-current-row="true"  @row-click="chejianRowClick"
-                        style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="chejianData" row-key="ID" @selection-change="PC_handleChange">
-                <el-table-column type="selection" width="55" />
-                <template v-for="item in [
-                  { align:'center', title: '工单编号', prop: '工单编号', width: 160  },
-                  { align:'center', title: '销售订单号', prop: '销售订单号', width: 200  },
-                  { align:'center', title: '印件名称', prop: '印件名称', width: 320  },
-                  { align:'center', title: '印件工序及名称', prop: '印件工序及名称', width: 200  },
-                  { align:'center', title: '工序产量', prop: '工序产量', width: 120  },
-                  { align:'center', title: '已完成产量', prop: '已完成产量', width: 160  },
-                  { align:'center', title: '产品名称', prop: '产品名称', width: 320  },
-                  { align:'center', title: '订单数量', prop: '订单数量', width: 120  },
-                  { align:'center', title: '计量单位', prop: '计量单位', width: 120  },
-                  { align:'center', title: '交货日期', prop: '交货日期', width: 140  },
-                  { align:'center', title: '产品代号', prop: '产品代号', width: 140  },
-                  { align:'center', title: '工序名称', prop: '工序名称', width: 120  },
-                  { align:'center', title: '机组', prop: '机组', width: 120  },
-                  { align:'center', title: '设备编号', prop: '设备编号', width: 120  },
-                  { align:'center', title: 'UNIQID', prop: 'UNIQID', width: 140  },
-                  { align:'center', title: '印件号', prop: '印件号', width: 100  },
-                  { align:'center', title: '工序号', prop: '工序号', width: 100  },
-              ]">
-                  <el-table-column :align="item.align" :label="item.title" :prop="item.prop" :width="item.width" />
-                </template>
-              </el-table>
-              <el-table ref="chejianfuRef"
-                        :show-overflow-tooltip="true" :row-style="{ height: '20px' }"
-                        :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                        :header-cell-style="{ padding: '0px' }" :highlight-current-row="true"  @row-click="chejianfuRowClick"
-                        style="width: 100%;height: 40vh;margin-top: 10px" border tooltip-effect="dark" :data="chejianfuData" row-key="ID" @selection-change="ZP_handleChange">
-                <el-table-column type="selection" width="55" />
-                <template v-for="item in [
-                  { align:'center', title: '工单编号', prop: '工单编号', width: 160  },
-                  { align:'center', title: '销售订单号', prop: '销售订单号', width: 200  },
-                  { align:'center', title: '印件名称', prop: '印件名称', width: 320  },
-                  { align:'center', title: '印件工序及名称', prop: '印件工序及名称', width: 200  },
-                  { align:'center', title: '工序产量', prop: '工序产量', width: 120  },
-                  { align:'center', title: '已完成产量', prop: '已完成产量', width: 160  },
-                  { align:'center', title: '小时产能', prop: '小时产能', width: 120  },
-                  { align:'center', title: '产能系数', prop: '产能系数', width: 120  },
-                  { align:'center', title: '生产工时', prop: '生产工时', width: 120  },
-                  { align:'center', title: '辅助工时', prop: '辅助工时', width: 140  },
-                  { align:'center', title: '最早开工时间', prop: '最早开工时间', width: 160  },
-                  { align:'center', title: '计划开工时间', prop: '计划开工时间', width: 160  },
-                  { align:'center', title: '计划完工时间', prop: '计划完工时间', width: 160  },
-                  { align:'center', title: '班次安排', prop: '班次安排', width: 120  },
-                  { align:'center', title: '排单备注', prop: '排单备注', width: 120  },
-                  { align:'center', title: '产品名称', prop: '产品名称', width: 180  },
-                  { align:'center', title: '订单数量', prop: '订单数量', width: 120  },
-                  { align:'center', title: '计量单位', prop: '计量单位', width: 120  },
-                  { align:'center', title: '交货日期', prop: '交货日期', width: 140  },
-                  { align:'center', title: '优先次序', prop: '优先次序', width: 140  },
-                  { align:'center', title: '产品代号', prop: '产品代号', width: 140  },
-                  { align:'center', title: '工序名称', prop: '工序名称', width: 120  },
-                  { align:'center', title: '设备编号', prop: '设备编号', width: 120  },
-                  { align:'center', title: '车间名称', prop: '车间名称', width: 120  },
-                  { align:'center', title: 'GYUID', prop: 'GYUID', width: 140  },
-                  { align:'center', title: '印件号', prop: '印件号', width: 100  },
-                  { align:'center', title: '工序号', prop: '工序号', width: 100  },
-              ]">
-                  <el-table-column :align="item.align" :label="item.title" :prop="item.prop" :width="item.width" />
-                </template>
-              </el-table>
-            </div>
-          </el-main>
-        </layout-content>
-
-      </layout>
-    </layout>
-  </div>
-</template>
-<script>
-//点击按钮显示下方表格
-export default {
-  data() {
-    return {
-      currentTable: '',
-      activeName: 'first',
-      // 其他表格数据...
-    };
-  },
-  methods: {
-    showTable(tableName) {
-      // console.log("点击了".tableName)
-      // 根据点击的按钮设置当前展示的表格
-      this.currentTable = tableName;
-    },
-    showTableChange() {
-      // 处理表格选中事件
-    },
-    // 其他方法...
-  }
-};
-</script>
-
-<script setup>
-// 全量引入格式化工具 请按需保留
-import { Layout, LayoutSider, LayoutContent } from '@arco-design/web-vue';
-import {createCompany, deleteCompany, deleteCompanyByIds, updateCompany, findCompany, getCompanyList} from '@/api/company'
-import { getDictFunc, formatDate, formatBoolean, filterDict, ReturnArrImg, onDownloadFile } from '@/utils/format'
-import { ElMessage, ElMessageBox } from 'element-plus'
-import { ref, reactive } from 'vue'
-import {
-  DataList, getProduct, getProductData,scheduleProcess,ProductionSchedulingAdd,
-  Project, StatusEdit, EquipmentScheduling, ScheduleSelection,MachineWorkOrderList,
-  projectCraft, ProcessStatusCorrection,ProductionSchedulingPause,
-  projectPrint, setProductStatus, workbench, ProcessFlow, Schedule,complete
-} from "@/api/yunyin/yunying";
-defineOptions({name: 'Company'})
-
-const chejianData = ref([])
-const chejianfuData = ref([])
-
-// =========== 左侧树侧形结构 ===========
-const sctreeData = ref([
-  {
-    label: '排产进程及参数设置',
-    children:[
-      {label: '1.计划中工单', number: "计划中", type: '__customer'},
-      {label: '2.排程中工单', number: "排程中",type: '__customer'},
-      {label: '3.制程中工单', number: "制程中", type: '__customer'},
-      {label: '4.已完工工单', number: "已完工", type: '__customer'}
-    ],
-  }
-]);
-//上方表格
-const tableFields = ref(
-{
-  "计划中": [
-      { title:'获取状态', prop: 'statusColumn', width: 80, align:'center'},
-      { title:'生产分类', prop: '生产分类', width: 80, align:'left', },
-      { title: '工单编号', prop: '工单编号', width: 80, align:'center', },
-      { title: '产品代号', prop: '产品代号', width: 90, align:'center', },
-      { title: '产品名称', prop: '产品名称', width: 280, align:'left', },
-      { title: '接单日期', prop: '接单日期', width: 110, align:'left', },
-      { title: '交货日期', prop: '交货日期', width: 110, align:'left', },
-      { title: '订单数量', prop: '订单数量', width: 90, align:'left', },
-      { title: '计量单位', prop: '计量单位', width: 120, align:'center', },
-      { title: '客户名称', prop: '客户名称', width: 200, align:'left', },
-      { title: '客户编号', prop: '客户编号', width: 80, align:'center', },
-      { title: '备注', prop: '备注', width: 230, align:'left', },
-      { title: '客户料号', prop: '客户料号', width: 120, align:'left', },
-      { title: '创建用户', prop: '创建用户', width: 110, align:'left', },
-      { title: '创建时间', prop: '创建时间', width: 110, align:'left', },
-      { title: '修改时间', prop: '修改时间', width: 110, align:'left', },
-      { title: 'UNIQID', prop: 'UNIQID', width: 80  , align:'left', },
-      { title: '投料率', prop: '投料率', width: 100, align:'left', },
-      { title: '销售订单号', prop: '销售订单号', width: 120, align:'left', },
-      ],
-  "排程中": [
-      // { title: '最早开工时间', prop: '最早开工时间', width: 120, align:'left', },
-      { title: '工单编号', prop: '工单编号', width: 80, align:'left', },
-      { title: '产品代号', prop: '产品代号', width: 90, align:'left', },
-      { title: '产品名称', prop: '产品名称', width: 340, align:'left', },
-      { title: '接单日期', prop: '接单日期', width: 110, align:'left', },
-      { title: '交货日期', prop: '交货日期', width: 110, align:'left', },
-      { title: '订单数量', prop: '订单数量', width: 120, align:'left', },
-      { title: '计量单位', prop: '计量单位', width: 120, align:'left', },
-      { title: '销售订单号', prop: '销售订单号', width: 200, align:'left', },
-      // { title: '排程类型', prop: '排程类型', width: 120, align:'left', },
-      { title: '客户编号', prop: '客户编号', width: 120, align:'left', },
-      { title: '客户名称', prop: '客户名称', width: 230, align:'left', },
-      { title: '创建用户', prop: '创建用户', width: 120, align:'left', },
-      // { title: 'GDUID', prop: 'GDUID', width: 120, align:'left', },
-      { title: 'GYUID', prop: 'GYUID', width: 100, align:'left', },
-      ],
-  "制程中": [
-        // { title: '最早开工时间', prop: '最早开工时间', width: 120, align:'left', },
-        { title: '工单编号', prop: '工单编号', width: 80, align:'left', },
-        { title: '产品代号', prop: '产品代号', width: 90, align:'left', },
-        { title: '产品名称', prop: '产品名称', width: 340, align:'left', },
-        { title: '接单日期', prop: '接单日期', width: 110, align:'left', },
-        { title: '交货日期', prop: '交货日期', width: 110, align:'left', },
-        { title: '订单数量', prop: '订单数量', width: 120, align:'left', },
-        { title: '计量单位', prop: '计量单位', width: 120, align:'left', },
-        { title: '销售订单号', prop: '销售订单号', width: 200, align:'left', },
-        // { title: '排程类型', prop: '排程类型', width: 120, align:'left', },
-        { title: '客户编号', prop: '客户编号', width: 120, align:'left', },
-        { title: '客户名称', prop: '客户名称', width: 120, align:'left', },
-        { title: '客户料号', prop: '客户料号', width: 160, align:'left', },
-        // { title: 'GDUID', prop: 'GDUID', width: 120, align:'left', },
-        { title: 'GYUID', prop: 'GYUID', width: 100, align:'left', },
-      ],
-  "已完工": [
-        { title: '工单编号', prop: '工单编号', width: 80, align:'left', },
-        { title: '产品代号', prop: '产品代号', width: 110, align:'left', },
-        { title: '产品名称', prop: '产品名称', width: 340, align:'left', },
-        { title: '接单日期', prop: '接单日期', width: 110, align:'left', },
-        { title: '交货日期', prop: '交货日期', width: 110, align:'left', },
-        { title: '订单数量', prop: '订单数量', width: 90, align:'left', },
-        { title: '计量单位', prop: '计量单位', width: 120, align:'left', },
-        { title: '销售订单号', prop: '销售订单号', width: 120, align:'left', },
-        { title: '客户编号', prop: '客户编号', width: 80, align:'left', },
-        { title: '客户名称', prop: '客户名称', width: 120, align:'left', },
-        { title: '客户料号', prop: '客户料号', width: 120, align:'left', },
-        // { title: '排程类型', prop: '排程类型', width: 120, align:'left', },
-        { title: 'GDUID', prop: 'GDUID', width: 80, align:'left', },
-      ]
-    }
-)
-//下方表格
-const bottomTableF = ref({
-  "排程中": [
-    { title:'工单编号', prop: '工单编号', width: 90, align:'left', },
-    { title:'印件工序及名称', prop: '印件工序及名称', width: 160, align:'left', },
-    { title:'机组', prop: '机组', width: 120, align:'left', },
-    { title:'设备编号', prop: '设备编号', width: 120, align:'left', },
-    { title:'工序产量', prop: '工序产量', width: 120, align:'left', },
-    { title:'已完成产量', prop: '已完成产量', width: 120, align:'left', },
-    { title:'剩余产量', prop: '剩余产量', width: 120, align:'left', },
-    { title:'小时产能', prop: '小时产能', width: 120, align:'left', },
-    { title:'产能系数', prop: '产能系数', width: 120, align:'left', },
-    { title:'生产工时', prop: '生产工时', width: 120, align:'left', },
-    { title:'辅助工时', prop: '辅助工时', width: 120, align:'left', },
-    { title:'最早开工时间', prop: '最早开工时间', width: 120, align:'left', },
-    { title:'计划开工时间', prop: '计划开工时间', width: 120, align:'left', },
-    { title:'计划完工时间', prop: '计划完工时间', width: 120, align:'left', },
-    { title:'班次安排', prop: '班次安排', width: 120, align:'left', },
-    { title:'设备名称', prop: '设备名称', width: 120, align:'left', },
-    { title:'排单备注', prop: '排单备注', width: 120, align:'left', },
-    { title:'工序完工', prop: '工序完工', width: 120, align:'left', },
-    { title:'UNIQID', prop: 'UNIQID', width: 120, align:'left', },
-  ],
-  "制程中": [
-    { title:'工单编号', prop: '工单编号', width: 90, align:'left', },
-    { title:'印件工序及名称', prop: '印件工序及名称', width: 160, align:'left', },
-    { title:'机组', prop: '机组', width: 120, align:'left', },
-    { title:'设备编号', prop: '设备编号', width: 120, align:'left', },
-    { title:'工序产量', prop: '工序产量', width: 120, align:'left', },
-    { title:'已完成产量', prop: '已完成产量', width: 120, align:'left', },
-    { title:'剩余产量', prop: '剩余产量', width: 120, align:'left', },
-    { title:'小时产能', prop: '小时产能', width: 120, align:'left', },
-    { title:'产能系数', prop: '产能系数', width: 120, align:'left', },
-    { title:'生产工时', prop: '生产工时', width: 120, align:'left', },
-    { title:'辅助工时', prop: '辅助工时', width: 120, align:'left', },
-    { title:'最早开工时间', prop: '最早开工时间', width: 120, align:'left', },
-    { title:'计划开工时间', prop: '计划开工时间', width: 120, align:'left', },
-    { title:'计划完工时间', prop: '计划完工时间', width: 120, align:'left', },
-    { title:'班次安排', prop: '班次安排', width: 120, align:'left', },
-    { title:'设备名称', prop: '设备名称', width: 120, align:'left', },
-    { title:'排单备注', prop: '排单备注', width: 120, align:'left', },
-    { title:'工序完工', prop: '工序完工', width: 120, align:'left', },
-    { title:'UNIQID', prop: 'UNIQID', width: 120, align:'left', },
-      ],
-})
-//左侧左边栏
-const treeData = ref([]);
-//默认显示计划中表格
-const currentNode = ref("计划中")
-//计划中、已完工下方印件资料
-const yjtableData = ref([])
-//计划中、已完工下方工艺资料
-const gytableData = ref([])
-//排程中、制程中下方表格
-const bottomData = ref([])
-//工单侧边栏 设备定额及分配参数设置
-const schandleNodeClick = async (node) => {
-  currentNode.value = node.number
-  bottomData.value = []
-  yjtableData.value = []
-  gytableData.value = []
-  switch (node.number) {
-    case "计划中":
-      console.log(currentNode.value)
-      const jhz_Projectdata = await Project({status:currentNode.value});
-      console.log(jhz_Projectdata)
-      for (let i = 0; i < jhz_Projectdata.data.length; i++) {
-        const item = jhz_Projectdata.data[i];
-        if (item.status === 0) {
-          item.statusColumn = "*";
-        }
-        // 如果 status 为 1,可以在相应列中添加其他内容
-        else if (item.status === 1) {
-          item.statusColumn = "";
-        }
-      }
-      tableData.value = jhz_Projectdata.data;
-      break;
-    case "排程中":
-      console.log(currentNode.value)
-      //  /Manufacture/Schedule
-      const pc_Schedule = await Schedule({status:currentNode.value,search:''});
-      console.log(pc_Schedule)
-      tableData.value = pc_Schedule.data;
-      break;
-    case "制程中":
-      console.log(currentNode.value)
-      const zc_Schedule = await Schedule({status:currentNode.value,search:''});
-      console.log(zc_Schedule)
-      tableData.value = zc_Schedule.data;
-      break;
-    case "已完工":
-      console.log(currentNode.value)
-      const ywg_Project = await Project({status:currentNode.value});
-      for (let i = 0; i < ywg_Project.data.length; i++) {
-        const item = ywg_Project.data[i];
-        // 如果 status 为 0,在某一列(比如 statusColumn)中添加 "*"
-        if (item.status === 0) {
-          item.statusColumn = "*";
-        }
-        else if (item.status === 1) {
-          item.statusColumn = "";
-        }
-      }
-      tableData.value = ywg_Projectdata.data;
-      break;
-  }
-};
-
-//车间侧边栏 进入页面自动加载【车间】数据
-const workbenchdata = async () => {
-  try {
-    const data = await workbench();
-    const rawData = data.data;
-    const dataArray =Object.keys(rawData).map(key => ({
-      label: key,
-      children: Object.keys(rawData[key]).map(subKey => ({
-        label: subKey,
-        children: rawData[key][subKey].map(item => ({
-          label: item
-        }))
-      }))
-    }));
-    treeData.value = dataArray;
-    treeData.value.unshift(sctreeData.value[0])
-  } catch (error) {
-    console.error(error);
-  }
-};
-workbenchdata();
-//全局获取工单编号
-const _Gd_gdbh = ref(null)
-//点击表格 通过【工单编号】获取下方表格数据
-const gdtableRowClick = async (row) => {
-  _Gd_gdbh.value = row.工单编号;
-  console.log(_Gd_gdbh.value);
-
-  if (currentNode.value == "计划中") {
-    if(row['statusColumn'] === "*"){
-      gytableData.value = [];
-      yjtableData.value = [];
-      return false;
-    }else{
-      //计划中工单->工艺资料接口
-      const gyres = await projectCraft({Gd_gdbh: _Gd_gdbh.value});
-      //工艺资料表格
-      gytableData.value.splice(0, gytableData.value.length, ...gyres.data);
-      //计划中工单->印件资料接口
-      const yjres = await projectPrint({Gd_gdbh: _Gd_gdbh.value});
-      //印件资料表格
-      yjtableData.value.splice(0, yjtableData.value.length, ...(yjres?.data ?? []));
-    }
-  }
-
-  if (currentNode.value == "排程中") {
-    const pc_scheduleProcess = await scheduleProcess({Gd_gdbh: _Gd_gdbh.value});
-    bottomData.value = pc_scheduleProcess.data;
-  }
-
-  if (currentNode.value == "制程中") {
-    const zc_scheduleProcess = await scheduleProcess({Gd_gdbh: _Gd_gdbh.value});
-    bottomData.value = zc_scheduleProcess.data;
-  }
-
-  if (currentNode.value == "已完工") {
-    //工艺资料
-    const ywg_gyres = await projectCraft({Gd_gdbh: _Gd_gdbh.value});
-    gytableData.value.splice(0, gytableData.value.length, ...ywg_gyres.data);
-
-    //印件资料
-    const ywg_yjres = await projectPrint({Gd_gdbh: _Gd_gdbh.value});
-    yjtableData.value.splice(0, yjtableData.value.length, ...ywg_yjres.data);
-  }
-};
-
-//点击左侧树形获取表格列表
-const tableData = ref([]);
-const _machine = ref(null);
-const treeType = ref('customTree') // dataTree // 计划中,排产中 ,dataTree 车间
-const handleNodeClick = async (node) => {
-  if (node.type && node.type === '__customer') {
-    treeType.value = 'customTree'
-    schandleNodeClick(node)
-  } else if (!node.children) {
-    treeType.value = 'dataTree'
-    const custom_code = node.label;
-    // 使用字符串分割获取#前面的数据
-    const dataBeforeHash = custom_code.split('#')[0].trim();
-    const machine = dataBeforeHash + '#';
-    console.log(machine)
-    _machine.value = machine;
-
-    const zhubiao = await MachineWorkOrderList({ machine, status: '排程' })
-    const  fubiao = await MachineWorkOrderList({ machine, status: '制程' })
-    // console.log(zhubiao, fubiao)
-
-    chejianData.value = zhubiao.data;
-    chejianfuData.value = fubiao.data;
-  }
-};
-//计划中已完工搜索
-const searchInfo = ref('');
-// 提交搜索
-const onSubmit = () => {
-  if(searchInfo.value === '' || searchInfo.value.length < 6 ){
-    tableData.value = [];
-  }else{
-    if(currentNode.value === '计划中' || currentNode.value === '已完工'){
-      _Project();
-    }else if(currentNode.value === '排程中' || currentNode.value === '制程中'){
-      _Schedule();
-    }else{
-      ElMessage({type: 'warning',message: '请选择具体的工单后,再操作此功能'})
-    }
-  }
-};
-
-// 搜索计划中、已完工一条工单
-const _Project = async () => {
-  const status = currentNode.value;
-  const search = searchInfo.value;
-  console.log(status)
-  console.log(search)
-  const Project_search = await Project({status:status,search:search});
-  console.log(Project_search);
-  if(Project_search.code === 0){
-    tableData.value = Project_search.data;
-  }else{
-    tableData.value = [];
-    return false;
-  }
-};
-// 搜索排程、制程一条工单
-const _Schedule = async () => {
-  const status = currentNode.value;
-  const search = searchInfo.value;
-  console.log(status)
-  console.log(search)
-  const Schedule_search = await Schedule({status:status,search:search});
-  console.log(Schedule_search);
-  if(Schedule_search.code === 0){
-    tableData.value = Schedule_search.data;
-  }else{
-    tableData.value = [];
-    return false;
-  }
-};
-
-// const paichengForm = ref([])
-// const paichengData = ref([
-//   {
-//     优先次序: 1, 工单编号: 1000, 印件名称: 'test',接货数: 111,
-//     小时产能: 1, 产能系数: 1.5, 生产工时: 333, 辅助工时: 222,
-//     班次安排: '1111', 排单备注: '备注备注', 最早开工时间: '2023-01-01 08:08:08',
-//     计划开工时间: '2023-01-01 08:08:08', 计划完工时间: '2023-01-01 08:08:08',
-//     销售订单号: '3335555', '印件/工序': '321312',
-//   }
-// ])
-
-
-// =========== 【工序状态更正】 ===========
-const gxztgzzlist = ref(false);
-const gxztgzzformData = reactive({gdbh: '',});
-const gxztgzztableData = ref([]);
-//工序状态更正【按钮】
-const ongxztgzClick = () => {
-  if(_Gd_gdbh.value == null){
-    gxztgzzlist.value = false;
-    ElMessage({type: 'warning',message: '请选择树形后,再操作此功能'})
-  }else{
-    gxztgzzformData['gdbh'] = _Gd_gdbh.value;
-    _ProcessStatusCorrection();
-    gxztgzzlist.value = true;
-  }
-};
-//工序状态更正【回车】
-const gxztgzzgetProductValue = () => {
-  _ProcessStatusCorrection();
-};
-//工序状态更正
-const _ProcessStatusCorrection = async (row) => {
-  const workOrder = gxztgzzformData['gdbh'];
-  console.log(workOrder)
-  const ProcessStatusCorrectiondata = await ProcessStatusCorrection({workOrder:workOrder});
-  gxztgzztableData.value = ProcessStatusCorrectiondata.data;
-};
-//工序状态更正【退出】
-const gxztgzzCancel = () => {
-  gxztgzzlist.value = false;
-};
-
-//点击车间表格【获取车间工单编号】
-// const _PC_gdbh = ref(null)
-// const chejianRowClick = (row) => {
-//   // console.log(row['工单编号'])
-//   _PC_gdbh.value = row['工单编号'];
-// };
-//加入排产【按钮】
-const onjrpcClick = async () => {
-  if(_PC_gdbh.value == null || _PC_gdbh.value == ''){
-    ElMessage({type: 'warning',message: '请选择排程中工单'})
-  }else{
-    let params = {}
-    // params.workOrder = '2311116';
-    // params.machine = 'JY01#';
-    params.workOrder = _PC_gdbh.value;
-    params.machine = _machine.value;
-    params.printCode = 1;
-    params.processCode = 1;
-    console.log(params)
-    const ProductionSchedulingAdd_add = await ProductionSchedulingAdd(params);
-    console.log(ProductionSchedulingAdd_add)
-    if (ProductionSchedulingAdd_add .code === 0) {
-      const  fubiao = await MachineWorkOrderList({ machine:_machine.value, status: '制程' });
-      chejianfuData.value = fubiao.data;
-      ElMessage({type: 'success',message: '加入排产 更新成功'});
-    } else {
-      ElMessage({ type: 'error',message: '更新失败'})
-    }
-  }
-};
-
-// const _ZC_gdbh = ref(null)
-// const chejianfuRowClick = (row) => {
-//   // console.log(row['工单编号'])
-//   _ZC_gdbh.value = row['工单编号'];
-// };
-
-//暂停排产【按钮】
-const onztwgClick = async () => {
-  if(_ZC_gdbh.value == null || _ZC_gdbh.value == ''){
-    ElMessage({type: 'warning', message: '请选择制程中工单'})
-  }else{
-    let params = {}
-    // params.workOrder = '2311116';
-    // params.machine = 'JY01#';
-    params.workOrder = _ZC_gdbh.value;
-    params.machine = _machine.value;
-    params.printCode = 1;
-    params.processCode = 1;
-    console.log(params)
-
-    const ProductionSchedulingAdd_stop = await ProductionSchedulingPause(params);
-    console.log(ProductionSchedulingAdd_stop)
-    if (ProductionSchedulingAdd_stop .code === 0) {
-
-      const zhubiao = await MachineWorkOrderList({ machine:_machine.value, status: '排程' });
-      chejianData.value = zhubiao.data;
-      ElMessage({type: 'success',message: '暂停排产 更新成功'});
-    } else {
-      console.log(ygjbzledit_eddt);
-      ElMessage({ type: 'error',message: '更新失败'})
-    }
-  }
-};
-
-//工序完工【按钮】
-const ongxwgClick = async () => {
-  if(_ZC_gdbh.value == null || _ZC_gdbh.value == ''){
-    onstatuslist.value = false;
-    ElMessage({
-      type: 'warning',
-      message: '请选择制程中工单'
-    })
-  }else{
-    // let combinedValue = `${_ZC_gdbh.value},${_PC_gdbh.value}`;
-    // console.log(combinedValue);
-    let params = {}
-    params.workOrder = _ZC_gdbh.value;
-    params.processCode = _gxh.value;
-    console.log(params)
-    const complete_get = await complete(params);
-    console.log(complete_get)
-    if (complete_get .code === 0) {
-      const  fubiao = await MachineWorkOrderList({ machine:_machine.value, status: '制程' });
-      chejianfuData.value = fubiao.data;
-      ElMessage({type: 'success',message: '工序完工 更新成功'})
-    } else {
-      ElMessage({ type: 'error',message: '更新失败'})
-    }
-  }
-};
-//加入排程【上面到下面】
-const _PC_gdbh = ref(null)
-const PC_handleChange = (arr) => {
-  let str = arr.map((val) => val['工单编号']).join(",");
-  console.log(str);
-  _PC_gdbh.value = str;
-}
-//加入制程【下面到上面】
-const _ZC_gdbh = ref(null)
-const _gxh = ref(null)
-const ZP_handleChange = (arr) => {
-  console.log(arr)
-  let str = arr.map((val) => val['工单编号']).join(",");
-  let gxh = arr.map((val) => val['gxh']).join(",");
-  console.log(str);
-  console.log(gxh);
-  _ZC_gdbh.value = str;
-  _gxh.value = gxh;
-}
-
-//机组调整【按钮】
-const onjztzClick = async () => {
-
-};
-//工序产量核查【按钮】
-const onprintClick = async () => {
-
-};
-
-//=========工序产量核查===========
-const gxclhclist = ref(false);
-const gxclhcformData = reactive({
-  gdbh: '',
-  gdmc: '',
-});
-
-//工序产量核查【按钮】
-const ongxclhcClick = async () => {
-  gxclhclist.value = true;
-};
-
-//工序产量核查【回车】
-const _gxclhcgdbh = ref(null)
-const gxclhcProductValue = () => {
-  if(fjformData['dqprocessName'] === ''){
-    fjformData['dqprocessName'] = '';
-  }
-  _gxclhcgdbh.value = gxclhcformData['gdbh'];
-  _ongetProductclick();
-}
-
-
-
-//工序产量核查【退出】
-const gxclhcCancel = async () => {
-  gxclhclist.value = false;
-};
-
-
-
-//流程单查询【按钮】
-const onlcdlistClick = async () => {
-
-};
-
-
-//状态设置【按钮】
-const onstatuslist = ref(false);
-const statusformData = reactive({gdbh: '',});
-const status = ref('计划中'); // 默认选择在产
-const onStatusClick = () => {
-  if(_Gd_gdbh.value == null){
-    onstatuslist.value = false;
-    ElMessage({
-      type: 'warning',
-      message: '请选择树形后,再操作此功能'
-    })
-  }else{
-    statusformData['gdbh'] = _Gd_gdbh.value;
-    onstatuslist.value = true;
-  }
-};
-//工单状态设置【放弃按钮】
-const handleCancel = () => {
-  onstatuslist.value = false;
-};
-//工单状态设置【执行按钮】
-const handleConfirm = async () => {
-  //工单编号
-  let workOrder = statusformData['gdbh'];
-  //状态
-  let statusCode;
-  if (status.value === '计划中') {
-    statusCode = "1-计划中";
-  } else if (status.value === '生产中') {
-    statusCode = "2-生产中";
-  }else if (status.value === '已完工') {
-    statusCode = "3-已完工";
-  }
-  const StatusEditdata = await StatusEdit({workOrder:workOrder,status:statusCode});
-  if (StatusEditdata.code === 0) {
-    ElMessage({
-      type: 'success',
-      message: '更新成功'
-    })
-  } else {
-    ElMessage({
-      type: 'error',
-      message: '更新成功'
-    })
-  }
-  onstatuslist.value = false;
-};
-// handleCancel(_stacode);
-
-
-const page = ref(1)
-const total = ref(0)
-const pageSize = ref(10)
-// 分页
-const handleSizeChange = (val) => {
-  pageSize.value = val
-  getTableData()
-}
-
-// 修改页面容量
-const handleCurrentChange = (val) => {
-  page.value = val
-  getTableData()
-}
-
-// 查询
-const getTableData = async() => {
-
-}
-getTableData()
-
-// ============== 表格控制部分结束 ===============
-
-// 获取需要的字典 可能为空 按需保留
-const setOptions = async () =>{
-}
-
-// 获取需要的字典 可能为空 按需保留
-setOptions()
-
-
-// 多选数据
-const multipleSelection = ref([])
-// 多选
-const handleSelectionChange = (val) => {
-  multipleSelection.value = val
-}
-
-
-// 行为控制标记(弹窗内部需要增还是改)
-const type = ref('')
-
-//修改
-const updateCompanyFunc = async (row) => {
-  console.log(row);
-  dialogFormVisible.value = true;
-};
-
-// 打开弹窗
-const openDialog = () => {
-  dialogFormVisible.value = true
-}
-// 弹窗确定
-const enterDialog = async () => {
-  console.log("弹窗确定")
-}
-// 关闭弹窗
-const closeDialog = () => {dialogFormVisible.value = false}
-
-
-const cjsbpclist = ref(false);
-const cjsbpcformData = reactive({
-  //设备代号
-  sbdh: '',
-  // 下拉框选项数据
-  bancis: [],
-  // 设置默认值
-  banci: '',
-  isBanciSelected: false,
-});
-
-//=============车间设备排程================
-//车间设备排程【按钮】
-const oncjsbpcClick = () => {
-  cjsbpcformData['sbdh'] = 'WY01#';
-  _EquipmentSchedulingdata();
-  _ScheduleSelectiondata();
-  cjsbpclist.value = true;
-};
-//班次选择列表
-const _ScheduleSelectiondata = async ()=>{
-  try {
-    const ScheduleSelectiondata = await ScheduleSelection();
-    // 清空之前的数据
-    cjsbpcformData.bancis = [];
-
-    // 循环遍历数组并将每个班次的detail添加到bancis数组中
-    for (const option of ScheduleSelectiondata.data) {
-      cjsbpcformData.bancis.push({ label: option.detail, value: option.detail.split('||')[0], rename:option.detail});
-    }
-    console.log("赋值后的数据:", cjsbpcformData.bancis);
-  } catch (error) {
-    console.error(error);
-  }
-}
-//车间设备排程->数据展示
-const _EquipmentSchedulingdata = async ()=>{
-  let machine = 'WY01#';
-  try {
-    const EquipmentSchedulingdata = await EquipmentScheduling({machine:machine});
-    console.log(EquipmentSchedulingdata)
-  } catch (error) {
-    console.error(error);
-  }
-}
-//车间设备排程->数据编辑
-
-
-//车间设备排程【更新排程】
-const oneditpcClick = () => {
-  console.log("更新排程")
-  cjsbpclist.value = true;
-};
-//车间设备排程【退出】
-const cjsbpcCancel = () => {
-  cjsbpclist.value = false;
-};
-
-
-
-
-
-
-</script>
-<style scoped>
-:deep(.el-tabs__header){
-  margin-bottom: 0;
-}
-:deep(.el-table td .cell) {
-  line-height: 30px !important;
-}
-.JKWTree-container {
-  display: flex;
-}
-.JKWTree-tree {
-  width: 300px;
-  background-color: #fff;
-  padding: 10px;
-  margin-right: 20px;
-}
-
-.JKWTree-tree h3 {
-  font-size: 15px;
-  font-weight: 700;
-  margin: 10px 0;
-}
-.JKWTree-content {
-  flex: 1;
-}
-/* 选中某行时的背景色 */
-:deep(.el-table__body tr.current-row) > td {
-  background: #ff80ff !important;
-}
-</style>
-<style scoped>
-
-: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>
-<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>

+ 0 - 1998
src/view/yunyin/shengchanguanli/gongdanziliao.vue

@@ -1,1998 +0,0 @@
-<template>
-  <div>
-    <layout>
-      <!-- 左侧树形结构 -->
-      <layout-sider :resize-directions="['right']" :width="300">
-        <div class="JKWTree-tree" style="width: 100%;height: 746px">
-          <h3>工单管理</h3>
-          <el-tree :data="treeData.data" title=""  @node-click="handleNodeClick"></el-tree>
-        </div>
-      </layout-sider>
-
-      <!-- 右侧内容区域 -->
-      <layout-content >
-        <el-main>
-          <div class="gva-search-box">
-
-            <!--按钮部分-->
-            <el-form ref="elSearchFormRef" :inline="true" :model="searchInfo" class="demo-form-inline" :rules="searchRule" @keyup.enter="onSubmit">
-              <el-form-item>
-                <el-input v-model="searchInfo" placeholder="搜索工单编号" style="width: 200px;margin: 5px"></el-input>
-                <el-button type="primary" icon="search" @click="onSubmit" style="margin: 5px">查询</el-button>
-                <el-button type="primary"  icon="edit" @click="ontlssclick" style="margin: 5px">U8投料试算</el-button>
-                <el-button type="primary" icon="edit" @click="onyycpzlclick" style="margin: 5px">引用产品资料</el-button>
-                <el-button type="primary"  icon="edit" @click="oneditgxclhsclick" style="margin: 5px">工序产量核算</el-button>
-                <el-button type="primary"  icon="edit" @click="oneditgylctzclick" style="margin: 5px">工艺流程调整</el-button>
-                <el-button type="primary"  icon="edit" @click="oneditugdclick" style="margin: 5px">查改U8工单</el-button>
-<!--                <el-button type="primary" disabled icon="edit" @click="oneditztfwclick" style="margin: 5px">状态复位</el-button>-->
-                <el-button type="primary"  icon="edit" @click="onxzhscsclick" style="margin: 5px">修正核算参数</el-button>
-                <el-button type="primary"  icon="edit" @click="onzjfpxsclick" style="margin: 5px">质检废品系数</el-button>
-              </el-form-item>
-            </el-form>
-
-            <!--按钮弹窗部分-->
-
-            <!--U8投料试算-->
-            <el-dialog v-model="tlsslist" title="U8投料试算"  style="height: 100%;width: 100%;margin: 0;padding: 0">
-              <el-button type="primary" icon="" disabled @click="ontlssclicks" style="margin: 5px">投料试算</el-button>
-              <el-button type="primary" icon="" disabled @click="onbxgxclicks" style="margin: 5px">备选工序</el-button>
-              <el-button type="primary" icon="" disabled @click="onsjgxclicks" style="margin: 5px">实际工序</el-button>
-              <el-button type="primary" icon="" @click="oncloneclick" style="margin: 5px">退出</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">
-                  <el-input v-model="tlssformData['cpdh']" @keyup.enter="tlssgetProductValue" placeholder="" style="width: 200px;"/>
-                  <el-input v-model="tlssformData['cpmc']" disabled placeholder="" style="width: 700px;"/>
-                </el-form-item>
-              </div>
-              <div style="display: flex; align-items: center; margin: 0px; padding: 0px;">
-                <!-- 第二行 -->
-                <el-form-item label="成品张数 :" prop="currentProcess" style="margin-right: 10px;">
-                  <el-input disabled v-model="tlssformData['cpzs']" @keyup.enter="tlsscpzsgetProductValue" />
-                </el-form-item>
-                <el-form-item label="主印投料大张数 :" prop="currentProcess" style="margin-right: 10px;">
-                  <el-input disabled v-model="tlssformData['zytldzs']" style="width: 130px;" />
-                </el-form-item>
-                <el-form-item label="目标合格率 :" prop="currentProcess" style="margin-right: 10px;">
-                  <el-input disabled v-model="tlssformData['mbhgl']" style="width: 130px;" />
-                </el-form-item>
-                <el-form-item label="损耗数 :" prop="currentProcess" style="margin-right: 10px;">
-                  <el-input disabled v-model="tlssformData['shs']" style="width: 130px;" />
-                </el-form-item>
-              </div>
-              <el-table ref="multipleTable"
-                        :show-overflow-tooltip="true"
-                        :row-style="{ height: '0px' }"
-                        :cell-style="{ padding: '0px' }" :header-row-style="{ height: '0px' }"
-                        :header-cell-style="{ padding: '0px' }"
-                        style="width: 100%;height: 70vh;" border tooltip-effect="dark"
-                        :data="tlsstableData" row-key="ID" @selection-change="handleSelectionChange">
-                <!--                    <el-table-column type="selection" width="55" />-->
-                <el-table-column v-slot="scope" align="left" label=备选工序 width="100" >
-                  <el-input disabled :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=印件号 width="80" >
-                  <el-input disabled  v-model="scope.row.印件号" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=工序号 width="80" >
-                  <el-input disabled  v-model="scope.row.工序号" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=工序名称 width="390" >
-                  <el-input disabled  v-model="scope.row.工序名称" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=墨色数 width="100" >
-                  <el-input disabled  v-model="scope.row.墨色数" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=损耗代号 width="120" >
-                  <el-input disabled  v-model="scope.row.损耗代号" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=调机损耗 width="100" >
-                  <el-input disabled  v-model="scope.row.调机损耗" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=运行损耗率 width="120" >
-                  <el-input disabled  v-model="scope.row.运行损耗率" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=损耗系数 width="100" >
-                  <el-input disabled  v-model="scope.row.损耗系数" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=加工联数 width="100" >
-                  <el-input disabled  v-model="scope.row.加工联数" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=工序接货数 width="100" >
-                  <el-input disabled   :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=工序损耗 width="100" >
-                  <el-input disabled   :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=工序成品数 width="100" >
-                  <el-input disabled   :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=工序损耗率 width="100" >
-                  <el-input disabled  :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=产品代号 width="130" >
-                  <el-input disabled  v-model="scope.row.产品代号" :clearable="false"/>
-                </el-table-column>
-              </el-table>
-            </el-dialog>
-
-            <!--印用产品资料-->
-            <el-dialog v-model="onyycpzllist" title="获取产品资料" width="45%" style="height: 490px;top: 10%">
-              <div style="display: flex; flex-direction: column; align-items: center; height: 100%; padding: 20px;">
-
-                <el-form-item label="工单编号" prop="processName" style="width: 100%; margin-bottom: 10px;">
-                  <el-input v-model="yycpzlformData['gdbh']"
-                            @keyup.enter="yycpzlProductValue" placeholder="" style="width: 23%;" />
-                </el-form-item>
-                <el-form-item label="客户代号" prop="processName" style="width: 100%; margin-bottom: 10px;">
-                  <el-input v-model="yycpzlformData['khdh']" disabled  placeholder="" style="width: 23%; margin-right: 10px;" />
-                  <el-input v-model="yycpzlformData['khmc']" disabled  placeholder="" style="width: 320px;" />
-                </el-form-item>
-
-                <el-form-item label="产品代号" prop="processName" style="width: 100%; margin-bottom: 10px;">
-                  <el-input v-model="yycpzlformData['cpdh']"  disabled placeholder="" style="width: 23%;" />
-                </el-form-item>
-
-                <el-form-item label="产品名称" prop="processName" style="width: 100%; margin-bottom: 10px;">
-                  <el-input v-model="yycpzlformData['cpmc']" disabled  placeholder="" style="width: 69%; height: 70px" type="textarea" rows="2" :resize="false" />
-                </el-form-item>
-
-                <el-form-item label="创建选择" style="width: 100%; margin-bottom: 10px;">
-                  <div style="display: flex; align-items: center;">
-                    <div style="flex: 1; display: flex; flex-direction: column;">
-                      <el-checkbox disabled v-model="yycpzlformData['yjzl']">获取印件资料</el-checkbox>
-                      <el-checkbox disabled v-model="yycpzlformData['gyap']" style="margin-top: 10px;">获取工艺安排</el-checkbox>
-                    </div>
-<!--                        <el-form-item label="工艺方案" prop="processName" style="flex: 1; margin-left: 10px;">-->
-<!--                          <el-input v-model="yycpzlformData['gyfa']"  placeholder="" style="width: 200px;" />-->
-<!--                        </el-form-item>-->
-                  </div>
-                </el-form-item>
-
-                <div style="width: 100%; height: 35%; margin-top: 20px;">
-                  <div slot="footer" class="dialog-footer" style="text-align: right;">
-                    <el-button @click="yycpzlhandleCancel">放弃</el-button>
-                    <el-button type="primary"  @click="yycpzlhandleConfirm">执行</el-button>
-                  </div>
-                </div>
-              </div>
-            </el-dialog>
-
-            <!--工序产量核算-->
-            <el-dialog v-model="gxclhslist" title="印件投料核算" width="20%" style=" position: fixed; bottom: 35%; left: 35%">
-              <div style="display: flex; flex-direction: column;  height: 100%;">
-                <el-form-item label="工单编号:" prop="process">
-                  <el-input v-model="gxclhsformData['gdbh']"  :clearable="true" placeholder="" style="width: 160px;"/>
-                </el-form-item>
-                <div class="dialog-footer" style="margin-top: 20px; text-align: right ">
-                  <el-button @click="gxclhshandleCancel">取消</el-button>
-                  <el-button type="primary" disabled @click="gxclhshandleConfirm">确定</el-button>
-                </div>
-              </div>
-            </el-dialog>
-
-            <!--工艺流程调整-->
-            <el-dialog v-model="gylctzlist" title="工艺方案附加"  style="width: 100%;height: 100%;margin: 0px;padding: 0px">
-              <el-button type="primary" disabled @click="gylctz_gxdqcpgx" style="margin: 5px;">更新当前产品工序</el-button>
-              <el-button type="primary"  @click="gylctz_fjbzgx" style="margin: 5px;">附加标准工序</el-button>
-              <!--工艺流程调整中 附加标准工序-->
-              <el-dialog v-model="gdzlfjxx" title="工单工艺流程附加选择"  style="width: 80%;height:80%;bottom: 3%;">
-                <div><el-button  type="primary" @click="addGongyiAttach" :disabled="attachList.length === 0">执行</el-button></div>
-                <div>
-                  <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="gdzlfjxxformData['cpdh']" disabled placeholder="" />
-                      <el-input v-model="gdzlfjxxformData['cpmc']" disabled placeholder="" />
-                    </el-form-item>
-                    <el-form-item label="工单编号:" prop="originalName"  style="margin-left: 20px;">
-                      <el-select v-model="gdzlfjxxformData.cpgyfan" placeholder="请选择" allow-create filterable >
-                        <el-option v-for="option in gdzlfjxxformData.cpgyfans" @click="ongdzlfanclick" :key="option" :label="option" :value="option" />
-                      </el-select>
-                    </el-form-item>
-                  </div>
-
-                  <el-table ref="multipleTable"
-                            :show-overflow-tooltip="true"
-                            :row-style="{ height: '0px' }"
-                            :cell-style="{ padding: '0px' }" :header-row-style="{ height: '0px' }"
-                            :header-cell-style="{ padding: '0px' }"
-                            style="width: 100%; height: 57vh" border tooltip-effect="dark"
-                            :data="gdzlfjxxtableData" row-key="ID" @selection-change="attachChange">
-                    <el-table-column type="selection" width="55" />
-                    <el-table-column v-slot="scope" align="left" label="方案" width="80">
-                      <el-input disabled v-model="scope.row.方案" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="印件号" width="80">
-                      <el-input disabled v-model="scope.row.印件号" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="工序号" width="100">
-                      <el-input disabled v-model="scope.row.工序号" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="工序名称" width="340">
-                      <el-input disabled v-model="scope.row.工序名称" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="工价系数" width="100">
-                      <el-input disabled v-model="scope.row.工价系数" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="损耗系数" width="100">
-                      <el-input disabled v-model="scope.row.损耗系数" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="开数" width="80">
-                      <el-input disabled v-model="scope.row.ks" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="联数" width="80">
-                      <el-input disabled v-model="scope.row.ls" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="备注" width="100">
-                      <el-input disabled v-model="scope.row.备注" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="车间" width="120">
-                      <el-input disabled v-model="scope.row.车间" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="设备编号" width="100">
-                      <el-input disabled v-model="scope.row.设备编号" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="设备名称" width="100">
-                      <el-input disabled v-model="scope.row.设备名称" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="建档用户" width="160">
-                      <el-input disabled v-model="scope.row.建档用户" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="建档时间" width="160">
-                      <el-input disabled v-model="scope.row.建档时间" :clearable="false"/>
-                    </el-table-column>
-                    <el-table-column v-slot="scope" align="left" label="更新时间" width="160">
-                      <el-input disabled v-model="scope.row.更新时间" :clearable="false"/>
-                    </el-table-column>
-                  </el-table>
-
-
-
-                </div>
-              </el-dialog>
-
-
-              <el-button type="primary" @click="gylctzhandleCancel" style="margin: 5px">放弃操作</el-button>
-              <div>
-                <div style="align-items: center;">
-                  <el-form-item label="当前工单:" prop="currentProcess">
-                    <el-input v-model="gylctzformData['gdbh']"  @keyup.enter="gylctzProductValue"  placeholder="" style="width: 160px;margin: 10px"/>
-                    <el-input v-model="gylctzformData['gddh']"  disabled  placeholder="" style="width: 170px;margin-left: 10px;margin: 10px"/>
-                    <el-input v-model="gylctzformData['gdmc']"  disabled  placeholder="" style="width: 340px;margin-left: 10px;margin: 10px"/>
-                  </el-form-item>
-                </div>
-                <el-table ref="multipleTable"
-                          :show-overflow-tooltip="true"
-                          :row-style="{ height: '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="gylctztableData" row-key="ID" @selection-change="handleSelectionChange">
-                  <el-table-column v-slot="scope" align="left" label="方案" width="80">
-                    <el-input disabled v-model="scope.row.方案" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="印件号" width="80">
-                    <el-input disabled v-model="scope.row.印件号" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="工序号" width="100">
-                    <el-input v-model="scope.row.工序号" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="工序名称" width="340">
-                    <el-input disabled v-model="scope.row.工序名称" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="工价系数" width="100">
-                    <el-input disabled v-model="scope.row.工价系数" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="损耗系数" width="100">
-                    <el-input disabled v-model="scope.row.损耗系数" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="开数" width="80">
-                    <el-input disabled v-model="scope.row.ks" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="联数" width="80">
-                    <el-input disabled v-model="scope.row.ls" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="备注" width="100">
-                    <el-input disabled v-model="scope.row.备注" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="车间" width="120">
-                    <el-input disabled v-model="scope.row.车间" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="设备编号" width="100">
-                    <el-input disabled v-model="scope.row.设备编号" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="设备名称" width="100">
-                    <el-input disabled v-model="scope.row.设备名称" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="建档用户" width="160">
-                    <el-input disabled v-model="scope.row.建档用户" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="建档时间" width="160">
-                    <el-input disabled v-model="scope.row.建档时间" :clearable="false"/>
-                  </el-table-column>
-                  <el-table-column v-slot="scope" align="left" label="更新时间" width="160">
-                    <el-input disabled v-model="scope.row.更新时间" :clearable="false"/>
-                  </el-table-column>
-                </el-table>
-              </div>
-            </el-dialog>
-
-            <!--查改U8工单-->
-            <el-dialog v-model="cgugdlist" title="查改U8工单" style="width: 100%;height: 100%;margin: 0;padding: 0">
-
-              <el-button type="primary"  icon=""  @click="oncgugdclickdel" :disabled="multipleSelection.length === 0" style="margin: 0px 0px 20px 0px">删除</el-button>
-              <el-button type="primary"  icon="" @click="oncgugdcloneclick" style="margin: 0px 0px 20px 10px">退出</el-button>
-
-              <div>
-                <div style="width: 100%; padding: 0px; margin: 10px 0px 0px 0px; display: flex; align-items: center;margin: 0px 0px 20px 0px">
-                  <el-form-item label="当前工单:" prop="currentProcess" style="margin-right: 20px;padding: 0px">
-                    <el-input v-model="cgugdformData['gdbh']"  @keyup.enter="cgugdProductValue"  placeholder="" style="width: 160px;"/>
-                    <el-input v-model="cgugdformData['cpdh']"  disabled  placeholder="" style="width: 160px;margin-left: 10px"/>
-                    <el-input v-model="cgugdformData['gdmc']"  disabled  placeholder="" style="width: 340px;margin-left: 10px"/>
-                  </el-form-item>
-                </div>
-                <el-table ref="multipleTable"
-                          :show-overflow-tooltip="true"
-                          :row-style="{ height: '20px' }"
-                          :cell-style="{ padding: '0px' }"
-                          :header-row-style="{ height: '20px' }"
-                          :header-cell-style="{ padding: '0px' }"
-                          highlight-current-row="true"
-                          style="width: 100%; height: 74vh; margin: 0px;"
-                          border tooltip-effect="dark"
-                          :data="cgugdtableData" row-key="ID" @selection-change="cguzlgd_del">
-                  <el-table-column type="selection" width="55"/>
-                  <el-table-column align="left" label="工单编号" prop="工单编号" width="120"/>
-                  <el-table-column align="left" label="行号" prop="行号"/>
-                  <el-table-column align="left" label="客户代号" prop="客户代号"/>
-                  <el-table-column align="left" label="客户名称" prop="客户名称"/>
-                  <el-table-column align="left" label="成品代号" prop="成品代号"/>
-                  <el-table-column align="left" label="成品名称" prop="成品名称" width="340"/>
-                  <el-table-column align="left" label="获取日期" prop="获取日期"/>
-                  <el-table-column align="left" label="序号" prop="序号"/>
-                </el-table>
-              </div>
-            </el-dialog>
-
-            <!--修正核算参数-->
-            <el-dialog v-model="xzhscslist" title="修正核算参数" style="width: 100%;height: 100%;margin: 0px;padding: 0px">
-
-              <el-button type="primary"  @click="xzhscsConfirm">更新</el-button>
-              <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" placeholder="" style="width: 500px;"/>
-                </el-form-item>
-              </div>
-              <el-table ref="multipleTable"
-                        :show-overflow-tooltip="true"
-                        :row-style="{ height: '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" @selection-change="handleSelectionChange">
-                <el-table-column v-slot="scope" align="left" label=方案 width="70" >
-                  <el-input disabled  v-model="scope.row.方案" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=印件号及工序名称 width="270" >
-                  <el-input disabled  v-model="scope.row.印件号及工序名称" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=参照设备 width="94" >
-                  <el-input disabled  v-model="scope.row.参照设备" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=难度系数 width="90" >
-                  <el-input disabled  v-model="scope.row.sxzhscsold_难度系数" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新难度系数 width="100" >
-                  <el-input   v-model="scope.row.难度系数" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原损耗代号 width="150" >
-                  <el-input disabled  v-model="scope.row.sxzhscsold_损耗代号" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=基础损耗 width="90" >
-                  <el-input disabled  v-model="scope.row.基础损耗" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=损耗率 width="100" >
-                  <el-input disabled  v-model="scope.row.损耗率" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新损耗代号 width="150" >
-                  <el-input  v-model="scope.row.损耗代号" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原印刷方式 width="100" >
-                  <el-input disabled  v-model="scope.row.sxzhscsold_印刷方式" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原来版距 width="90" >
-                  <el-input disabled  v-model="scope.row.sxzhscsold_版距" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新印刷方式 width="100" >
-                  <el-input   v-model="scope.row.印刷方式" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新来版距 width="90" >
-                  <el-input   v-model="scope.row.版距" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原计损色数 width="100" >
-                  <el-input disabled  v-model="scope.row.sxzhscsold_计损色数" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=计损色数 width="90" >
-                  <el-input   v-model="scope.row.计损色数" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原损耗系数 width="100" >
-                  <el-input disabled  v-model="scope.row.sxzhscsold_损耗系数" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=损耗系数 width="90" >
-                  <el-input   v-model="scope.row.损耗系数" :clearable="false"/>
-                </el-table-column>
-              </el-table>
-            </el-dialog>
-
-            <!--质检废品系数-->
-            <el-dialog v-model="scfjfpxslist" title="质检废品系数" style="width: 100%;height: 100%;margin: 0px;padding: 0px">
-              <el-button type="primary"  @click="scfjfpxsConfirm">更新</el-button>
-              <el-button type="" @click="scfjfpxsCancel">退出</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="scfjfpxsformData['cpdh']"
-                            @keyup.enter="scfjfpxsgetProductValue" placeholder="" style="width: 500px;"/>
-                </el-form-item>
-              </div>
-              <el-table ref="multipleTable"
-                        :show-overflow-tooltip="true"
-                        :row-style="{ height: '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="scfjfpxstableData" row-key="ID" @selection-change="handleSelectionChange">
-                <el-table-column v-slot="scope" align="left" label=产品编号 width="120" >
-                  <el-input disabled  v-model="scope.row.产品编号" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=产品名称 width="200" >
-                  <el-input disabled  v-model="scope.row.产品名称" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=印件工序及工艺 width="220" >
-                  <el-input disabled  v-model="scope.row.印件工序及工艺" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原人工正品板 width="110" >
-                  <el-input disabled  v-model="scope.row.scfjfpxsold_人工正品板" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原人工次品板 width="110" >
-                  <el-input disabled  v-model="scope.row.scfjfpxsold_人工次品板" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原人工废检 width="110" >
-                  <el-input disabled  v-model="scope.row.scfjfpxsold_人工废检" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原机检正品板 width="110" >
-                  <el-input disabled  v-model="scope.row.scfjfpxsold_机检正品板" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原机检次品板 width="110" >
-                  <el-input disabled  v-model="scope.row.scfjfpxsold_机检次品板" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=原机检废检 width="110" >
-                  <el-input disabled  v-model="scope.row.scfjfpxsold_机检废检" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新人工正品板 width="110" >
-                  <el-input   v-model="scope.row.人工正品板" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新人工次品板 width="110" >
-                  <el-input   v-model="scope.row.人工次品板" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新人工废检 width="110" >
-                  <el-input   v-model="scope.row.人工废检" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新机检正品板 width="110" >
-                  <el-input   v-model="scope.row.机检正品板" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新机检次品板 width="110" >
-                  <el-input   v-model="scope.row.机检次品板" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=新机检废检 width="110" >
-                  <el-input   v-model="scope.row.机检废检" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=设备编号 width="100" >
-                  <el-input disabled  v-model="scope.row.设备编号" :clearable="false"/>
-                </el-table-column>
-                <el-table-column v-slot="scope" align="left" label=客户名称 width="200" >
-                  <el-input disabled  v-model="scope.row.客户名称" :clearable="false"/>
-                </el-table-column>
-              </el-table>
-            </el-dialog>
-
-          </div>
-
-          <!-- 表格列表 -->
-          <div class="gva-table-box">
-            <el-table ref="multipleTable"
-                      style="width: 100%;height: 30vh"
-                      :row-style="{ height: '20px' }"
-                      :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                      :header-cell-style="{ padding: '0px' }"
-                      border
-                      tooltip-effect="dark"
-                      :data="tableData"
-                      row-key="ID"
-                      @row-click="tableRowClick"
-                      highlight-current-row="true"
-                      @row-dblclick="updateCompanyFunc"
-                      @selection-change="handleSelectionChange"
-                      :show-overflow-tooltip="true">
-<!--              <el-table-column type="selection" width="55"/>-->
-                <el-table-column align="left" label="工单编号" prop="工单编号"  width="90" />
-                <el-table-column align="left" label="生产分类" prop="生产分类" width="90" />
-                <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="370" />
-                <el-table-column align="left" label="订单数量" prop="订单数量" width="100" />
-                <el-table-column align="left" label="单位" prop="单位" />
-                <el-table-column align="left" label="折合大箱" prop="折合大箱" width="90" />
-                <el-table-column align="left" label="投料率" prop="投料率"  />
-                <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="110" />
-                <el-table-column align="left" label="产量提交时间" prop="产量提交时间" width="110" />
-                <el-table-column align="left" label="建档用户" prop="建档用户" width="110" />
-                <el-table-column align="left" label="建档时间" prop="建档时间" width="160" />
-                <el-table-column align="left" label="更新时间" prop="更新时间" width="160" />
-            </el-table>
-            <!-- 分页 -->
-<!--            <div class="gva-pagination">-->
-<!--              <el-pagination layout="total, sizes, prev, pager, next, jumper" :current-page="page"-->
-<!--                             :page-size="pageSize" :page-sizes="[10, 30, 50, 100]" :total="total"-->
-<!--                             @current-change="handleCurrentChange" @size-change="handleSizeChange" />-->
-<!--            </div>-->
-          </div>
-
-          <!--  印件资料、工艺资料、BOM资料列表  -->
-          <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
-
-            <el-tab-pane label="印件资料"  @click="showTable('印件资料')"  name="first">
-              <el-table ref="multipleTable"
-                        :row-style="{ height: '20px' }"
-                        :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                        :header-cell-style="{ padding: '0px' }"
-                        :show-overflow-tooltip="true"
-                        highlight-current-row="true"
-                        @row-dblclick="gdyjupdateCompanyFunc"
-                        style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="yjtableData" row-key="ID" @selection-change="handleSelectionChange">
-<!--                <el-table-column type="selection" width="55" />-->
-                <el-table-column align="left" label="印件号" prop="印件号"  width="80"/>
-                <el-table-column align="left" label="印件代号" prop="印件代号"  width="120"/>
-                <el-table-column align="left" label="印件名称" prop="印件名称"  width="340"/>
-                <el-table-column align="left" label="纸张代号" prop="纸张代号"  width="100"/>
-                <el-table-column align="left" label="纸张名称" prop="纸张名称"  width="340"/>
-                <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="160"/>
-                <el-table-column align="left" label="更新时间" prop="更新时间"  width="160"/>
-              </el-table>
-            </el-tab-pane>
-
-            <el-tab-pane label="工艺资料" @click="showTable('工艺资料')" name="second">
-              <el-table ref="multipleTable"
-                        :row-style="{ height: '20px' }"
-                        :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                        :header-cell-style="{ padding: '0px' }"
-                        highlight-current-row="true"
-                        :show-overflow-tooltip="true"
-                        size="small"
-                        @row-dblclick="gdgyupdateCompanyFunc"
-                        @row-click="clickybupdate2"
-                        :row-class-name="rowClassStyle2"
-                        style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="gytableData" row-key="ID" @selection-change="handleSelectionChange">
-<!--                <el-table-column type="selection" width="55" />-->
-                <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="340"/>
-                <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="160"/>
-                <el-table-column align="left" label="人工检_废检" prop="人工检_废检"  width="160"/>
-                <el-table-column align="left" label="机检_正品板" prop="机检_正品板"  width="160"/>
-                <el-table-column align="left" label="机检_次品板" prop="机检_次品板"  width="160"/>
-                <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="70"/>
-                <el-table-column align="left" label="联数" prop="联数"  width="70"/>
-                <el-table-column align="left" label="备注" prop="备注"  width="450"/>
-                <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="160"/>
-                <el-table-column align="left" label="建档日期" prop="建档日期"  width="160"/>
-                <el-table-column align="left" label="更新时间" prop="更新时间"  width="160"/>
-                <el-table-column align="left" label="更新时间" prop="更新时间"  width="160"/>
-
-              </el-table>
-            </el-tab-pane>
-
-            <el-tab-pane label="BOM资料" @click="showTable('BOM资料')" name="third">
-              <el-table ref="multipleTable"
-                        :row-style="{ height: '20px' }"
-                        :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-                        :header-cell-style="{ padding: '0px' }"
-                        :show-overflow-tooltip="true"
-                        highlight-current-row="true"
-                        @row-dblclick="gdbomupdateCompanyFunc"
-                        style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="bomtableData" row-key="ID" @selection-change="handleSelectionChange">
-                <el-table-column type="selection" width="55" />
-                <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="400"/>
-                <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="160"/>
-                <el-table-column align="left" label="更新时间" prop="更新时间"  width="160"/>
-                <el-table-column align="left" label="消耗定量" prop="消耗定量"  width="210"/>
-              </el-table>
-            </el-tab-pane>
-
-          </el-tabs>
-
-         <!-- 修改工单资料弹窗 -->
-         <el-dialog v-model="dialogFormVisible" :before-close="closeDialog"
-                    style="width: 80%;height: 750px;; bottom: 7%"
-                    :title="'修改工单资料'" destroy-on-close>
-           <el-row>
-             <el-form :model="scgdformData" label-position="right" ref="elFormRef" :rules="rule" >
-				        <!-- 第一排 -->
-                <el-row :gutter="24">
-                  <el-col :span="6">
-                    <el-form-item label="重点工单:" prop="keyOrder">
-                      <el-input v-model="scgdformData['重点工单']"  placeholder="" style="width: 180px;"/>
-                    </el-form-item>
-                  </el-col>
-                  <el-col :span="6">
-                    <el-form-item label="开单日期" prop="orderDate">
-                      <el-date-picker v-model="scgdformData['开单日期']" type="date" placeholder=""  style="width: 280px;" />
-                    </el-form-item>
-                  </el-col>
-                  <el-col :span="5">
-                    <el-form-item label="工单编号:" prop="orderNumber">
-                      <el-input v-model="scgdformData['工单编号']"  placeholder="" style="width: 140px;"/>
-                    </el-form-item>
-                  </el-col>
-                  <el-col :span="5">
-                    <el-form-item label="生产类型:" prop="productionType">
-                      <el-input v-model="scgdformData['生产类型']" placeholder="" style="width: 140px;" />
-                    </el-form-item>
-                  </el-col>
-                </el-row>
-              <!-- 第二排 -->
-              <el-row :gutter="24">
-              <el-col :span="6">
-                <el-form-item label="客户代号:" prop="customerCode">
-                <el-input v-model="scgdformData['客户代号']"  placeholder="" style="width: 180px;" />
-                </el-form-item>
-              </el-col>
-              <el-col :span="16">
-                <el-form-item label="客户名称:" prop="customerName">
-                <el-input v-model="scgdformData['客户名称']"  placeholder=""  />
-                </el-form-item>
-              </el-col>
-              </el-row>
-              <!-- 第三排 -->
-              <el-row :gutter="24">
-              <el-col :span="6">
-                <el-form-item label="产品代码:" prop="productCode">
-                <el-input v-model="scgdformData['产品代号']"  placeholder="" style="width: 180px;"/>
-                </el-form-item>
-              </el-col>
-              <el-col :span="16">
-                <el-form-item label="产品名称:" prop="productName">
-                <el-input v-model="scgdformData['产品名称']"  placeholder="" />
-                </el-form-item>
-              </el-col>
-              </el-row>
-              <!-- 第四排 -->
-              <el-row :gutter="24">
-                <el-col :span="6">
-                  <el-form-item label="印件代码:" prop="customerCode">
-                    <el-input v-model="scgdformData['印件代号']"  placeholder="" style="width: 180px;"/>
-                  </el-form-item>
-                </el-col>
-                <el-col :span="16">
-                  <el-form-item label="印件名称:" prop="customerName">
-                    <el-input v-model="scgdformData['印件名称']" placeholder=""  />
-                  </el-form-item>
-                </el-col>
-              </el-row>
-                  <!-- 第五排 -->
-               <el-row :gutter="24">
-                 <el-col :span="6">
-                   <el-form-item label="订单数量:" prop="orderQuantity">
-                     <el-input v-model="scgdformData['订单数量']"  placeholder="" style="width: 180px;" />
-                   </el-form-item>
-                 </el-col>
-                 <el-col :span="6">
-                   <el-form-item label="交货日期:" prop="deliveryDate">
-                     <el-date-picker v-model="scgdformData['交货日期']" type="date" placeholder="选择日期"  style="width: 280px;" />
-<!--                     <el-input v-model="scgdformData['交货日期']" type="date"  placeholder="" style="width: 140px;" />-->
-                   </el-form-item>
-                 </el-col>
-                 <el-col :span="5">
-                   <el-form-item label="投料率:" prop="feedRate">
-                     <el-input v-model="scgdformData['投料率']"  placeholder="" style="width: 140px;" />
-                   </el-form-item>
-                 </el-col>
-                 <el-col :span="5">
-                   <el-form-item label="平均合格率:" prop="passRate">
-                     <el-input v-model="scgdformData['平均合格率']"  placeholder="" style="width: 140px;" />
-                   </el-form-item>
-                 </el-col>
-               </el-row>
-              <!-- 第六排 -->
-              <el-row :gutter="24">
-                <el-col :span="6">
-                  <el-form-item label="平张投料:" prop="flatFeed">
-                    <el-input v-model="scgdformData['平张投料']" placeholder="" style="width: 180px;" />
-                  </el-form-item>
-                </el-col>
-                <el-col :span="6">
-                  <el-form-item label="万小张:" prop="perTenThousand">
-                    <el-input v-model="scgdformData['万小张']"  placeholder="" style="width: 110px;" />
-                    <el-input v-model="scgdformData['单位']"  placeholder="" style="width: 60px;" />
-                  </el-form-item>
-                </el-col>
-                <el-col :span="5">
-                  <el-form-item label="投料大箱:" prop="feedBox">
-                    <el-input v-model="scgdformData['投料大箱']" placeholder="" style="width: 140px;" />
-                  </el-form-item>
-                </el-col>
-                <el-col :span="5">
-                  <el-form-item label="库存大箱:" prop="stockBox">
-                    <el-input v-model="scgdformData['库存大箱']"  placeholder="" style="width: 140px;" />
-                  </el-form-item>
-                </el-col>
-              </el-row>
-
-                  <!-- 第七排 -->
-              <el-row :gutter="20">
-                <el-col :span="20">
-                  <el-form-item label="销售订单号:" prop="salesOrder">
-                    <el-input v-model="scgdformData['销售订单号']"  placeholder="" />
-                  </el-form-item>
-                </el-col>
-              </el-row>
-
-                  <!-- 第八排 -->
-              <el-row :gutter="20">
-                <el-col :span="20">
-                  <el-form-item label="警语版面:" prop="warningLayout">
-                    <el-input v-model="scgdformData['警语版面']"  placeholder=""  />
-                  </el-form-item>
-                </el-col>
-              </el-row>
-
-              <!-- 第九排 -->
-              <el-row :gutter="20">
-                <el-col :span="6">
-                  <el-form-item label="版本号:" prop="versionNumber">
-                    <el-input v-model="scgdformData['版本号']"  placeholder="" />
-                  </el-form-item>
-                </el-col>
-                <el-col :span="14">
-                  <el-form-item label="客户ERP编码:" prop="customerErpCode">
-                    <el-input v-model="scgdformData['客户ERP编码']"  placeholder=""  />
-                  </el-form-item>
-                </el-col>
-              </el-row>
-
-              <!-- 第十排 -->
-              <el-row :gutter="20">
-                <el-col :span="6">
-                  <el-form-item label="码源数量:" prop="codeSourceQuantity">
-                    <el-input v-model="scgdformData['码源数量']"  placeholder="" style="width: 170px;" />
-                  </el-form-item>
-                </el-col>
-                <el-col :span="14">
-                  <el-form-item label="进程备注:" prop="processNote">
-                    <el-input v-model="scgdformData['进程备注']"  placeholder="" />
-                  </el-form-item>
-                </el-col>
-              </el-row>
-
-             <el-row :gutter="20">
-               <el-col :span="20">
-                 <el-form-item label="备注说明:" prop="remark">
-                   <el-input type="textarea" v-model="scgdformData['备注']" :rows="2" :clearable="true" placeholder="" style="width: 100%;" />
-                 </el-form-item>
-               </el-col>
-             </el-row>
-             </el-form>
-           </el-row>
-             <template #footer>
-                 <div class="dialog-footer" style="text-align: right;">
-                 <el-button @click="closeDialog">取 消</el-button>
-                 <el-button type="primary"  @click="enterDialog">确 定</el-button>
-                 </div>
-             </template>
-		   </el-dialog>
-
-          <!-- 修改印件资料弹窗 -->
-          <el-dialog v-model="gdyjdialogFormVisible" :before-close="gdyjcloseDialog"
-                     style="width: 1000px; height: 750px; bottom: 7%;"
-                     :title="'修改印件资料'" destroy-on-close>
-            <el-form label-width="100px">
-              <el-form-item label="印件号:" prop="keyOrder">
-                <el-input v-model="gdyjformData['印件号']" placeholder="" style="width: 140px;"/>
-              </el-form-item>
-              <el-form-item label="印件代码:" prop="keyOrder">
-                <el-input v-model="gdyjformData['印件代号']" placeholder="" style="width: 140px;"/>
-                <el-input v-model="gdyjformData['印件名称']" placeholder="" style="width: 400px; margin-left: 10px"/>
-              </el-form-item>
-              <el-form-item label="纸张编号:" prop="keyOrder">
-                <el-input v-model="gdyjformData['纸张代号']" placeholder="" style="width: 140px;"/>
-                <el-input v-model="gdyjformData['纸张名称']" placeholder="" style="width: 400px; margin-left: 10px"/>
-              </el-form-item>
-              <el-form-item label="备用纸张1:" prop="keyOrder">
-                <el-input v-model="gdyjformData['备用纸张1']" placeholder="" style="width: 140px;"/>
-                <el-input v-model="gdyjformData['纸张名称11']" placeholder="" style="width: 400px; margin-left: 10px"/>
-              </el-form-item>
-              <el-form-item label="备用纸张2:" prop="keyOrder">
-                <el-input v-model="gdyjformData['备用纸张2']" placeholder="" style="width: 140px;"/>
-                <el-input v-model="gdyjformData['纸张名称22']" placeholder="" style="width: 400px; margin-left: 10px"/>
-              </el-form-item>
-              <el-form-item label="备用纸张3:" prop="keyOrder">
-                <el-input v-model="gdyjformData['备用纸张3']" placeholder="" style="width: 140px;"/>
-                <el-input v-model="gdyjformData['纸张名称33']" placeholder="" style="width: 400px; margin-left: 10px"/>
-              </el-form-item>
-              <el-form-item label="备用纸张4:" prop="keyOrder">
-                <el-input v-model="gdyjformData['备用纸张4']" placeholder="" style="width: 140px;"/>
-                <el-input v-model="gdyjformData['纸张名称44']" placeholder="" style="width: 400px; margin-left: 10px"/>
-              </el-form-item>
-              <div style="display: flex; gap: 0px;">
-                <el-form-item label="订单数量:" prop="keyOrder">
-                  <el-input v-model="gdyjformData['订单数量']" placeholder="" style="width: 100px;"/>
-                </el-form-item>
-                <el-form-item label="平张投料:" prop="keyOrder">
-                  <el-input v-model="gdyjformData['平张投料']" placeholder="" style="width: 100px;"/>
-                </el-form-item>
-                <el-form-item label="万小张:" prop="keyOrder">
-                  <el-input v-model="gdyjformData['万小张']" placeholder="" style="width: 100px;"/>
-                </el-form-item>
-                <el-form-item label="纸张规格:" prop="keyOrder">
-                  <el-input disabled v-model="gdyjformData['投料规格']" placeholder="" style="width: 240px;"/>
-                </el-form-item>
-              </div>
-              <div style="display: flex; gap: 0px;">
-                <el-form-item label="投料规格:" prop="keyOrder">
-                  <el-input v-model="gdyjformData['开料规格']" placeholder="" style="width: 100px;"/>
-                </el-form-item>
-                <el-form-item label="开料开数:" prop="keyOrder">
-                  <el-input v-model="gdyjformData['开数']" placeholder="" style="width: 100px;"/>
-                </el-form-item>
-                <el-form-item label="开料联数:" prop="keyOrder">
-                  <el-input v-model="gdyjformData['联数']" placeholder="" style="width: 100px;"/>
-                </el-form-item>
-                <el-form-item label="核算规格:" prop="keyOrder">
-                  <el-input v-model="gdyjformData['核算规格']" placeholder="" style="width: 100px;"/>
-                </el-form-item>
-              </div>
-              <el-form-item label="备注说明:" prop="remark">
-                <el-input type="textarea" v-model="gdyjformData['备注说明']" rows="4" clearable placeholder=""  />
-              </el-form-item>
-            </el-form>
-
-            <template #footer>
-              <div class="dialog-footer" style="text-align: right;">
-                <el-button @click="gdyjcloseDialog">取消</el-button>
-                <el-button type="primary"  @click="gdyjenterDialog">确定</el-button>
-              </div>
-            </template>
-          </el-dialog>
-
-          <!-- 修改工艺资料弹窗 -->
-          <el-dialog v-model="gdgydialogFormVisible" :before-close="gycloseDialog"
-                     style="width: 1200px;height: 750px; bottom: 7%"
-                     :title="'修改工艺资料'" destroy-on-close>
-
-              <el-form label-width=" 90px">
-                <div style="display: flex; gap: 0px;">
-                  <el-form-item label="印件编号:" prop="keyOrder">
-                    <el-input disabled v-model="gdgyformData['印件']" placeholder="" style="width: 70px;"/>
-                  </el-form-item>
-                  <el-form-item label="工序编号:" prop="keyOrder" label-width=" 110">
-                    <el-input disabled v-model="gdgyformData['工序']" placeholder="" style="width: 70px;"/>
-                  </el-form-item>
-                  <el-form-item label="重点工序:" prop="keyOrder" label-width=" 120">
-                    <el-input  v-model="gdgyformData['重点工序']" placeholder="" style="width: 130px;"/>
-                  </el-form-item>
-                  <el-form-item label="备选工序:" prop="isBanciSelected" label-width=" 130px">
-                    <el-checkbox v-model="gdgyformData['备选工序']"></el-checkbox>
-                  </el-form-item>
-                  <el-form-item label="加工开数:" prop="keyOrder" label-width=" 130">
-                    <el-input disabled v-model="gdgyformData['开数']" placeholder="" style="width: 70px;"/>
-                  </el-form-item>
-                  <el-form-item label="加工联数:" prop="keyOrder">
-                    <el-input disabled v-model="gdgyformData['联数']" placeholder="" style="width: 70px;"/>
-                  </el-form-item>
-                </div>
-
-                <div style="display: flex; gap: 0px;">
-                  <el-form-item label="车间名称:" prop="keyOrder">
-                    <el-input disabled v-model="gdgyformData['车间名称']" placeholder="" style="width: 90px;"/>
-                  </el-form-item>
-
-                  <el-form-item label="工艺名称:" prop="keyOrder">
-                    <el-input disabled v-model="gdgyformData['工艺名称']" placeholder="" style="width: 100px;"/>
-                  </el-form-item>
-                  <el-form-item label="工序名称:" prop="keyOrder">
-                    <el-input disabled v-model="gdgyformData['工序名称']" placeholder=""  style="width: 450px;"/>
-                  </el-form-item>
-                  <el-form-item label="计损色数" prop="keyOrder">
-                    <el-input disabled v-model="gdgyformData['计损色数']" placeholder="" style="width: 100px;"/>
-                  </el-form-item>
-                </div>
-
-                <el-form-item label="设备编号:" prop="remark">
-                  <el-select v-model="gdgyformData['设备编号']" multiple collapse-tags placeholder="请选择设备编号" style="width: 600px; height: auto;">
-                    <el-option
-                        v-for="(item, index) in gdzl_MachineList_address.data"
-                        :key="index"
-                        :label="item"
-                        :value="item.split('-->')[0].trim()">
-                    </el-option>
-                  </el-select>
-                </el-form-item>
-
-                <div style="display: flex; gap: 0px;">
-                  <el-form-item label="工序损耗:" prop="keyOrder" >
-                    <el-input v-model="gdgyformData['shdh']" placeholder="" style="width: 100px;"/>
-                    <el-input disabled v-model="gdgyformData['工序名称']" placeholder="" style="width: 800px;margin-left: 10px"/>
-                  </el-form-item>
-                </div>
-
-                <div style="display: flex; gap: 0px;">
-                  <el-form-item label="损耗系数:" prop="keyOrder">
-                    <el-input v-model="gdgyformData['损耗系数']" placeholder="" style="width: 90px;"/>
-                  </el-form-item>
-                  <el-form-item label="难度系数" prop="keyOrder">
-                    <el-input v-model="gdgyformData['难度系数']" placeholder="" style="width: 90px;"/>
-                  </el-form-item>
-                  <el-form-item label="装版工时:" prop="keyOrder">
-                    <el-input disabled v-model="gdgyformData['装版工时']" placeholder="" style="width: 90px;"/>
-                  </el-form-item>
-                  <el-form-item label="排产小时产能:" prop="keyOrder" label-width=" 120px">
-                    <el-input disabled v-model="gdgyformData['小时产能']" placeholder="" style="width: 90px;"/>
-                  </el-form-item>
-                  <el-form-item label="印刷方式" prop="keyOrder">
-                    <el-input disabled v-model="gdgyformData['印刷方式']" placeholder="" style="width: 100px;"/>
-                  </el-form-item>
-                  <el-form-item label="版距" prop="keyOrder">
-                    <el-input disabled v-model="gdgyformData['版距']" placeholder="" style="width: 100px;"/>
-                  </el-form-item>
-                </div>
-
-                <el-form-item label="工序备注:" prop="remark">
-                  <el-input disabled type="textarea" v-model="gdgyformData['备注']" rows="3" clearable placeholder=""  />
-                </el-form-item>
-
-                <el-form-item  label="质量要求:" prop="remark">
-                  <el-input disabled type="textarea" v-model="gdgyformData['质量要求']" rows="3" clearable placeholder=""  />
-                </el-form-item>
-
-                <el-form-item label="质量隐患:" prop="remark">
-                  <el-input disabled type="textarea" v-model="gdgyformData['质量隐患']" rows="3" clearable placeholder=""  />
-                </el-form-item>
-
-
-              </el-form>
-
-            <template #footer>
-              <div class="dialog-footer" style="text-align: right;">
-                <el-button @click="gdgycloseDialog">取 消</el-button>
-                <el-button type="primary" @click="gdgyenterDialog">确 定</el-button>
-              </div>
-            </template>
-          </el-dialog>
-
-          <!-- 修改BOM资料弹窗【MES系统没有修改功能】 -->
-          <el-dialog v-model="gdbomdialogFormVisible" :before-close="bomcloseDialog"
-                     style="width: 1300px;height: 750px;; bottom: 7%"
-                     :title="'修改BOM资料'" destroy-on-close>
-            <template #footer>
-              <div class="dialog-footer" style="text-align: right;">
-                <el-button @click="bomcloseDialog">取 消</el-button>
-                <el-button type="primary" @click="bomenterDialog">确 定</el-button>
-              </div>
-            </template>
-          </el-dialog>
-
-        </el-main>
-      </layout-content>
-    </layout>
-  </div>
-</template>
-<script>
-//点击按钮显示下方表格
-export default {
-  data() {
-    return {
-      currentTable: '', // 当前展示的表格
-      activeName: 'first',
-    };
-  },
-  methods: {
-    showTable(tableName) {
-      this.currentTable = tableName;
-    },
-    showTableChange() {
-      // 处理表格选中事件
-    },
-  }
-};
-</script>
-<script setup>
-// 全量引入格式化工具 请按需保留
-import { Layout, LayoutSider, LayoutContent } from '@arco-design/web-vue';
-import { ElMessage, ElMessageBox } from 'element-plus'
-import { ref, reactive } from 'vue'
-import {
-  DataList,
-  WorkList,gdzl_MachineList,
-  Craft, U8workOrder,ProcessDetailEdit,PrintedEdit,PrintJobOrder,
-  Printed,WorkOrderEdit,ReferenceWorkOrder,
-  Bom,editGyWaste,U8DataCorrection,AccountingParameterEdit,
-  ProductInformation, TestCoefficient,
-  DataCorrection, U8Trial, ProcessFlow, AccountingParameter,
-  setProductStatus,
-  getProduct, getProductGy, ProductInformationEdit,
-} from "@/api/yunyin/yunying";
-defineOptions({name: 'Company'})
-
-// =========== 修正核算参数 ===========
-const xzhscslist = ref(false);
-const xzhscsformData = reactive({
-  gdbh: '',
-});
-const sxzhscstableData = ref([]);
-//修正核算参数【按钮】
-const onxzhscsclick = () => {
-  if(_Gd_gdbh.value == null){
-    xzhscslist.value = false;
-    ElMessage({type: 'warning',message: '请选择具体的工单后,再操作此功能' })
-  }else{
-    xzhscsformData['gdbh'] = _Gd_gdbh.value;
-    _AccountingParameterdata();
-    xzhscslist.value = true;
-  }
-};
-
-//修正核算参数【回车】
-const xzhscsgetProductValue = () => {
-  _AccountingParameterdata()
-};
-// 修正工单核算参数->数据获取
-const _AccountingParameterdata = async ()=>{
-  let workOrder = xzhscsformData['gdbh'];
-  try {
-    const AccountingParameterdata = await AccountingParameter({workOrder:workOrder});
-    sxzhscstableData.value = AccountingParameterdata.data;
-    const formattedData = AccountingParameterdata.data.map(item=>{
-      item.sxzhscsold_难度系数 = item.难度系数;
-      item.sxzhscsold_损耗代号 = item.损耗代号;
-      item.sxzhscsold_印刷方式 = item.印刷方式;
-      item.sxzhscsold_版距 = item.版距;
-      item.sxzhscsold_计损色数 = item.计损色数;
-      item.sxzhscsold_损耗系数 = item.损耗系数;
-      return item
-    });
-  } catch (error) {
-    console.error(error);
-  }
-}
-
-//修正核算参数【更新】
-const xzhscsConfirm = async () => {
-  if (sxzhscstableData.value) {
-    const formattedData = sxzhscstableData.value.map(item => {
-      return {
-        Uniqid: parseInt(item.UniqId),
-        chromatic: parseFloat(item.计损色数),
-        difficulty: parseFloat(item.难度系数),
-        loss: item.损耗代号 ??'',
-        plate: parseInt(item.版距),
-        printMode: item.印刷方式 ?? '',
-        wastage: parseFloat(item.损耗系数),
-      }
-    });
-      const AccountingParameterEditdata = await AccountingParameterEdit(formattedData);
-      console.log(AccountingParameterEditdata);
-      if (AccountingParameterEditdata.code === 0) {
-        ElMessage({ type: 'success', message: '更新成功' });
-      } else {
-        ElMessage({ type: 'error', message: '更新失败' });
-      }
-      // xzhscslist.value = false;
-  } else {
-    console.error("数据错误");
-  }
-};
-
-
-//修正核算参数【退出】
-const sxzhscsCancel = () => {
-  xzhscslist.value = false;
-};
-
-
-// =========== 质检废品系数 ===========
-const scfjfpxslist = ref(false);
-const scfjfpxsformData = reactive({
-  cpdh: '',
-});
-const scfjfpxstableData = ref([]);
-//质检废品系数【按钮】
-const onzjfpxsclick = () => {
-  if(_Gd_gdbh.value == null){
-    scfjfpxslist.value = false;
-    ElMessage({type: 'warning',message: '请选择具体的工单后,再操作此功能'});
-  }else{
-    scfjfpxsformData['cpdh'] = _Gd_gdbh.value;
-    _TestCoefficient();
-    scfjfpxslist.value = true;
-  }
-};
-
-//质检废品系数【回车】
-const scfjfpxsgetProductValue = () => {
-  if(scfjfpxsformData['cpdh'] === ''){
-    scfjfpxstableData.value = [];
-    ElMessage({type: 'warning',message: '输入框为空'});
-    return false;
-  }
-  _TestCoefficient();
-};
-//修正工单核算参数->数据获取
-const _TestCoefficient = async ()=>{
-  let workOrder = scfjfpxsformData['cpdh'];
-  try {
-    const TestCoefficientdata = await TestCoefficient({workOrder:workOrder});
-    scfjfpxstableData.value = TestCoefficientdata.data;
-    const formattedData = TestCoefficientdata.data.map(item=>{
-      item.scfjfpxsold_人工正品板 = item.人工正品板;
-      item.scfjfpxsold_人工次品板 = item.人工次品板;
-      item.scfjfpxsold_人工废检 = item.人工废检;
-      item.scfjfpxsold_机检正品板 = item.机检正品板;
-      item.scfjfpxsold_机检次品板 = item.机检次品板;
-      item.scfjfpxsold_机检废检 = item.机检废检;
-      return item
-    });
-  } catch (error) {
-    console.error(error);
-  }
-}
-
-//质检废品系数【更新】
-const scfjfpxsConfirm = async () => {
-  const rawValueArray = scfjfpxstableData._rawValue;
-  const formattedData = rawValueArray.map(item => {
-    return {
-      UniqID: item.Uniqid,
-      artificial_zp: item.人工正品板 !== null ? item.人工正品板 : "",
-      artificial_cp: item.人工次品板 !== null ? item.人工次品板 : "",
-      artificial_fj: item.人工废检 !== null ? item.人工废检 : "",
-      machine_zp: item.机检正品板 !== null ? item.机检正品板 : "",
-      machine_cp: item.机检次品板 !== null ? item.机检次品板 : "",
-      machine_fj: item.机检废检 !== null ? item.机检废检 : ""
-    }
-  });
-  const editGyWastes = await editGyWaste(formattedData);
-  if (editGyWastes.code === 0) {
-    scfjfpxslist.value = false;
-    ElMessage({type: 'success',message: '更新成功'})
-  } else {
-    ElMessage({type: 'error',message: '更新失败'})
-  }
-};
-
-//质检废品系数【退出】
-const scfjfpxsCancel = () => {
-  scfjfpxslist.value = false;
-};
-
-// =========== 查改U8工单 ===========
-const cgugdlist = ref(false);
-const cgugdformData = reactive({
-  gdbh: '',
-  cpdh: '',
-  gdmc: '',
-});
-const cgugdtableData = ref([]);
-//查改U8工单【按钮】
-const oneditugdclick = () => {
-  if(_Gd_gdbh.value == null){
-    cgugdlist.value = false;
-    ElMessage({
-      type: 'warning',
-      message: '请选择具体的工单后,再操作此功能'
-    })
-  }else{
-    cgugdformData['gdbh'] = _Gd_gdbh.value;
-    cgugdformData['cpdh'] = _Gd_cpdh.value;
-    cgugdformData['gdmc'] = _Gd_cpmc.value;
-    _U8workOrder();
-    cgugdlist.value = true;
-  }
-};
-
-//查改U8工单【回车】
-const cgugdProductValue = () => {
-  _U8workOrder();
-};
-
-//查改U8工单->工单列表
-const _U8workOrder = async ()=>{
-  let workOrder = cgugdformData['gdbh'];
-  // console.log(workOrder)
-  try {
-    const U8workOrderdata = await U8workOrder({workOrder:workOrder});
-    // console.log(U8workOrderdata)
-    cgugdtableData.value = U8workOrderdata.data;
-  } catch (error) {
-    console.error(error);
-  }
-}
-
-// 多选数据
-const multipleSelection = ref([]);
-
-// 多选
-const cguzlgd_del = (val) => {
-  if (Array.isArray(val) && val.length === 0) {
-    multipleSelection.value = [];
-  } else {
-    multipleSelection.value.push(...val.map(item => item.序号));
-  }
-}
-
-//查改U8工单(工单删除)
-const oncgugdclickdel = async ()=>{
-  const Uniqid = multipleSelection.value.join(',');
-  // console.log(Uniqid)
-  try {
-    const U8DataCorrection_del = await U8DataCorrection({Uniqid:Uniqid});
-    if (U8DataCorrection_del.code === 0) {
-      multipleSelection.value = [];
-      ElMessage({type: 'success',message: '删除成功'})
-    } else {
-      ElMessage({type: 'error',message: '删除失败'})
-    }
-    // 清空 multipleSelection 为空数组,只有在处理完数据后清空
-  } catch (error) {
-    console.error(error);
-  }
-}
-
-//查改U8工单【退出】
-const oncgugdcloneclick = () => {
-  cgugdlist.value = false;
-};
-
-
-
-// =========== 工艺流程调整 ===========
-const gylctzlist = ref(false);
-const gylctzformData = reactive({
-  gdbh: '',
-  gddh: '',
-  gdmc: '',
-});
-const gylctztableData = ref([]);
-//工艺流程调整【按钮】
-const oneditgylctzclick = () => {
-  if(_Gd_gdbh.value == null){
-    gylctzlist.value = false;
-    ElMessage({
-      type: 'warning',
-      message: '请选择具体的工单后,再操作此功能'
-    })
-  }else{
-    gylctzformData['gdbh'] = _Gd_gdbh.value;
-    _ProcessFlow();
-    gylctzlist.value = true;
-  }
-};
-////工艺流程调整【回车】
-const gylctzProductValue = () => {
-  _ProcessFlow();
-};
-
-// 工艺流程调整->获取当前工单工艺资料
-const _ProcessFlow = async ()=>{
-  let workOrder = gylctzformData['gdbh'];
-  try {
-    const ProcessFlowdata = await ProcessFlow({workOrder:workOrder});
-    gylctzformData["gddh"] = ProcessFlowdata.data.成品编号;
-    gylctzformData["gdmc"] = ProcessFlowdata.data.成品名称;
-    gylctztableData.value = ProcessFlowdata.data.process;
-  } catch (error) {
-    console.error(error);
-  }
-}
-
-//附加标准工序【按钮】
-const gdzlfjxx = ref(false);
-const gdzlfjxxformData = reactive({
-  // cpdh: '',
-  gdbh: '',
-  cpmc: '',
-  // 下拉框选项数据
-  cpgyfans: [],
-  // 设置默认值
-  cpgyfan: '',
-  // cpgyfan: [],
-  // // 默认选择的值
-  // cpgyfans: '',
-});
-//附加标准工序 产品代号【回车】
-// const gdzlfjxxgetProductValue = () => {
-//   // 回车后 先设置下拉框默认值为“请选择”
-//   gdzlfjxxformData.cpgyfan = '请选择';
-//   const workOrder = gdzlfjxxformData.gdbh;
-//    _ProcessFlow_xiala(workOrder);
-// };
-//点击下拉框获取输入框的值
-const ongdzlfanclick = () => {
-  const workOrder = gdzlfjxxformData.cpgyfan;
-  _ProcessFlow_xiala(workOrder);
-}
-
-// 工艺流程调整->获取当前工单工艺资料
-const gdzlfjxxtableData = ref([]);
-const _ProcessFlow_xiala = async (workOrder)=>{
-  try {
-    const ProcessFlow_xiala = await ProcessFlow({ workOrder });
-    console.log(ProcessFlow_xiala)
-    if (ProcessFlow_xiala.data) {
-      gdzlfjxxtableData.value = ProcessFlow_xiala.data.process;
-    } else {
-      console.log("工艺流程调整->获取当前工单工艺资料 中缺少 data 属性");
-    }
-  } catch (error) {
-    console.error(error);
-  }
-}
-//点击附加标准工序【按钮】
-const gylctz_fjbzgx = async () => {
-  gdzlfjxxformData['cpdh'] = _Gd_cpdh.value;
-  gdzlfjxxformData['gdbh'] = _Gd_gdbh.value;
-  gdzlfjxxformData['cpmc'] = _Gd_cpmc.value;
-  gdzlfjxxtableData.value = [];
-  await _ReferenceWorkOrder();
-  gdzlfjxx.value = true;
-};
-// 工艺流程调整->参照工单列表获取【展示下拉框的数据】
-const _ReferenceWorkOrder = async ()=>{
-  let params = {};
-  params.productCode = _Gd_cpdh.value;
-  params.workOrder = _Gd_gdbh.value;
-  try {
-    const ReferenceWorkOrder_data = await ReferenceWorkOrder(params);
-    if(ReferenceWorkOrder_data.code === 0){
-      console.log(ReferenceWorkOrder_data);
-      // 从数据中提取方案
-      const schemes = ReferenceWorkOrder_data.data || [];
-      // 直接将数组作为工艺方案数组
-      gdzlfjxxformData.cpgyfans = schemes;
-
-      if (gdzlfjxxformData.cpgyfans.length > 0) {
-        gdzlfjxxformData.cpgyfan = [gdzlfjxxformData.cpgyfans[0]];
-      }
-      //默认获取下拉框第一个值
-      const workOrder = gdzlfjxxformData.cpgyfan[0]
-      console.log(gdzlfjxxformData.cpgyfans)
-      gdzlfjxxformData.cpgyfan = gdzlfjxxformData.cpgyfans[0]
-      _ProcessFlow_xiala(workOrder)
-    }else{
-      console.log("该产品下没有工单")
-    }
-  } catch (error) {
-    console.error(error);
-  }
-}
-
-//更新当前产品工序【按钮】
-const gylctz_gxdqcpgx = () => {
-  console.log("更新当前产品工序【按钮】")
-  console.log(gylctztableData)
-};
-
-//放弃操作【按钮】
-const gylctzhandleCancel = () => {
-  gylctzlist.value = false;
-};
-
-
-
-
-// =========== 工序产量核算 ===========
-const gxclhslist = ref(false);
-const gxclhsformData = reactive({
-  gdbh: '',
-});
-//工序产量核算【按钮】
-const oneditgxclhsclick = () => {
-  if(_Gd_gdbh.value == null){
-    gxclhslist.value = false;
-    ElMessage({
-      type: 'warning',
-      message: '请选择具体的工单后,再操作此功能'
-    })
-  }else{
-    gxclhsformData['gdbh'] = _Gd_gdbh.value;
-    gxclhslist.value = true;
-  }
-};
-//工序产量核算【确定】
-const gxclhshandleConfirm = () => {tlsslist.value = false;};
-//工序产量核算【取消】
-const gxclhshandleCancel = () => {tlsslist.value = false;};
-// =========== U8投料试算 ===========
-const tlsslist = ref(false);
-const tlsstableData = ref([]);
-const tlssformData = reactive({
-  cpdh: '',
-  cpmc: '',
-  cpzs: '',
-  zytldzs: '',
-  mbhgl: '',
-  shs: '',
-});
-//点击U8投料试算【按钮】
-const ontlssclick = () => {
-  //工单编号
-  if(_Gd_gdbh.value == null){
-    tlsslist.value = false;
-    ElMessage({
-      type: 'warning',
-      message: '请选择具体的工单后,再操作此功能'
-    })
-  }else{
-    // //产品代号
-    // if( _Gd_cpdh.value === ''){
-    //   tlsslist.value = false;
-    //   ElMessage({
-    //     type: 'warning',
-    //     message: '该产品号未查询到'
-    //   })
-    // }else{
-      // tlssformData['cpdh'] =  _Gd_cpdh.value;
-      tlssformData['cpdh'] =  '100401101';
-      tlssformData['cpmc'] = _Gd_cpmc.value;
-      tlsslist.value = true;
-      _U8Trial();
-    // }
-  }
-};
-//点击U8投料试算【回车】
-const tlssgetProductValue = async () => {
-  _U8Trial();
-};
-//点击U8投料试算【成品张数回车】
-const tlsscpzsgetProductValue = async () => {
-  console.log("成品张数回车")
-};
-//U8投料试算
-const _U8Trial = async ()=>{
-  let productCode = tlssformData['cpdh'];
-  console.log(productCode)
-  try {
-    const U8Trialdata = await U8Trial({productCode:productCode});
-    console.log(U8Trialdata)
-    tlsstableData.value = U8Trialdata.data;
-
-  } catch (error) {
-    console.error(error);
-  }
-}
-//U8投料试算【退出】
-const oncloneclick = () => {tlsslist.value = false;};
-
-// =========== 引用产品资料 ===========
-const yycpzlformData = reactive({
-  gdbh: '',
-  khdh: '',
-  khmc: '',
-  cpdh: '',
-  cpmc: '',
-  yjzl:true,
-  gyap: true,
-  gyfa: '',
-});
-const onyycpzllist = ref(false);
-//引用产品资料【按钮】
-const onyycpzlclick = () => {
-  if(_Gd_gdbh.value == null){
-    onyycpzllist.value = false;
-    ElMessage({
-      type: 'warning',
-      message: '请选择具体的工单后,再操作此功能'
-    })
-  }else{
-    yycpzlformData['gdbh'] = _Gd_gdbh.value;
-    _ProductInformations();
-    onyycpzllist.value = true;
-  }
-};
-//引用产品资料【回车】
-const yycpzlProductValue = async () => {
-  _ProductInformations();
-};
-//引用产品资料->获取产品资料
-const _ProductInformations = async ()=>{
-  let workOrder = yycpzlformData['gdbh'];
-  try {
-    const ProductInformations = await ProductInformation({workOrder:workOrder});
-    console.log(ProductInformations);
-    yycpzlformData['gdbh'] = ProductInformations.data['工单编号'];
-    yycpzlformData['khdh'] = ProductInformations.data['客户代号'];
-    yycpzlformData['khmc'] = ProductInformations.data['客户名称'];
-    yycpzlformData['cpdh'] = ProductInformations.data['产品代号'];
-    yycpzlformData['cpmc'] = ProductInformations.data['产品名称'];
-  } catch (error) {
-    console.error(error);
-  }
-}
-//引用产品资料【执行】
-const yycpzlhandleConfirm = async () => {
-  // console.log(yycpzlformData)
-  _ProductInformationEdit();
-  // onyycpzllist.value = false;
-};
-//引用产品资料->获取产品资料
-const _ProductInformationEdit = async ()=>{
-  let params = {}
-  params.oldWorkOrder = _Gd_gdbh.value;
-  params.newWorkOrder = yycpzlformData['gdbh'];
-  try {
-    const ProductInformationEditdata = await ProductInformationEdit(params);
-    if (ProductInformationEditdata.code === 0) {
-      ElMessage({
-        type: 'success',
-        message: '更新成功'
-      })
-    } else {
-      ElMessage({
-        type: 'error',
-        message: '更新失败'
-      })
-    }
-  } catch (error) {
-    console.error(error);
-  }
-  onyycpzllist.value = false;
-}
-//引用产品资料【放弃】
-const yycpzlhandleCancel = () => {onyycpzllist.value = false;};
-
-// =========== 左侧树侧形结构 ===========
-const treeData = reactive({data:[]});
-// const treeData = ref({})
-const defaultProps = {
-  children: 'children',
-  label: 'label'
-};
-
-const DataListdata = async () => {
-  try {
-    const data = await DataList();
-    for (let key in data.data) {
-      // 忽略 "productingAll" 和 "progressAll"
-      if (key !== "productingAll" && key !== "progressAll") {
-        let temp = data.data[key];
-        let object = {};
-        object.id = temp[0];
-        object.label = data.data[key];
-        object.children = [];
-        treeData.data.push(object);
-      }
-    }
-  } catch (error) {
-    console.error(error);
-  }
-};
-DataListdata();
-
-//点击左侧树形获取编号
-const tableData = reactive([])
-const handleNodeClick = async (node) => {
-  searchInfo.value = '';
-  gytableData.value = [];
-  yjtableData.value = [];
-  bomtableData.value = [];
-  const Gd_khdh = node.label.substring(0, 4);
-  try {
-    const WorkListdata = await WorkList({ Gd_khdh:Gd_khdh,limit:100,page:1});//接口调用函数
-    tableData.splice(0,tableData.length,...WorkListdata.data);//表格数据
-    total.value = tableData.length;//共多少条
-  } catch (error) {
-    console.error(error);
-  }
-};
-
-//点击表格行 获取下方表格数据列表
-//印件资料
-const yjtableData = ref([])
-//工艺资料
-const gytableData = ref([])
-//BOM资料
-const bomtableData = ref([])
-//全局调用工单编号
-const _Gd_gdbh = ref(null)
-//全局调用产品代号
-const _Gd_cpdh = ref(null)
-//全局调用产品名称
-const _Gd_cpmc = ref(null)
-const tableRowClick = async (row) => {
-  _Gd_gdbh.value = row.工单编号;
-  _Gd_cpdh.value = row.产品代号;
-  _Gd_cpmc.value = row.产品名称;
-  const Gd_gdbh = row.工单编号;
-  const yjres = await Printed({ Gd_gdbh:Gd_gdbh});
-  const gyres = await Craft({ Gd_gdbh:Gd_gdbh});
-  const bomres = await Bom({ Gd_gdbh:Gd_gdbh});
-  yjtableData.value = yjres.data;
-  gytableData.value = gyres.data;
-  bomtableData.value = bomres.data;
-};
-
-// 分页
-const page = ref(1)
-const total = ref(0)
-const pageSize = ref(10)
-const handleCurrentChange = (val) => {
-  page.value = val;
-  // console.log(page)
-  // DataListdata();
-};
-
-// 修改页面容量 点击多少条/页
-const handleSizeChange = (val) => {
-  page.value = 10;//默认十条
-  pageSize.value = val;
-  // DataListdata();
-};
-
-// 搜索查询
-const searchInfo = ref('')
-//点击【查询】按钮
-const onSubmit = () => {
-    _cha_WorkList();
-};
-const _cha_WorkList = async (node) => {
-  if(searchInfo.value === ''){
-    ElMessage({
-      type: 'warning',
-      message: '请输入搜索的信息'
-    })
-    return false;
-  }
-  const search = searchInfo.value;
-  try {
-    const WorkListdata = await WorkList({ search:search,limit:1,page:1});//接口调用函数
-    tableData.splice(0,tableData.length,...WorkListdata.data);//表格数据
-    total.value = tableData.length;//共多少条
-  } catch (error) {
-    console.error(error);
-  }
-};
-
-// // 多选数据
-// const multipleSelection = ref([])
-// // 多选
-// const handleSelectionChange = (val) => {
-//     multipleSelection.value = val
-// }
-
-// 行为控制标记(弹窗内部需要增还是改)
-const type = ref('')
-
-
-
-//=========表格列表修改========
-let scgdformData = ref([])
-//双击修改
-const updateCompanyFunc = async(row) => {
-  const DataCorrection_list = await DataCorrection({ Gd_gdbh:row['工单编号']});//接口调用函数
-  console.log(DataCorrection_list)
-  scgdformData.value = DataCorrection_list.data;
-  dialogFormVisible.value = true
-}
-// 弹窗控制标记
-const dialogFormVisible = ref(false)
-// 弹窗确定
-const enterDialog = async () => {
-  const zdgx = /^[A-Za-z0-9\u4e00-\u9fa5\s]*$/.test(scgdformData.value['重点工单']);
-  if (!zdgx) {
-    ElMessage({ type: 'warning', message: '重点工单数据中 只允许出现中文、数字、空格' });
-    return false;
-  }
-  const formattedData = {
-    lx: scgdformData.value['重点工单'],
-    kdrq: scgdformData.value['开单日期'],
-    gdbh: scgdformData.value['工单编号'],
-    scfl: scgdformData.value['生产类型'],
-    khdh: scgdformData.value['客户代号'],
-    khmc: scgdformData.value['客户名称'],
-    cpdh: scgdformData.value['产品代号'],
-    cpmc: scgdformData.value['产品名称'],
-    ddsl: scgdformData.value['订单数量'],
-    jhrq: scgdformData.value['交货日期'],
-    tll: scgdformData.value['投料率'],
-    jhtl: scgdformData.value['平张投料'],
-    sjtl: scgdformData.value['万小张'],
-    jldw: scgdformData.value['单位'],
-    tldx: scgdformData.value['投料大箱'],
-    xsddh: scgdformData.value['销售订单号'],
-    jymb: scgdformData.value['警语版面'],
-    bbh: scgdformData.value['版本号'],
-    erp: scgdformData.value['客户ERP编码'],
-    ymsl: scgdformData.value['码源数量'],
-    jcbz: scgdformData.value['进程备注'],
-    desc: scgdformData.value['备注'],
-    Uniqid: scgdformData.value['Uniqid'],
-    yjdh: scgdformData.value['印件代号'],
-    yjmc: scgdformData.value['印件名称'],
-    kc: scgdformData.value['库存大箱'],
-    avg:scgdformData.value['平均合格率'] === undefined ? '' : scgdformData.value['平均合格率'],
-    printID: scgdformData.value['印件ID'],
-  };
-  const WorkOrderEdit_edit = await WorkOrderEdit(formattedData);
-  if (WorkOrderEdit_edit.code === 0) {
-    dialogFormVisible.value = false
-    ElMessage({type: 'success',message: '更新成功' })
-  } else {
-    ElMessage({type: 'error', message: '更新失败'})
-  }
-}
-// 关闭弹窗
-const closeDialog = () => {dialogFormVisible.value = false}
-
-//=========印件列表修改========
-// 弹窗控制标记
-const gdyjdialogFormVisible = ref(false)
-const gdyjformData = reactive({})
-//双击打开印件列表修改
-const gdyjupdateCompanyFunc = async(row) => {
-  gdyjformData['开数'] = row['开数'];
-  gdyjformData['联数'] = row['联数'];
-  Object.assign(gdyjformData,row);
-  gdyjdialogFormVisible.value = true
-}
-//印件列表修改【确定】
-const gdyjenterDialog = async () => {
-  const formattedData = {
-    Uniqid: gdyjformData['Uniqid'],
-    yjno: gdyjformData['印件号'] ? gdyjformData['印件号'] : "",
-    yjdh: gdyjformData['印件代号'] ? gdyjformData['印件代号'] : "",
-    yjmc: gdyjformData['印件名称'] ? gdyjformData['印件名称'] : "",
-    zzdh:gdyjformData['纸张代号'] ? gdyjformData['纸张代号'] : "",
-    zzmc:gdyjformData['纸张名称'] ? gdyjformData['纸张名称'] : "",
-    zzdh1:gdyjformData['zzdh1'] ? gdyjformData['zzdh1'] : "",
-    zzdh2:gdyjformData['zzdh2'] ? gdyjformData['zzdh2'] : "",
-    zzdh3:gdyjformData['zzdh3'] ? gdyjformData['zzdh3'] : "",
-    zzdh4:gdyjformData['zzdh4'] ? gdyjformData['zzdh4'] : "",
-    zzmc1:gdyjformData['zzmc1'] ? gdyjformData['zzmc1'] : "",
-    zzmc2:gdyjformData['zzmc2'] ? gdyjformData['zzmc2'] : "",
-    zzmc3:gdyjformData['zzmc3'] ? gdyjformData['zzmc3'] : "",
-    zzmc4:gdyjformData['zzmc4'] ? gdyjformData['zzmc4'] : "",
-    cpsl:gdyjformData['订单数量'] ? gdyjformData['订单数量'] : "",
-    pztl:gdyjformData['平张投料'] ? gdyjformData['平张投料'] : "",
-    sjtl:gdyjformData['万小张'] ? gdyjformData['万小张'] : "",
-    tlgg:gdyjformData['投料规格'] ? gdyjformData['投料规格'] : "",
-    klgg:gdyjformData['开料规格'] ? gdyjformData['开料规格'] : "",
-    ks:gdyjformData['开数'] ? gdyjformData['开数'] : "",
-    ls:gdyjformData['联数'] ? gdyjformData['联数'] : "",
-    hsgg:gdyjformData['核算规格'] ? gdyjformData['核算规格'] : "",
-    desc:gdyjformData['备注'] ? gdyjformData['备注'] : "",
-  };
-  const PrintedEdit_edit = await PrintedEdit(formattedData);
-  if (PrintedEdit_edit.code === 0) {
-    gdyjdialogFormVisible.value = false
-    ElMessage({type: 'success',message: '更新成功' })
-  } else {
-    ElMessage({type: 'error', message: '更新失败'})
-  }
-}
-// 印件列表修改【关闭弹窗】
-const gdyjcloseDialog = () => {
-  gdyjdialogFormVisible.value = false
-}
-
-
-//=========工艺列表修改========
-const gdgydialogFormVisible = ref(false)
-const gdgyformData = reactive({})
-
-const gdzl_MachineList_address = reactive({
-  data: []
-});
-const _cjmc = ref(null);
-//双击修改
-const gdgyupdateCompanyFunc = async(row) => {
-  console.log("双击了")
-  console.log(row)
-
-  if(row['车间名称']){
-    _cjmc.value = row['车间名称']
-  }else{
-    _cjmc.value = '';
-  }
-  // console.log(_cjmc.value);
-  const MachineList_jitai = await gdzl_MachineList({address:_cjmc.value});
-  gdzl_MachineList_address.data = MachineList_jitai.data;
-  // console.log(gdzl_MachineList_address)
-  // console.log(gdzl_MachineList.data)
-
-  // 示例字符串
-  const processName = row['工序名称'];
-  // 初始化工艺名称和工序名称
-  let technologyName = '';
-  let operationName = '';
-  // 检查字符串中是否包含【】
-  const bracketIndex = processName.indexOf('【');
-  if (bracketIndex !== -1) {
-    // 如果包含【】,则分割字符串
-    technologyName = processName.substring(0, bracketIndex).trim();
-    operationName = processName.substring(bracketIndex + 1, processName.indexOf('】')).trim();
-  } else {
-    // 如果没有【】,则整个字符串是工艺名称,工序名称为空
-    technologyName = processName.trim();
-  }
-
-  // 示例字符串
-  const printProcess = row['印件-工序'];
-  // 初始化印件和工序
-  let yinjian = '';
-  let gongxu = '';
-  // 检查字符串中是否包含 "-"
-  const dashIndex = printProcess.indexOf('-');
-  if (dashIndex !== -1) {
-    // 如果包含 "-",则分割字符串
-    yinjian = printProcess.substring(0, dashIndex).trim();
-    gongxu = printProcess.substring(dashIndex + 1).trim();
-  } else {
-    // 如果没有 "-",则整个字符串是印件,工序为空
-    yinjian = printProcess.trim();
-  }
-  gdgyformData['印件'] = yinjian;
-  gdgyformData['工序'] = gongxu;
-  gdgyformData['工艺名称'] = technologyName;
-  gdgyformData['工序名称'] = operationName;
-
-  Object.assign(gdgyformData,row);
-  gdgydialogFormVisible.value = true
-}
-
-//工艺列表修改【确定】
-const gdgyenterDialog = async () => {
-  if(_Gd_gdbh.value){
-    const selectedValuesAsString = gdgyformData['设备编号'].join(' ');
-    if(gdgyformData['shdh'] === ''){
-      ElMessage({type: 'warning', message: '工序损耗不能为空'})
-    }
-    const formattedData = {
-      sbbh: selectedValuesAsString ? selectedValuesAsString : "",
-      shdh: gdgyformData['shdh'] ? gdgyformData['shdh'] : "",
-      shxs:gdgyformData['损耗系数'] ? gdgyformData['损耗系数'] : "",
-      ndxs:gdgyformData['难度系数'] ? gdgyformData['难度系数'] : "",
-      zdgx: gdgyformData['重点工序'] ? gdgyformData['重点工序'] : "",
-      bxgx: gdgyformData['备选工序'] ? 1 : "",
-      UniqId: gdgyformData['UniqId'],
-      workOrder: _Gd_gdbh.value,
-    };
-    console.log(formattedData)
-    const ProcessDetailEdit_edit = await ProcessDetailEdit(formattedData);
-    if (ProcessDetailEdit_edit.code === 0) {
-      gdgydialogFormVisible.value = false
-      ElMessage({type: 'success',message: '更新成功' })
-    } else {
-      ElMessage({type: 'error', message: '更新失败'})
-    }
-  }else{
-    ElMessage({type: 'error', message: '更新失败'})
-  }
-}
-
-//工艺列表修改【关闭弹窗】
-const gdgycloseDialog = () => {
-  gdgydialogFormVisible.value = false
-}
-
-
-
-
-
-//颜色变黄
-const currentGy0_yjno = ref(null)
-const rowClassStyle2 = ({row,rowIndex}) =>{
-  // debugger
-  // console.log(row.Gy0_yjno, this.currentGy0_yjno)
-  if(row['印件-工序'].substr(0, 2)==currentGy0_yjno.value){
-    return "warning-row"
-  }
-  return "warning-row"
-}
-const clickybupdate2 = (row,column,event) => {
-  currentGy0_yjno.value = row['印件-工序'].substr(0, 2)
-}
-
-const attachList = ref([])
-const attachChange = (val) => {
-  attachList.value = val
-}
-
-const addGongyiAttach = () =>
-{
-  attachList.value.map(row => gylctztableData.value.push(row))
-  gdzlfjxx.value = false
-}
-
-//=========BOM列表修改========
-// const bomdialogFormVisible = ref(false)
-// //双击修改
-// const gdbomdialogFormVisible = async(row) => {
-//   Object.assign(scgdformData,row);
-//   bomdialogFormVisible.value = true
-// }
-// // BOM列表修改【确定】
-// const bomenterDialog = () => {
-//   bomdialogFormVisible.value = false
-// }
-// // BOM列表修改【关闭弹窗】
-// const bomcloseDialog = () => {
-//   bomdialogFormVisible.value = false
-// }
-
-
-</script>
-<style scoped>
-
-:deep(.el-table__body .warning-row) {
-  background: #FFFF80 !important;
-}
-:deep(.el-table td .cell) {
-  line-height: 30px !important;
-}
-.JKWTree-container {
-  display: flex;
-}
-
-.JKWTree-tree {
-  width: 300px;
-  background-color: #fff;
-  padding: 10px;
-  margin-right: 20px;
-}
-
-.JKWTree-tree h3 {
-  font-size: 15px;
-  font-weight: 700;
-  margin: 10px 0;
-}
-
-.JKWTree-content {
-  flex: 1;
-}
-/*关闭拖拽功能*/
-.el-textarea textarea {
-  resize: none !important;
-}
-/* 选中某行时的背景色 */
-:deep(.el-table__body tr.current-row) > td {
-  background: #ff80ff !important;
-}
-
-
-</style>