WizDax 1 year ago
parent
commit
2e8f087726

+ 7 - 6
src/view/job/rewards/rewards.vue

@@ -247,6 +247,7 @@
                     @keydown="ent1($event)"
 					@blur="getCPMCsubmit()"
                     style="width: 120px;"
+                    placeholder="Enter回车"
                   />
                 </el-form-item>
                 <el-form-item
@@ -1229,17 +1230,17 @@ const getJtbhsubmit = (value) => {
 const GetYg = (event, inputName) => {
   console.log(inputName);
   var num = parseInt(inputName) - 1;
-  if (num >= 1 && num <= 10) {
-	  if(detailData['JL_bh' + num]==undefined){
-		  return
+  if (num >= 1 && num <= 10) {
+	  if(detailData['JL_bh' + num]==undefined){
+		  return
 	  }
     getYg({ sczl_bh: detailData['JL_bh' + num] }).then(response => {
       detailData['jlname' + num] = response.data[0].ygxm;
       detailData['JL_bh' + num] = response.data[0].员工编号;
     });
-  } else if (num >= 10 && num <= 21) {
-	  if(detailData['sczl_bh' + (num - 11)]==undefined){
-	  		  return
+  } else if (num >= 10 && num <= 21) {
+	  if(detailData['sczl_bh' + (num - 11)]==undefined){
+	  		  return
 	  }
     getYg({ sczl_bh: detailData['sczl_bh' + (num - 11)] }).then(response => {
       detailData['zrname' + (num - 11)] = response.data[0].ygxm;

+ 95 - 95
src/view/performance/06-packingDocuments/index.vue

@@ -51,24 +51,24 @@
             <el-form id="detail-form" :model="detailData" inline label-position="left" @keyup="moveFocus" >
               <el-form-item  label="日期" >
                 <el-input type="date" max="9999-12-31"  @focus="rqHandleFocus()" v-model="detailData.sczl_rq" style="width: 120px;"/>
-              </el-form-item>
+              </el-form-item>
 			  
               <el-form-item  label="员工编号" >
-                <el-input v-model="detailData.sczl_bh" style="width: 100px;" />
+                <el-input v-model="detailData.sczl_bh" style="width: 100px;" placeholder="Enter回车" />
                 <el-input v-model="detailData.name"  style="width: 100px; padding-left: 5px;" @click="selectvalue($event)"  readonly />
-              </el-form-item>
+              </el-form-item>
 			  
               <el-form-item label="组别">
                 <el-select v-model="detailData.sczl_bzdh" placeholder=" " style="width: 80px" >
                   <el-option  label="A班" value="A班" />
                   <el-option label="B班" value="B班" />
-                </el-select>
-			  </el-form-item>
-              <br>
+                </el-select>
+			  </el-form-item>
+              <br>
 			  
               <el-form-item label="计时时数" style="padding-left: 195px;" >
                 <el-input  v-model="detailData.sczl_jsss" style="width: 100px;" @click="selectvalue($event)" />
-              </el-form-item>
+              </el-form-item>
 			  
               <el-form-item label="冲月定额">
                 <el-select v-model="detailData.sczl_冲定额" placeholder=" "  style="width: 100px" >
@@ -84,11 +84,11 @@
                 :row-style="{ height: '20px' }"
                 :cell-style="{ padding: '0px' }"
                 :header-row-style="{ height: '20px' }"
-                :header-cell-style="{ padding: '0px' }"  >
+                :header-cell-style="{ padding: '0px' }"  >
 				
                 <el-table-column  label="工单编号"  width="100" >
                   <template #default="{ row, $index }">
-                    <el-input v-model="row.sczl_gdbh" @keyup.enter="handleEnter($index, row)" />
+                    <el-input v-model="row.sczl_gdbh" placeholder="Enter回车" @keyup.enter="handleEnter($index, row)" />
                   </template>
                 </el-table-column>
 
@@ -96,55 +96,55 @@
                   <template #default="{ row }">
                     <el-input v-model="row.sczl_yjGx" readonly />
                   </template>
-                </el-table-column>
+                </el-table-column>
 				
                 <el-table-column label="工序名称" width="100" >
                   <template #default="{ row }">
                     <el-input v-model="row.sczl_gxmc" readonly />
                   </template>
-                </el-table-column>
+                </el-table-column>
 				
                 <el-table-column label="印件名称">
                   <template #default="{ row }">
                     <el-input v-model="row.Gd_cpmc" readonly />
                   </template>
-                </el-table-column>
+                </el-table-column>
 				
                 <el-table-column label="包装产量" width="100" >
                   <template #default="{ row }">
                     <el-input v-model="row.sczl_cl" />
                   </template>
-                </el-table-column>
+                </el-table-column>
 				
                 <el-table-column label="返工产量" width="100" >
                   <template #default="{ row }">
                     <el-input v-model="row.sczl_返工产量" />
                   </template>
-                </el-table-column>
+                </el-table-column>
 				
                 <el-table-column label="每箱数量" width="100" >
                   <template #default="{ row }">
                     <el-input v-model="row.sczl_PgCl" />
                   </template>
-                </el-table-column>
+                </el-table-column>
 				
                 <el-table-column label="计产系数"  width="100" >
                   <template #default="{ row }">
                     <el-input v-model="row.sczl_计产系数" />
                   </template>
-                </el-table-column>
+                </el-table-column>
 				
                 <el-table-column label="来源"  width="100" >
                   <template #default="{ row }">
                     <el-input v-model="row.sczl_Jtbh1" />
                   </template>
-                </el-table-column>
+                </el-table-column>
 				
-                <el-table-column label="定额代号" width="130" >
-					<template #default="{ row, $index }">
-					  <el-input v-model="row.sczl_dedh" @keyup.enter="getDedhsubmit($index, row)" />
+                <el-table-column label="定额代号" width="130" >
+					<template #default="{ row, $index }">
+					  <el-input v-model="row.sczl_dedh" @keyup.enter="getDedhsubmit($index, row)" />
                   </template>
-                </el-table-column>
+                </el-table-column>
 				
               </el-table>
 
@@ -161,32 +161,32 @@
                 </el-button>
               </div>
             </template>
-          </el-dialog>
-		  
-		  
-		  <!-- 新增定额代号 -->
-		  <el-dialog v-model="dedhsearchModel" :before-close="() => dedhsearchModel = false">
-		    <el-form>
-		      <div>
-		        <el-form-item label="定额代号 :"  class="mab" prop="keyOrder">
-		        </el-form-item>
-				
-		      <div style="border:1px solid #eee; width:100%; height: 400px; overflow-y: auto">
-		        <el-tree
-		          :data="dedhtreeData"
-		          :props="{
-		            children: 'children',
-		            label: 'label'
-		          }"
-		          @node-click="dedhhandleNodeClick"
-		        ></el-tree>
-		      </div>
-			  
-			  
-		      </div>
-		    </el-form>
-		  </el-dialog>
-		  
+          </el-dialog>
+		  
+		  
+		  <!-- 新增定额代号 -->
+		  <el-dialog v-model="dedhsearchModel" :before-close="() => dedhsearchModel = false">
+		    <el-form>
+		      <div>
+		        <el-form-item label="定额代号 :"  class="mab" prop="keyOrder">
+		        </el-form-item>
+				
+		      <div style="border:1px solid #eee; width:100%; height: 400px; overflow-y: auto">
+		        <el-tree
+		          :data="dedhtreeData"
+		          :props="{
+		            children: 'children',
+		            label: 'label'
+		          }"
+		          @node-click="dedhhandleNodeClick"
+		        ></el-tree>
+		      </div>
+			  
+			  
+		      </div>
+		    </el-form>
+		  </el-dialog>
+		  
 
           <!-- 弹出选项框 -->
           <el-dialog
@@ -436,27 +436,27 @@ const handleSearch = () => {
 
 // 查改
 const handleShowDetail = () => {
-  type.value = '查改'
-  console.log(currentRow.value)
-  if(currentRow.value.UniqId==undefined){
-	 ElMessage({
-	   type: 'warning',
-	   message: '未选中记录',
-	 })
-	 return
-  }else{
-	  getTableInfo(currentRow.value?.UniqId)
+  type.value = '查改'
+  console.log(currentRow.value)
+  if(currentRow.value.UniqId==undefined){
+	 ElMessage({
+	   type: 'warning',
+	   message: '未选中记录',
+	 })
+	 return
+  }else{
+	  getTableInfo(currentRow.value?.UniqId)
   }
 }
 
 // 删除
-const handleDelete = () => {
-	if(currentRow.value.UniqId==undefined){
-		ElMessage({
-		  type: 'warning',
-		  message: '未选中记录',
-		})
-		return
+const handleDelete = () => {
+	if(currentRow.value.UniqId==undefined){
+		ElMessage({
+		  type: 'warning',
+		  message: '未选中记录',
+		})
+		return
 	}
   ElMessageBox.confirm(
     `确认删除这条数据么?`,
@@ -473,8 +473,8 @@ const handleDelete = () => {
         ElMessage({
           type: 'success',
           message: '删除成功',
-        })
-		getSideData()
+        })
+		getSideData()
 		getTableData()
       } else {
         ElMessage({
@@ -604,7 +604,7 @@ const rqHandleFocus = () =>{
 	if(detailData.sczl_rq==''){
 		detailData.sczl_rq = new Date().toISOString().split('T')[0]
 	}
-}
+}
 
 // 获取工序名称
 const getTableGxMc = async(index, row) => {
@@ -681,10 +681,10 @@ const handleShowAdd = async() => {
 	        sczl_Jtbh1: '',
 	        sczl_dedh: '',
 	      }
-	    })
-		setTimeout(() => {
-		  formElements = document.getElementById('detail-form').elements
-		  formElements[0].focus()
+	    })
+		setTimeout(() => {
+		  formElements = document.getElementById('detail-form').elements
+		  formElements[0].focus()
 		}, 0)
 	  dialogFormVisible.value = true
   }else{ 
@@ -724,17 +724,17 @@ const addDetailData = async() => {
       type: 'success',
       message: '新增成功',
     })
-    dialogFormVisible.value = false
-	if(params.date!=''){
-		getTableData()
+    dialogFormVisible.value = false
+	if(params.date!=''){
+		getTableData()
 	}
     getSideData()
   }
 }
 
-const handleGetYg = async() => {
-	if(detailData.sczl_bh==''){
-		return
+const handleGetYg = async() => {
+	if(detailData.sczl_bh==''){
+		return
 	}
   try {
     const res = await getYg({ sczl_bh: detailData.sczl_bh })
@@ -810,16 +810,16 @@ const enterDialog = () => {
   } else if (type.value === '新增') {
     addDetailData()
   }
-}
-
-
-//新增定额代号
-const dedhsearchModel = ref(false)
-const dedhtreeData=ref([])
-const _index=ref(null)
-// 定额代号回车事件
-const getDedhsubmit = async (index, row) => {
-	console.log(index)
+}
+
+
+//新增定额代号
+const dedhsearchModel = ref(false)
+const dedhtreeData=ref([])
+const _index=ref(null)
+// 定额代号回车事件
+const getDedhsubmit = async (index, row) => {
+	console.log(index)
 _index.value = index
   dedhsearchModel.value = true;
   const getPieceWorks = await getDedh();
@@ -839,14 +839,14 @@ _index.value = index
     }));
     dedhtreeData.value = transformedData2;
   }
-};
-// 点击定额代号
-const dedhhandleNodeClick = (node,check) => {
-  console.log(node.params.code);
-  detailData.table[_index.value].sczl_dedh = node.params.code
-}
-
-
+};
+// 点击定额代号
+const dedhhandleNodeClick = (node,check) => {
+  console.log(node.params.code);
+  detailData.table[_index.value].sczl_dedh = node.params.code
+}
+
+
 
 
 let formElements

+ 2 - 2
src/view/performance/07-otherDocuments/index.vue

@@ -35,7 +35,7 @@
 							<el-row :gutter="24" >
 								<el-col :span="24">
 									<el-form-item label="员工编号">
-										<el-input v-model="detailData.Sczl_bh1" @blur="handleYgbhEnter" 
+										<el-input v-model="detailData.Sczl_bh1" @blur="handleYgbhEnter" placeholder="Enter回车"
 											@keydown="ent1($event)" style="width: 120px" />
 										<el-input style="width: 120px; margin-left: 5px" readonly v-model="detailData.name" />
 									</el-form-item>
@@ -67,7 +67,7 @@
 							<el-row :gutter="24" >
 								<el-col :span="24">
 									<el-form-item label="工单编号">
-										<el-input v-model="detailData.Sczl_gdbh" @blur="handleGdbhEnter" 
+										<el-input v-model="detailData.Sczl_gdbh" @blur="handleGdbhEnter" placeholder="Enter回车"
 											@keydown="ent1($event)" style="width: 120px"/>
 										<el-input v-model="detailData.Gd_cpmc" style="width: 480px; margin-left: 5px"
 											readonly />

+ 51 - 51
src/view/performance/08-timesheet/index.vue

@@ -75,7 +75,7 @@
               <!-- 员工1 -->
               <el-row :gutter="5" style="margin-top: 10px;" >
                 <el-col :span="3">
-                  <el-input v-model="detailData.wgjs_bh1" :formatter="val => val.toUpperCase()" />
+                  <el-input v-model="detailData.wgjs_bh1" :formatter="val => val.toUpperCase()" placeholder="Enter回车" />
                 </el-col>
                 <el-col :span="3">
                   <el-input v-model="detailData.name1" readonly />
@@ -97,7 +97,7 @@
               <!-- 员工2 -->
               <el-row :gutter="5" style="margin-top: 10px;" >
                 <el-col :span="3">
-                  <el-input v-model="detailData.wgjs_bh2" :formatter="val => val.toUpperCase()" />
+                  <el-input v-model="detailData.wgjs_bh2" :formatter="val => val.toUpperCase()" placeholder="Enter回车" />
                 </el-col>
                 <el-col :span="3">
                   <el-input v-model="detailData.name2" readonly />
@@ -119,7 +119,7 @@
               <!-- 员工3 -->
               <el-row :gutter="5" style="margin-top: 10px;" >
                 <el-col :span="3">
-                  <el-input v-model="detailData.wgjs_bh3" :formatter="val => val.toUpperCase()" />
+                  <el-input v-model="detailData.wgjs_bh3" :formatter="val => val.toUpperCase()" placeholder="Enter回车"/>
                 </el-col>
                 <el-col :span="3">
                   <el-input v-model="detailData.name3" readonly />
@@ -141,7 +141,7 @@
               <!-- 员工4 -->
               <el-row :gutter="5" style="margin-top: 10px;" >
                 <el-col :span="3">
-                  <el-input v-model="detailData.wgjs_bh4" :formatter="val => val.toUpperCase()" />
+                  <el-input v-model="detailData.wgjs_bh4" :formatter="val => val.toUpperCase()" placeholder="Enter回车"/>
                 </el-col>
                 <el-col :span="3">
                   <el-input v-model="detailData.name4" readonly />
@@ -163,7 +163,7 @@
               <!-- 员工5 -->
               <el-row :gutter="5" style="margin-top: 10px;" >
                 <el-col :span="3">
-                  <el-input v-model="detailData.wgjs_bh5" :formatter="val => val.toUpperCase()" />
+                  <el-input v-model="detailData.wgjs_bh5" :formatter="val => val.toUpperCase()" placeholder="Enter回车"/>
                 </el-col>
                 <el-col :span="3">
                   <el-input v-model="detailData.name5" readonly />
@@ -185,7 +185,7 @@
               <!-- 员工6 -->
               <el-row :gutter="5" style="margin-top: 10px;" >
                 <el-col :span="3">
-                  <el-input v-model="detailData.wgjs_bh6" :formatter="val => val.toUpperCase()" />
+                  <el-input v-model="detailData.wgjs_bh6" :formatter="val => val.toUpperCase()"  placeholder="Enter回车" />
                 </el-col>
                 <el-col :span="3">
                   <el-input v-model="detailData.name6" readonly />
@@ -459,43 +459,43 @@ const handleShowDetail = async() => {
 }
 
 // 新增数据
-const handleShowAdd = () => {
-	type.value = 'add';
-	if(!currentRow.value){
-		detailData.wgjs_rq= '';
-	  
-		detailData.wgjs_bh1= '';
-		detailData.wgjs_js1= '';
-		detailData.wgjs_yy1= '';
-		detailData.wgjs_冲定额1= '';
-	  
-		detailData.wgjs_bh2= '';
-		detailData.wgjs_js2= '';
-		detailData.wgjs_yy2= '';
-		detailData.wgjs_冲定额2= '';
-		
-		detailData.wgjs_bh3= '';
-		detailData.wgjs_js3= '';
-		detailData.wgjs_yy3= '';
-		detailData.wgjs_冲定额3= '';
-		
-		detailData.wgjs_bh4= '';
-		detailData.wgjs_js4= '';
-		detailData.wgjs_yy4= '';
-		detailData.wgjs_冲定额4= '';
-		
-		detailData.wgjs_bh5= '';
-		detailData.wgjs_js5= '';
-		detailData.wgjs_yy5= '';
-		detailData.wgjs_冲定额5= '';
-		
-		detailData.wgjs_bh6= '';
-		detailData.wgjs_js6= '';
-		detailData.wgjs_yy6= '';
-		detailData.wgjs_冲定额6= '';
-		
-	}else{
-  	  Object.assign(detailData, currentRow.value)
+const handleShowAdd = () => {
+	type.value = 'add';
+	if(!currentRow.value){
+		detailData.wgjs_rq= '';
+	  
+		detailData.wgjs_bh1= '';
+		detailData.wgjs_js1= '';
+		detailData.wgjs_yy1= '';
+		detailData.wgjs_冲定额1= '';
+	  
+		detailData.wgjs_bh2= '';
+		detailData.wgjs_js2= '';
+		detailData.wgjs_yy2= '';
+		detailData.wgjs_冲定额2= '';
+		
+		detailData.wgjs_bh3= '';
+		detailData.wgjs_js3= '';
+		detailData.wgjs_yy3= '';
+		detailData.wgjs_冲定额3= '';
+		
+		detailData.wgjs_bh4= '';
+		detailData.wgjs_js4= '';
+		detailData.wgjs_yy4= '';
+		detailData.wgjs_冲定额4= '';
+		
+		detailData.wgjs_bh5= '';
+		detailData.wgjs_js5= '';
+		detailData.wgjs_yy5= '';
+		detailData.wgjs_冲定额5= '';
+		
+		detailData.wgjs_bh6= '';
+		detailData.wgjs_js6= '';
+		detailData.wgjs_yy6= '';
+		detailData.wgjs_冲定额6= '';
+		
+	}else{
+  	  Object.assign(detailData, currentRow.value)
 	}
   
   // dialogFormVisible.value = true
@@ -515,7 +515,7 @@ const enterDialog = async() => {
 // 新增
 const addDetailData = async() => {
   const restoredData = {
-    wgjs_rq: detailData.wgjs_rq,
+    wgjs_rq: detailData.wgjs_rq,
 	
     wgjs_bh1: detailData.wgjs_bh1,
     wgjs_js1: detailData.wgjs_js1,
@@ -546,18 +546,18 @@ const addDetailData = async() => {
     wgjs_js6: detailData.wgjs_js6,
     wgjs_yy6: detailData.wgjs_yy6,
     wgjs_冲定额6: detailData.wgjs_冲定额6,
-  }
+  }
   restoredData.sys_id = sys_id;
   const res = await createData(restoredData)
   if (res.code === 0) {
     ElMessage({
       type: 'success',
       message: '新增成功',
-    })
-	//刷新
-	if(params.date!=''){
+    })
+	//刷新
+	if(params.date!=''){
       getTableData({ date: params.date, page: page.value.toString(), limit: limit.value.toString() })
-	}
+	}
 	getSideData()
     dialogFormVisible.value = false
   }
@@ -575,8 +575,8 @@ const updateDetailData = async() => {
       message: '更新成功'
     })
     params.type = 'getTableData'
-    if(params.date!=''){
-      getTableData({ date: params.date, page: page.value.toString(), limit: limit.value.toString() })
+    if(params.date!=''){
+      getTableData({ date: params.date, page: page.value.toString(), limit: limit.value.toString() })
     }
     dialogFormVisible.value = false
   }

+ 1 - 0
src/view/performance/09-workOrderVerification/componets/gongdanzhijianfeipintongji.vue

@@ -29,6 +29,7 @@
           v-model="input"
           placeholder="输入工单编号"
           style="width: 200px;margin-bottom: 10px"
+          
         />
         <el-button
           type="primary"

+ 6 - 5
src/view/performance/09-workOrderVerification/index.vue

@@ -166,6 +166,7 @@
                   v-model="detailData.qczl_gdbh"
                   style="width: 100px;"
                   @keyup.enter="handleGdbhEnter"
+                  placeholder="Enter回车"
                 />
               </el-form-item>
               <el-form-item label="拼印主工单">
@@ -957,11 +958,11 @@ const addDetailData = async () => {
     ElMessage({
       type: 'success',
       message: '新增成功',
-    })
-	//刷新
-	if(params.date!=''){
-	  getTableData()
-	}
+    })
+	//刷新
+	if(params.date!=''){
+	  getTableData()
+	}
 	getSideData()
     dialogFormVisible.value = false
   }

+ 1 - 0
src/view/performance/12-orderAccounting/componets/detail.vue

@@ -18,6 +18,7 @@
           v-model="input"
           style="width: 120px;"
           @keyup.enter="handleShowDetail"
+          placeholder="Enter回车"
         />
       </el-form-item>
 

+ 1 - 0
src/view/performance/12-orderAccounting/componets/gxclhc.vue

@@ -17,6 +17,7 @@
           v-model="input"
           style="width: 100px"
           @keyup.enter="handleGetTable"
+          placeholder="Enter回车"
         />
         <el-input
           v-model="cpmc"

+ 1 - 0
src/view/performance/12-orderAccounting/componets/hjfpfb.vue

@@ -34,6 +34,7 @@
               <el-input
                 v-model="form.gdbh"
                 style="width: 100px;"
+                placeholder="Enter回车"
               />
               <el-button
                 type="primary"

+ 1 - 0
src/view/performance/12-orderAccounting/componets/khsz.vue

@@ -27,6 +27,7 @@
           autocomplete="off"
           style="width: 100px"
           @keyup.enter="handleGetTable"
+          placeholder="Enter回车"
         />
       </el-form-item>
 

+ 2 - 0
src/view/performance/12-orderAccounting/index.vue

@@ -112,6 +112,7 @@
                 icon="edit"
                 class="bt"
                 @click="handleGddy"
+                
               >工单打印
               </el-button>
 
@@ -230,6 +231,7 @@
                   <el-input
                     v-model="pd_lcdformData['gdbh']"
                     @keyup.enter="pd_lcdProductValue"
+                    placeholder="Enter回车"
                   />
                 </el-form-item>
                 <el-form-item

+ 360 - 367
src/view/performance/Packagingoutput.vue

@@ -2,13 +2,6 @@
   <div>
     <!-- 左侧树形结构 -->
     <el-container>
-      <!-- <el-aside width="250px">
-        <div class="JKWTree-tree">
-          <h3>包装工序产量维护</h3>
-          <el-tree :data="treeData" :props="defaultProps" highlight-current="true"
-            @node-click="handleNodeClick"></el-tree>
-        </div>
-      </el-aside> -->
 	  
 	  <layout-sider
 	     :resize-directions="['right']"
@@ -33,9 +26,9 @@
           <!-- 按钮区域 -->
           <div class="gva-table-box">
             <el-form-item>
-              <el-input v-model="positionvalue" placeholder="输入工单编号或产品名称" style="width: 180px;" />
+              <el-input v-model="positionvalue"  placeholder="输入工单编号或产品名称" style="width: 180px;" />
               <el-button type="primary" class="search" icon="search" @click="onSearch"></el-button>
-              <el-button type="primary" class="bt" icon="plus" @click="onAdd">新增</el-button>
+              <el-button type="primary" class="bt" icon="plus" @click="onAdd">新增</el-button>
               <!-- <el-button type="primary" class="bt" icon="search" @click="positioningVisible">定位</el-button> -->
 			  <el-button type="primary" class="bt" icon="delete" @click="Del">删除</el-button>
               <div style="margin-left: auto;">
@@ -46,14 +39,14 @@
             <el-table ref="multipleTable" style="width: 100%" tooltip-effect="dark" :data="tableData" row-key="ID"
               highlight-current-row="true"  :cell-style="cellStyle" border @selection-change="handleSelectionChange" 
 			  :show-overflow-tooltip="true" @row-click="Click" @row-dblclick="doubleClick">
-              <el-table-column type="selection" width="55" />
+              <el-table-column type="selection" width="55" />
 			  <!-- 循环渲染列 -->
 				<el-table-column
 				  v-for=" column in tableColumns "
 				  :key="column.prop"
 				  :prop="column.prop"
 				  :label="column.label"
-				  :width="column.width"
+				  :width="column.width"
 				  sortable
 				  show-overflow-tooltip="true"
 				/>
@@ -72,32 +65,32 @@
             <el-form :model="formData" label-position="right" ref="elFormRef" :rules="rule" label-width="70px" >
               <el-row :gutter="24">
                 <el-col :span="6">
-                  <el-form-item label="日期" prop="name">
+                  <el-form-item label="日期" prop="name">
 					  <el-input type="date" max="9999-12-31" v-model="formData.sczl_rq" id="日期" @focus="rqHandleFocus()" @keydown="ent1($event)"  style="width: 120px; " />
                   </el-form-item>
                 </el-col>
-              </el-row>
-			  <el-row :gutter="24">
-				  <div style="width: 900px; margin-left: 40px;">
-					  <div style="margin-bottom: 5px;">
-					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >工单编号</span>
-					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >印件工序</span>
-					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >工序名称</span>
-					  	<span style="display: inline-block; text-align: center; width: 295px; margin-right: 5px;" >印件名称</span>
-					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >包装产量</span>
-					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >每箱数量</span>
-					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >零头</span>
-					  </div>
-				    <div v-for="index in 6" :key="index">
-				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" v-model="formData['sczl_gdbh' + index]" :id="'sczl_gdbh' + index" @keydown="ent1($event, index.toString())" @blur="getGxMcsubmit($event, index.toString())" />
-				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" :readonly="true" :value="formData['sczl_yjGx' + index]" :id="'sczl_yjGx' + index" @keydown="ent1($event)"/>
-				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" :readonly="true" v-model="formData['sczl_gxmc' + index]" :id="'sczl_gxmc' + index" @keydown="ent1($event)"/>
-				      <el-input style="width: 295px; margin-right: 5px;margin-bottom: 5px;" :readonly="true" v-model="formData['Gd_cpmc' + index]" :id="'Gd_cpmc' + index" @keydown="ent1($event)"/>
-				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" v-model="formData['sczl_cl' + index]" :id="'sczl_cl' + index" @keydown="ent1($event)"/>
-				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" v-model="formData['sczl_PgCl' + index]" :id="'sczl_PgCl' + index" @keydown="ent1($event)"/>
-				      <el-input style="width: 95px;margin-bottom: 5px;" v-model="formData['sczl_clAdd' + index]" :id="'sczl_clAdd' + index" @keydown="ent1($event)"/>
-				    </div>
-				  </div>
+              </el-row>
+			  <el-row :gutter="24">
+				  <div style="width: 900px; margin-left: 40px;">
+					  <div style="margin-bottom: 5px;">
+					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >工单编号</span>
+					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >印件工序</span>
+					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >工序名称</span>
+					  	<span style="display: inline-block; text-align: center; width: 295px; margin-right: 5px;" >印件名称</span>
+					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >包装产量</span>
+					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >每箱数量</span>
+					  	<span style="display: inline-block; text-align: center; width: 95px; margin-right: 5px;" >零头</span>
+					  </div>
+				    <div v-for="index in 6" :key="index">
+				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" placeholder="Enter回车" v-model="formData['sczl_gdbh' + index]" :id="'sczl_gdbh' + index" @keydown="ent1($event, index.toString())" @blur="getGxMcsubmit($event, index.toString())" />
+				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" :readonly="true" :value="formData['sczl_yjGx' + index]" :id="'sczl_yjGx' + index" @keydown="ent1($event)"/>
+				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" :readonly="true" v-model="formData['sczl_gxmc' + index]" :id="'sczl_gxmc' + index" @keydown="ent1($event)"/>
+				      <el-input style="width: 295px; margin-right: 5px;margin-bottom: 5px;" :readonly="true" v-model="formData['Gd_cpmc' + index]" :id="'Gd_cpmc' + index" @keydown="ent1($event)"/>
+				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" v-model="formData['sczl_cl' + index]" :id="'sczl_cl' + index" @keydown="ent1($event)"/>
+				      <el-input style="width: 95px; margin-right: 5px;margin-bottom: 5px;" v-model="formData['sczl_PgCl' + index]" :id="'sczl_PgCl' + index" @keydown="ent1($event)"/>
+				      <el-input style="width: 95px;margin-bottom: 5px;" v-model="formData['sczl_clAdd' + index]" :id="'sczl_clAdd' + index" @keydown="ent1($event)"/>
+				    </div>
+				  </div>
 			  </el-row>
             </el-form>
             <!-- </el-scrollbar> -->
@@ -120,7 +113,7 @@
 			<el-button type="primary" @click="enterpositioning">确 定</el-button>
           </el-dialog>
 
-
+
 <el-dialog v-model="dialogSelectVisible" title="选择"
 			  destroy-on-close width="800px" >
 			  <el-table tooltip-effect="dark" :data="selectData" row-key="ID"
@@ -130,18 +123,18 @@
 				<el-table-column prop="jyGx" label="检验工序" width="85" />
 			    <el-table-column prop="Gy0_gxmc" label="工序名称" width="225" />			 
 			  </el-table>
-			</el-dialog>
+			</el-dialog>
 			
-			<el-dialog v-model="getGxMcshow" 
-				:before-close="closegetGxMcshow" title="选择" 
-				destroy-on-close  width="600px" 
+			<el-dialog v-model="getGxMcshow" 
+				:before-close="closegetGxMcshow" title="选择" 
+				destroy-on-close  width="600px" 
 				>
 				<el-table tooltip-effect="dark" :data="selectData"
 					row-key="ID" highlight-current-row="true"
 					border style="width:100%"
 					@row-dblclick="handleSelectClick"
-					>
-					<el-table-column prop="jyGx" label="" width="100" />
+					>
+					<el-table-column prop="jyGx" label="" width="100" />
 					<el-table-column prop="Gd_cpmc" label="" width="460" />
 			   </el-table>
 		
@@ -177,9 +170,9 @@ import { ElMessage, ElMessageBox, LAST_KEYS } from 'element-plus'
 import { Search, Refresh, Download } from '@element-plus/icons-vue'
 import { ref, reactive, nextTick, onMounted, onBeforeMount } from 'vue'
 import { getPackingSideTable, getPackingTable } from '@/api/mes_api_gty/myapi'
-import { Layout, LayoutContent, LayoutHeader, LayoutSider } from '@arco-design/web-vue'
-import { useUserStore } from '@/pinia/modules/user'
-const userStore = useUserStore() 
+import { Layout, LayoutContent, LayoutHeader, LayoutSider } from '@arco-design/web-vue'
+import { useUserStore } from '@/pinia/modules/user'
+const userStore = useUserStore() 
 const sys_id='['+userStore.userInfo.userName+'/'+userStore.userInfo.nickName+']'
 defineOptions({
   name: '06-packingDocuments'
@@ -222,18 +215,18 @@ const formData = ref({
           sczl_yjGx3: '',
           sczl_yjGx4: '',
           sczl_yjGx5: '',
-          sczl_yjGx6: '',
-		  sczl_gxmc1: '',
-		  sczl_gxmc2: '',
-		  sczl_gxmc3: '',
-		  sczl_gxmc4: '',
-		  sczl_gxmc5: '',
-		  sczl_gxmc6: '',
-		  Gd_cpmc1: '',
-		  Gd_cpmc2: '',
-		  Gd_cpmc3: '',
-		  Gd_cpmc4: '',
-		  Gd_cpmc5: '',
+          sczl_yjGx6: '',
+		  sczl_gxmc1: '',
+		  sczl_gxmc2: '',
+		  sczl_gxmc3: '',
+		  sczl_gxmc4: '',
+		  sczl_gxmc5: '',
+		  sczl_gxmc6: '',
+		  Gd_cpmc1: '',
+		  Gd_cpmc2: '',
+		  Gd_cpmc3: '',
+		  Gd_cpmc4: '',
+		  Gd_cpmc5: '',
 		  Gd_cpmc6: '',
           sczl_cl1: '0.00',
           sczl_cl2: '0.00',
@@ -255,53 +248,53 @@ const formData = ref({
 		  sczl_clAdd6: '0',
 		  UniqId:'000',
 })
-const initFormData = () => {
-	formData.value = {
-		sczl_rq: '',
-		sczl_gdbh1: '',
-		sczl_gdbh2: '',
-		sczl_gdbh3: '',
-		sczl_gdbh4: '',
-		sczl_gdbh5: '',
-		sczl_gdbh6: '',
-		sczl_yjGx1: '',
-		sczl_yjGx2: '',
-		sczl_yjGx3: '',
-		sczl_yjGx4: '',
-		sczl_yjGx5: '',
-		sczl_yjGx6: '',
-		sczl_gxmc1: '',
-		sczl_gxmc2: '',
-		sczl_gxmc3: '',
-		sczl_gxmc4: '',
-		sczl_gxmc5: '',
-		sczl_gxmc6: '',
-		Gd_cpmc1: '',
-		Gd_cpmc2: '',
-		Gd_cpmc3: '',
-		Gd_cpmc4: '',
-		Gd_cpmc5: '',
-		Gd_cpmc6: '',
-		sczl_cl1: '0.00',
-		sczl_cl2: '0.00',
-		sczl_cl3: '0.00',
-		sczl_cl4: '0.00',
-		sczl_cl5: '0.00',
-		sczl_cl6: '0.00',
-		sczl_PgCl1:'0',
-		sczl_PgCl2: '0',
-		sczl_PgCl3: '0',
-		sczl_PgCl4: '0',
-		sczl_PgCl5: '0',
-		sczl_PgCl6: '0',
-		sczl_clAdd1: '0',
-		sczl_clAdd2: '0',
-		sczl_clAdd3: '0',
-		sczl_clAdd4: '0',
-		sczl_clAdd5: '0',
-		sczl_clAdd6: '0',
-		UniqId:'000',
-	}
+const initFormData = () => {
+	formData.value = {
+		sczl_rq: '',
+		sczl_gdbh1: '',
+		sczl_gdbh2: '',
+		sczl_gdbh3: '',
+		sczl_gdbh4: '',
+		sczl_gdbh5: '',
+		sczl_gdbh6: '',
+		sczl_yjGx1: '',
+		sczl_yjGx2: '',
+		sczl_yjGx3: '',
+		sczl_yjGx4: '',
+		sczl_yjGx5: '',
+		sczl_yjGx6: '',
+		sczl_gxmc1: '',
+		sczl_gxmc2: '',
+		sczl_gxmc3: '',
+		sczl_gxmc4: '',
+		sczl_gxmc5: '',
+		sczl_gxmc6: '',
+		Gd_cpmc1: '',
+		Gd_cpmc2: '',
+		Gd_cpmc3: '',
+		Gd_cpmc4: '',
+		Gd_cpmc5: '',
+		Gd_cpmc6: '',
+		sczl_cl1: '0.00',
+		sczl_cl2: '0.00',
+		sczl_cl3: '0.00',
+		sczl_cl4: '0.00',
+		sczl_cl5: '0.00',
+		sczl_cl6: '0.00',
+		sczl_PgCl1:'0',
+		sczl_PgCl2: '0',
+		sczl_PgCl3: '0',
+		sczl_PgCl4: '0',
+		sczl_PgCl5: '0',
+		sczl_PgCl6: '0',
+		sczl_clAdd1: '0',
+		sczl_clAdd2: '0',
+		sczl_clAdd3: '0',
+		sczl_clAdd4: '0',
+		sczl_clAdd5: '0',
+		sczl_clAdd6: '0',
+		UniqId:'000',
+	}
 }
 
 // 验证规则
@@ -416,237 +409,237 @@ const enterpositioning = async () => {
 let sczl_rqValue=ref()
 const getpickInfo = async (value) => {
 	
-  const response = await getInfo({UniqId:value});
-  if (response.code === 0) {
-  	formData.value=response.data;
+  const response = await getInfo({UniqId:value});
+  if (response.code === 0) {
+  	formData.value=response.data;
   }
 }
-
-//键盘 input框跳转
+
+//键盘 input框跳转
 const ent1 = (event) => {
   const inputs = document.getElementsByTagName('input');
   const currentIndex = Array.from(inputs).indexOf(event.target);
-  if (event.keyCode === 13 || event.keyCode === 40) { // Enter 或向下箭头
-	  if(event.target.id=='sczl_clAdd6'){
-		  ElMessageBox.confirm('数据存盘?', '提示', {
-					confirmButtonText: '确定',
-					cancelButtonText: '取消',
-					type: 'warning'
-				  }).then(() => {
-					enterDialog()
-				})
+  if (event.keyCode === 13 || event.keyCode === 40) { // Enter 或向下箭头
+	  if(event.target.id=='sczl_clAdd6'){
+		  ElMessageBox.confirm('数据存盘?', '提示', {
+					confirmButtonText: '确定',
+					cancelButtonText: '取消',
+					type: 'warning'
+				  }).then(() => {
+					enterDialog()
+				})
 	  }
     for (let i = currentIndex + 1; i < inputs.length; i++) {
-      if (!inputs[i].readOnly) {
-		  nextTick(()=>{
-			  inputs[i].focus();
-			  inputs[i].select();
+      if (!inputs[i].readOnly) {
+		  nextTick(()=>{
+			  inputs[i].focus();
+			  inputs[i].select();
 		  })
         break;
       }
-    }
-	if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
-		ent_sum()
+    }
+	if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
+		ent_sum()
 	}
   } else if (event.keyCode === 38) { // 向上箭头
     for (let i = currentIndex - 1; i >= 0; i--) {
       if (!inputs[i].readOnly) {
-        nextTick(()=>{
-        	inputs[i].focus();
-			inputs[i].select();
+        nextTick(()=>{
+        	inputs[i].focus();
+			inputs[i].select();
         })
         break;
       }
-    }
-	if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
-		ent_sum()
+    }
+	if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
+		ent_sum()
 	}
   } else if (event.keyCode === 8) { // 删除箭头
     if (event.target.selectionStart === 0) {
       for (let i = currentIndex - 1; i >= 0; i--) {
         if (!inputs[i].readOnly) {
-          nextTick(()=>{
-          	inputs[i].focus();
-			inputs[i].setSelectionRange(0, 0);
+          nextTick(()=>{
+          	inputs[i].focus();
+			inputs[i].setSelectionRange(0, 0);
           })
           break;
         }
-      }
-	  if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
-	  	ent_sum()
+      }
+	  if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
+	  	ent_sum()
 	  }
     }
   } else if (event.keyCode === 37) { // 向左箭头
     if (event.target.selectionStart === 0) {
       for (let i = currentIndex - 1; i >= 0; i--) {
         if (!inputs[i].readOnly) {
-          nextTick(()=>{
-          	inputs[i].focus();
-			inputs[i].select();
+          nextTick(()=>{
+          	inputs[i].focus();
+			inputs[i].select();
           })
           break;
         }
-      }
-	  if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
-	  	ent_sum()
+      }
+	  if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
+	  	ent_sum()
 	  }
     }
-  } else if (event.keyCode === 39) { // 向右箭头
-	  if(event.target.id=='sczl_clAdd6'){
-		  ElMessageBox.confirm('数据存盘?', '提示', {
-					confirmButtonText: '确定',
-					cancelButtonText: '取消',
-					type: 'warning'
-				  }).then(() => {
-					enterDialog()
-				})
+  } else if (event.keyCode === 39) { // 向右箭头
+	  if(event.target.id=='sczl_clAdd6'){
+		  ElMessageBox.confirm('数据存盘?', '提示', {
+					confirmButtonText: '确定',
+					cancelButtonText: '取消',
+					type: 'warning'
+				  }).then(() => {
+					enterDialog()
+				})
 	  }
     if (event.target.selectionStart === event.target.value.length) {
       for (let i = currentIndex + 1; i < inputs.length; i++) {
         if (!inputs[i].readOnly) {
-          nextTick(()=>{
-          	inputs[i].focus();
-			inputs[i].select();
+          nextTick(()=>{
+          	inputs[i].focus();
+			inputs[i].select();
           })
           break;
         }
       }
-    }
-	if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
-		ent_sum()
+    }
+	if(event.target.id.substring(0, 2)=='cl' || event.target.id.substring(0, 2)=='fp'){
+		ent_sum()
 	}
   }
-}
-
-//追加字体颜色和不可输入
-const setColorReadonly = (id) => {
-	const newInput = document.getElementById(id)
-	newInput.style.color = 'red';
-	newInput.setAttribute('readonly', true);
-}
-
-//追加字体颜色和可输入
-const unsetColorReadonly = (id) => {
-	const newInput = document.getElementById(id)
-	newInput.style.color = 'black';
-	newInput.removeAttribute('readonly');
-}
-
-//日期获得焦点事件
-const rqHandleFocus = () =>{
-	if(formData.value.sczl_rq==''){
-		formData.value.sczl_rq = new Date().toISOString().split('T')[0]
-	}
-}
-
-//工单编号失去焦点事件
-const getGxMcshow = ref(false)
+}
+
+//追加字体颜色和不可输入
+const setColorReadonly = (id) => {
+	const newInput = document.getElementById(id)
+	newInput.style.color = 'red';
+	newInput.setAttribute('readonly', true);
+}
+
+//追加字体颜色和可输入
+const unsetColorReadonly = (id) => {
+	const newInput = document.getElementById(id)
+	newInput.style.color = 'black';
+	newInput.removeAttribute('readonly');
+}
+
+//日期获得焦点事件
+const rqHandleFocus = () =>{
+	if(formData.value.sczl_rq==''){
+		formData.value.sczl_rq = new Date().toISOString().split('T')[0]
+	}
+}
+
+//工单编号失去焦点事件
+const getGxMcshow = ref(false)
 const selectData = reactive([])
-let tableIndex = 0
-
-const getGxMcsubmit = async (event, index) => {
-	if(formData.value['sczl_gdbh'+index]!=''){
-		const response = await getGxMc({gdbh: formData.value['sczl_gdbh'+index] })
-		if (response.code === 0) {
-			if(response.data.length==0){
-				  ElMessage({
-					type: 'error',
-					message: '查无此编号的工单,请仔细检查后重新输入'
-				  })
-				  //设置输入框的值为空
-				  formData.value['sczl_gdbh'+index] = ''
-				  formData.value['Gd_cpmc'+index] = ''
-				  formData.value['sczl_yjGx'+index] = ''
-				  formData.value['sczl_gxmc'+index] = ''
-			}else if(response.data.length==1){
-				  const { Gd_cpmc, Gy0_gxmc, jyGx } = response.data[0]
-				  formData.value['Gd_cpmc'+index] = Gd_cpmc
-				  formData.value['sczl_yjGx'+index] = jyGx
-				  formData.value['sczl_gxmc'+index] = Gy0_gxmc
-				  setColorReadonly('Gd_cpmc'+index);
-				  setColorReadonly('sczl_yjGx'+index);
-				  setColorReadonly('sczl_gxmc'+index);
-				  unsetColorReadonly('sczl_cl'+index);
-				  unsetColorReadonly('sczl_PgCl'+index);
-			}else{
-				selectData.splice(0, selectData.length, ...response.data)
-				tableIndex = index
-				getGxMcshow.value = true
-			}
-		}
-	}else{
-		formData.value['Gd_cpmc'+index] = ''
-		formData.value['sczl_yjGx'+index] = ''
-		formData.value['sczl_gxmc'+index] = ''
-		formData.value['sczl_cl'+index] = '0.00'
-		formData.value['sczl_PgCl'+index] = '0'
-		setColorReadonly('sczl_cl'+index);
-		setColorReadonly('sczl_PgCl'+index);
+let tableIndex = 0
+
+const getGxMcsubmit = async (event, index) => {
+	if(formData.value['sczl_gdbh'+index]!=''){
+		const response = await getGxMc({gdbh: formData.value['sczl_gdbh'+index] })
+		if (response.code === 0) {
+			if(response.data.length==0){
+				  ElMessage({
+					type: 'error',
+					message: '查无此编号的工单,请仔细检查后重新输入'
+				  })
+				  //设置输入框的值为空
+				  formData.value['sczl_gdbh'+index] = ''
+				  formData.value['Gd_cpmc'+index] = ''
+				  formData.value['sczl_yjGx'+index] = ''
+				  formData.value['sczl_gxmc'+index] = ''
+			}else if(response.data.length==1){
+				  const { Gd_cpmc, Gy0_gxmc, jyGx } = response.data[0]
+				  formData.value['Gd_cpmc'+index] = Gd_cpmc
+				  formData.value['sczl_yjGx'+index] = jyGx
+				  formData.value['sczl_gxmc'+index] = Gy0_gxmc
+				  setColorReadonly('Gd_cpmc'+index);
+				  setColorReadonly('sczl_yjGx'+index);
+				  setColorReadonly('sczl_gxmc'+index);
+				  unsetColorReadonly('sczl_cl'+index);
+				  unsetColorReadonly('sczl_PgCl'+index);
+			}else{
+				selectData.splice(0, selectData.length, ...response.data)
+				tableIndex = index
+				getGxMcshow.value = true
+			}
+		}
+	}else{
+		formData.value['Gd_cpmc'+index] = ''
+		formData.value['sczl_yjGx'+index] = ''
+		formData.value['sczl_gxmc'+index] = ''
+		formData.value['sczl_cl'+index] = '0.00'
+		formData.value['sczl_PgCl'+index] = '0'
+		setColorReadonly('sczl_cl'+index);
+		setColorReadonly('sczl_PgCl'+index);
 	}
 	  
 }
 // 处理选择框
 const handleSelectClick = (row, column, event) => {
-  const { Gd_cpmc, Gy0_gxmc, jyGx } = row
-  formData.value['Gd_cpmc'+tableIndex] = Gd_cpmc
-  formData.value['sczl_yjGx'+tableIndex] = jyGx
-  formData.value['sczl_gxmc'+tableIndex] = Gy0_gxmc
-  setColorReadonly('Gd_cpmc'+tableIndex);
-  setColorReadonly('sczl_yjGx'+tableIndex);
-  setColorReadonly('sczl_gxmc'+tableIndex);
-  unsetColorReadonly('sczl_cl'+tableIndex);
+  const { Gd_cpmc, Gy0_gxmc, jyGx } = row
+  formData.value['Gd_cpmc'+tableIndex] = Gd_cpmc
+  formData.value['sczl_yjGx'+tableIndex] = jyGx
+  formData.value['sczl_gxmc'+tableIndex] = Gy0_gxmc
+  setColorReadonly('Gd_cpmc'+tableIndex);
+  setColorReadonly('sczl_yjGx'+tableIndex);
+  setColorReadonly('sczl_gxmc'+tableIndex);
+  unsetColorReadonly('sczl_cl'+tableIndex);
   unsetColorReadonly('sczl_PgCl'+tableIndex);
   getGxMcshow.value = false
 }
-
+
 
 // 更新数据
-const updateDetailData = async() => {
-	const restoredData = {
-		 UniqId: lastCellValue,
-		 sczl_rq: formData.value.sczl_rq,
-		 sczl_gdbh1: formData.value.sczl_gdbh1,
-		 sczl_gdbh2: formData.value.sczl_gdbh2,
-		 sczl_gdbh3: formData.value.sczl_gdbh3,
-		 sczl_gdbh4: formData.value.sczl_gdbh4,
-		 sczl_gdbh5: formData.value.sczl_gdbh5,
-		 sczl_gdbh6: formData.value.sczl_gdbh6,
-		 sczl_yjGx1: formData.value.sczl_yjGx1,
-		 sczl_yjGx2: formData.value.sczl_yjGx2,
-		 sczl_yjGx3: formData.value.sczl_yjGx3,
-		 sczl_yjGx4: formData.value.sczl_yjGx4,
-		 sczl_yjGx5: formData.value.sczl_yjGx5,
-		 sczl_yjGx6: formData.value.sczl_yjGx6,
-		 sczl_gxmc1: formData.value.sczl_gxmc1,
-		 sczl_gxmc2: formData.value.sczl_gxmc2,
-		 sczl_gxmc3: formData.value.sczl_gxmc3,
-		 sczl_gxmc4: formData.value.sczl_gxmc4,
-		 sczl_gxmc5: formData.value.sczl_gxmc5,
-		 sczl_gxmc6: formData.value.sczl_yjGx6,
-		 sczl_cl1: formData.value.sczl_cl1,
-		 sczl_cl2: formData.value.sczl_cl2,
-		 sczl_cl3: formData.value.sczl_cl3,
-		 sczl_cl4: formData.value.sczl_cl4,
-		 sczl_cl5: formData.value.sczl_cl5,
-		 sczl_cl6: formData.value.sczl_cl6,
-		 sczl_PgCl1:formData.value.sczl_PgCl1,
-		 sczl_PgCl2: formData.value.sczl_PgCl2,
-		 sczl_PgCl3: formData.value.sczl_PgCl3,
-		 sczl_PgCl4: formData.value.sczl_PgCl4,
-		 sczl_PgCl5: formData.value.sczl_PgCl5,
-		 sczl_PgCl6: formData.value.sczl_PgCl6,
-		 Gd_cpmc1: formData.value.Gd_cpmc1,
-		 Gd_cpmc3: formData.value.Gd_cpmc2,
-		 Gd_cpmc4: formData.value.Gd_cpmc3,
-		 Gd_cpmc5: formData.value.Gd_cpmc4,
-		 Gd_cpmc6: formData.value.Gd_cpmc5,
-		 sczl_clAdd1: formData.value.sczl_clAdd1,
-		 sczl_clAdd2: formData.value.sczl_clAdd2,
-		 sczl_clAdd3: formData.value.sczl_clAdd3,
-		 sczl_clAdd4: formData.value.sczl_clAdd4,
-		 sczl_clAdd5:formData.value.sczl_clAdd5,
-		 sczl_clAdd6: formData.value.sczl_clAdd6,
-		 sys_id:sys_id,
+const updateDetailData = async() => {
+	const restoredData = {
+		 UniqId: lastCellValue,
+		 sczl_rq: formData.value.sczl_rq,
+		 sczl_gdbh1: formData.value.sczl_gdbh1,
+		 sczl_gdbh2: formData.value.sczl_gdbh2,
+		 sczl_gdbh3: formData.value.sczl_gdbh3,
+		 sczl_gdbh4: formData.value.sczl_gdbh4,
+		 sczl_gdbh5: formData.value.sczl_gdbh5,
+		 sczl_gdbh6: formData.value.sczl_gdbh6,
+		 sczl_yjGx1: formData.value.sczl_yjGx1,
+		 sczl_yjGx2: formData.value.sczl_yjGx2,
+		 sczl_yjGx3: formData.value.sczl_yjGx3,
+		 sczl_yjGx4: formData.value.sczl_yjGx4,
+		 sczl_yjGx5: formData.value.sczl_yjGx5,
+		 sczl_yjGx6: formData.value.sczl_yjGx6,
+		 sczl_gxmc1: formData.value.sczl_gxmc1,
+		 sczl_gxmc2: formData.value.sczl_gxmc2,
+		 sczl_gxmc3: formData.value.sczl_gxmc3,
+		 sczl_gxmc4: formData.value.sczl_gxmc4,
+		 sczl_gxmc5: formData.value.sczl_gxmc5,
+		 sczl_gxmc6: formData.value.sczl_yjGx6,
+		 sczl_cl1: formData.value.sczl_cl1,
+		 sczl_cl2: formData.value.sczl_cl2,
+		 sczl_cl3: formData.value.sczl_cl3,
+		 sczl_cl4: formData.value.sczl_cl4,
+		 sczl_cl5: formData.value.sczl_cl5,
+		 sczl_cl6: formData.value.sczl_cl6,
+		 sczl_PgCl1:formData.value.sczl_PgCl1,
+		 sczl_PgCl2: formData.value.sczl_PgCl2,
+		 sczl_PgCl3: formData.value.sczl_PgCl3,
+		 sczl_PgCl4: formData.value.sczl_PgCl4,
+		 sczl_PgCl5: formData.value.sczl_PgCl5,
+		 sczl_PgCl6: formData.value.sczl_PgCl6,
+		 Gd_cpmc1: formData.value.Gd_cpmc1,
+		 Gd_cpmc3: formData.value.Gd_cpmc2,
+		 Gd_cpmc4: formData.value.Gd_cpmc3,
+		 Gd_cpmc5: formData.value.Gd_cpmc4,
+		 Gd_cpmc6: formData.value.Gd_cpmc5,
+		 sczl_clAdd1: formData.value.sczl_clAdd1,
+		 sczl_clAdd2: formData.value.sczl_clAdd2,
+		 sczl_clAdd3: formData.value.sczl_clAdd3,
+		 sczl_clAdd4: formData.value.sczl_clAdd4,
+		 sczl_clAdd5:formData.value.sczl_clAdd5,
+		 sczl_clAdd6: formData.value.sczl_clAdd6,
+		 sys_id:sys_id,
 	}
   
   if(ADD.value=='新增'){
@@ -656,13 +649,13 @@ const updateDetailData = async() => {
 	 		 ElMessage({
 	 		   type: 'success',
 	 		   message: '新增成功',
-	 		 })
-			 dialogFormVisible.value = false
-			 //刷新侧边栏
-			 getTabdata()
-			 if(params.date != ''){
-			 	//刷新页面
-			 	getTableData()
+	 		 })
+			 dialogFormVisible.value = false
+			 //刷新侧边栏
+			 getTabdata()
+			 if(params.date != ''){
+			 	//刷新页面
+			 	getTableData()
 			 }
 	 }
   }else{
@@ -678,37 +671,37 @@ const updateDetailData = async() => {
 }
 
 
-const GxMcdel = () => {
-	if(typeof(lastCellValue)=='object'){
-		ElMessage({
-		  type: 'warning',
-		  message: '未选中记录',
-		})
-		return
-	}
-	
-	ElMessageBox.confirm(
-	  `确认删除这条数据么?`,
-	  '警告',
-	  {
-	    confirmButtonText: '确认',
-	    cancelButtonText: '取消',
-	    type: 'warning',
-	  }
-	).then(async() => {
-		const response = await del({UniqId:lastCellValue});
-		if (response.code === 0) {
-			ElMessage({
-			  type: 'success',
-			  message: '删除成功',
-			})
-			//刷新侧边栏
-			getTabdata()
-			getTableData()
-		}
+const GxMcdel = () => {
+	if(typeof(lastCellValue)=='object'){
+		ElMessage({
+		  type: 'warning',
+		  message: '未选中记录',
+		})
+		return
+	}
+	
+	ElMessageBox.confirm(
+	  `确认删除这条数据么?`,
+	  '警告',
+	  {
+	    confirmButtonText: '确认',
+	    cancelButtonText: '取消',
+	    type: 'warning',
+	  }
+	).then(async() => {
+		const response = await del({UniqId:lastCellValue});
+		if (response.code === 0) {
+			ElMessage({
+			  type: 'success',
+			  message: '删除成功',
+			})
+			//刷新侧边栏
+			getTabdata()
+			getTableData()
+		}
 	})
   
-}
+}
 
 // 搜索
 function onSearch() {
@@ -798,11 +791,11 @@ const positioningVisible = () => {
 const ADD=ref('0')
 //新增
 function onAdd() {
-	ADD.value='新增'
-	type.value = 'create'
-	// if(typeof(lastCellValue)=='number'){
-	// 	getpickInfo(lastCellValue)
-	// }
+	ADD.value='新增'
+	type.value = 'create'
+	// if(typeof(lastCellValue)=='number'){
+	// 	getpickInfo(lastCellValue)
+	// }
 	initFormData()
 	dialogFormVisible.value = true
 	// Productionadd()
@@ -842,53 +835,53 @@ const closeDialog = () => {
 }
 // 弹窗确定
 const enterDialog = async () => {
-      ElMessageBox.confirm('数据存盘?', '提示', {
-		confirmButtonText: '确定',
-		cancelButtonText: '取消',
-		type: 'warning'
-	  }).then(() => {
-		
-		if(formData.value.sczl_rq==''){
-			ElMessage({
-				type: 'error',
-				message: '请填写日期'
-			});
-			document.getElementById('日期').focus()
-			document.getElementById('日期').select()
-			return;
-		}
-		if(formData.value.sczl_gdbh1=='' && formData.value.sczl_gdbh2=='' && formData.value.sczl_gdbh3=='' &&
-			formData.value.sczl_gdbh4=='' && formData.value.sczl_gdbh5=='' && formData.value.sczl_gdbh6==''){
-			ElMessage({
-				type: 'error',
-				message: '请填写工单编号'
-			});
-			document.getElementById('sczl_gdbh1').focus()
-			document.getElementById('sczl_gdbh1').select()
-			return;
-		}
-		if(parseFloat(formData.value.sczl_cl1)==0 && parseFloat(formData.value.sczl_cl2)==0 && parseFloat(formData.value.sczl_cl3)==0 &&
-			parseFloat(formData.value.sczl_cl4)==0 && parseFloat(formData.value.sczl_cl5)==0 && parseFloat(formData.value.sczl_cl6)==0){
-			ElMessage({
-				type: 'error',
-				message: '请填写包装产量'
-			});
-			document.getElementById('sczl_cl1').focus()
-			document.getElementById('sczl_cl1').select()
-			return;
-		}
-		if(parseFloat(formData.value.sczl_PgCl1)==0 && parseFloat(formData.value.sczl_PgCl2)==0 && parseFloat(formData.value.sczl_PgCl3)==0 &&
-			parseFloat(formData.value.sczl_PgCl4)==0 && parseFloat(formData.value.sczl_PgCl5)==0 && parseFloat(formData.value.sczl_PgCl6)==0){
-			ElMessage({
-				type: 'error',
-				message: '请填写每箱数量'
-			});
-			document.getElementById('sczl_PgCl1').focus()
-			document.getElementById('sczl_PgCl1').select()
-			return;
-		}
-		
-		updateDetailData()
+      ElMessageBox.confirm('数据存盘?', '提示', {
+		confirmButtonText: '确定',
+		cancelButtonText: '取消',
+		type: 'warning'
+	  }).then(() => {
+		
+		if(formData.value.sczl_rq==''){
+			ElMessage({
+				type: 'error',
+				message: '请填写日期'
+			});
+			document.getElementById('日期').focus()
+			document.getElementById('日期').select()
+			return;
+		}
+		if(formData.value.sczl_gdbh1=='' && formData.value.sczl_gdbh2=='' && formData.value.sczl_gdbh3=='' &&
+			formData.value.sczl_gdbh4=='' && formData.value.sczl_gdbh5=='' && formData.value.sczl_gdbh6==''){
+			ElMessage({
+				type: 'error',
+				message: '请填写工单编号'
+			});
+			document.getElementById('sczl_gdbh1').focus()
+			document.getElementById('sczl_gdbh1').select()
+			return;
+		}
+		if(parseFloat(formData.value.sczl_cl1)==0 && parseFloat(formData.value.sczl_cl2)==0 && parseFloat(formData.value.sczl_cl3)==0 &&
+			parseFloat(formData.value.sczl_cl4)==0 && parseFloat(formData.value.sczl_cl5)==0 && parseFloat(formData.value.sczl_cl6)==0){
+			ElMessage({
+				type: 'error',
+				message: '请填写包装产量'
+			});
+			document.getElementById('sczl_cl1').focus()
+			document.getElementById('sczl_cl1').select()
+			return;
+		}
+		if(parseFloat(formData.value.sczl_PgCl1)==0 && parseFloat(formData.value.sczl_PgCl2)==0 && parseFloat(formData.value.sczl_PgCl3)==0 &&
+			parseFloat(formData.value.sczl_PgCl4)==0 && parseFloat(formData.value.sczl_PgCl5)==0 && parseFloat(formData.value.sczl_PgCl6)==0){
+			ElMessage({
+				type: 'error',
+				message: '请填写每箱数量'
+			});
+			document.getElementById('sczl_PgCl1').focus()
+			document.getElementById('sczl_PgCl1').select()
+			return;
+		}
+		
+		updateDetailData()
 	  });
 }
 
@@ -896,7 +889,7 @@ let lastCellValue=ref()
 // 双击表格操作
 function doubleClick(row) {
     type.value = 'update';
-    getpickInfo(row['UniqId'])
+    getpickInfo(row['UniqId'])
 	dialogFormVisible.value = true
 }
 // 单击表格操作
@@ -941,7 +934,7 @@ onMounted(async () => {
   background: #ff80ff !important;
   /* 背景颜色 */
 }
-</style>
+</style>
 <style scoped>
 :deep(.el-table td .cell) {
   line-height: 20px !important;

+ 1 - 0
src/view/performance/printYgjjmx.vue

@@ -21,6 +21,7 @@
           autocomplete="off"
           style="width: 110px"
           @keyup.enter="handleEnter"
+          placeholder="Enter回车"
         />
       </el-form-item>
       <el-form-item label="">

+ 103 - 105
src/view/performance/yuangongrigongzi.vue

@@ -42,7 +42,7 @@
 			  <!-- <el-button type="primary" :icon="Search">查改</el-button> -->
 			  <el-button type="primary"  class="bt" @click="handlePrint">员工计件明细</el-button>
               <div style="margin-left: auto;">
-                <el-button type="primary" :icon="Download" class="bt" @click="exportExcel">导出到Excel(汇总)</el-button>
+                <el-button type="primary" :icon="Download" class="bt" @click="exportExcel">导出到Excel(汇总)</el-button>
 				<el-button type="primary" :icon="Download" class="bt" @click="exportExcel2">导出到Excel(明细)</el-button>
               </div>
             </div>
@@ -51,17 +51,17 @@
               highlight-current-row="true" border @selection-change="handleSelectionChange" :show-overflow-tooltip="true"
 			   :row-style="{ height: '20px' }" 
 			   :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-			   :header-cell-style="{ padding: '0px' }" 
+			   :header-cell-style="{ padding: '0px' }" 
 			   @row-click="ontable" @row-dblclick="doubleClick">
               <el-table-column type="selection" width="40" />
-			  <el-table-column
-			    v-for="column in tableCols1"
-			    :key="column.prop"
-			    :prop="column.prop"
-			    :label="column.label"
-			    :width="column.width"
-			    show-overflow-tooltip="true"
-			  				sortable
+			  <el-table-column
+			    v-for="column in tableCols1"
+			    :key="column.prop"
+			    :prop="column.prop"
+			    :label="column.label"
+			    :width="column.width"
+			    show-overflow-tooltip="true"
+			  				sortable
 			  />  
             </el-table>
             <!-- 分页 -->
@@ -76,22 +76,22 @@
 		  <div class="gva-table-box">
 		    <!-- 数据展示 -->
 		    <el-table ref="multipleTable2" style="width: 100%;height: 40vh;" tooltip-effect="dark" :data="tableData2" row-key="ID"
-		      highlight-current-row="true" border 
-			  :row-style="{ height: '20px' }"
-			  :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
-			  :header-cell-style="{ padding: '0px' }"
-			  @selection-change="handleSelectionChange" 
-			  :show-overflow-tooltip="true" 
+		      highlight-current-row="true" border 
+			  :row-style="{ height: '20px' }"
+			  :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
+			  :header-cell-style="{ padding: '0px' }"
+			  @selection-change="handleSelectionChange" 
+			  :show-overflow-tooltip="true" 
 			  @row-dblclick="doubleClick">
 		      <el-table-column type="selection" width="40" />
-		  	  <el-table-column
-		  	    v-for="column in tableCols2"
-		  	    :key="column.prop"
-		  	    :prop="column.prop"
-		  	    :label="column.label"
-		  	    :width="column.width"
-		  	    show-overflow-tooltip="true"
-		  	  				sortable
+		  	  <el-table-column
+		  	    v-for="column in tableCols2"
+		  	    :key="column.prop"
+		  	    :prop="column.prop"
+		  	    :label="column.label"
+		  	    :width="column.width"
+		  	    show-overflow-tooltip="true"
+		  	  				sortable
 		  	  />
 		    </el-table>
 		    <!-- 分页 -->
@@ -352,49 +352,47 @@ import { getDictFunc, formatDate, formatBoolean, filterDict, ReturnArrImg, onDow
 import { ElMessage, ElMessageBox } from 'element-plus'
 import { Search, Refresh, Download } from '@element-plus/icons-vue'
 import { ref, reactive, onMounted, onBeforeMount } from 'vue'
-import { getPackingSideTable, getPackingTable } from '@/api/mes_api_gty/myapi'
-import { Layout, LayoutContent, LayoutHeader, LayoutSider } from '@arco-design/web-vue'
-import Ygjjmx from './printYgjjmx.vue'
-import * as XLSX from "xlsx";
-import { useUserStore } from '@/pinia/modules/user'
-const userStore = useUserStore() 
+import Ygjjmx from './printYgjjmx.vue'
+import * as XLSX from "xlsx";
+import { useUserStore } from '@/pinia/modules/user'
+const userStore = useUserStore() 
 const sys_id='['+userStore.userInfo.userName+'/'+userStore.userInfo.nickName+']'
 defineOptions({
   name: '06-packingDocuments'
 })
-const tableCols1 = [
-  { label: '员工编号', prop: 'bh', width: '105' },
-  { label: '员工姓名', prop: '员工姓名', width: '105' },
-  { label: '日期', prop: 'sczl_rq', width: '120' },
-  { label: '计件工资', prop: '计件工资', width: '105' },
-  { label: '加班工资', prop: '加班工资', width: '105' },
-  { label: '计时时数', prop: '计时时数', width: '105' },
-  { label: '计时工资', prop: '计时工资', width: '135' },
-  { label: '日工资合计', prop: '日工资合计', width: '135' },
-]
-const tableCols2 = [
-  { label: '日期', prop: 'sczl_rq', width: '105' },
-  { label: '工单编号', prop: 'sczl_gdbh', width: '105' },
-  { label: '产品名称', prop: 'Gd_cpmc', width: '120' },
-  { label: '印件及工序', prop: 'sczl_type', width: '120' },
-  { label: '机台编号', prop: 'sczl_jtbh', width: '105' },
-  { label: '班组车头产量', prop: '班组车头产量', width: '135' },
-  { label: '班组换算产量', prop: '班组换算产量', width: '135' },
-  { label: '工序难度系数', prop: '工序难度系数', width: '135' },
-  { label: '个人计件工资', prop: '个人计件工资', width: '135' },
-  { label: '个人加班工资', prop: '个人加班工资', width: '135' },
-  { label: '装版工时', prop: '装版工时', width: '120' },
-  { label: '保养工时', prop: '保养工时', width: '105' },
-  { label: '打样工时', prop: '打样工时', width: '105' },
-  { label: '异常停机工时', prop: '异常停机工时', width: '145' },
-  { label: '车头产量占用机时', prop: '车头产量占用机时', width: '175' },
-  { label: '日定额', prop: '日定额', width: '135' },
-  { label: '达标定额', prop: '达标定额', width: '105' },
-  { label: '千件工价', prop: '千件工价', width: '105' },
-  { label: '补产标准', prop: '补产标准', width: '120' },
-  { label: '员工编号', prop: 'bh', width: '105' },
-  { label: '姓名', prop: 'xm', width: '105' },
-  { label: '比例', prop: 'Rate', width: '105' },
+const tableCols1 = [
+  { label: '员工编号', prop: 'bh', width: '105' },
+  { label: '员工姓名', prop: '员工姓名', width: '105' },
+  { label: '日期', prop: 'sczl_rq', width: '120' },
+  { label: '计件工资', prop: '计件工资', width: '105' },
+  { label: '加班工资', prop: '加班工资', width: '105' },
+  { label: '计时时数', prop: '计时时数', width: '105' },
+  { label: '计时工资', prop: '计时工资', width: '135' },
+  { label: '日工资合计', prop: '日工资合计', width: '135' },
+]
+const tableCols2 = [
+  { label: '日期', prop: 'sczl_rq', width: '105' },
+  { label: '工单编号', prop: 'sczl_gdbh', width: '105' },
+  { label: '产品名称', prop: 'Gd_cpmc', width: '120' },
+  { label: '印件及工序', prop: 'sczl_type', width: '120' },
+  { label: '机台编号', prop: 'sczl_jtbh', width: '105' },
+  { label: '班组车头产量', prop: '班组车头产量', width: '135' },
+  { label: '班组换算产量', prop: '班组换算产量', width: '135' },
+  { label: '工序难度系数', prop: '工序难度系数', width: '135' },
+  { label: '个人计件工资', prop: '个人计件工资', width: '135' },
+  { label: '个人加班工资', prop: '个人加班工资', width: '135' },
+  { label: '装版工时', prop: '装版工时', width: '120' },
+  { label: '保养工时', prop: '保养工时', width: '105' },
+  { label: '打样工时', prop: '打样工时', width: '105' },
+  { label: '异常停机工时', prop: '异常停机工时', width: '145' },
+  { label: '车头产量占用机时', prop: '车头产量占用机时', width: '175' },
+  { label: '日定额', prop: '日定额', width: '135' },
+  { label: '达标定额', prop: '达标定额', width: '105' },
+  { label: '千件工价', prop: '千件工价', width: '105' },
+  { label: '补产标准', prop: '补产标准', width: '120' },
+  { label: '员工编号', prop: 'bh', width: '105' },
+  { label: '姓名', prop: 'xm', width: '105' },
+  { label: '比例', prop: 'Rate', width: '105' },
 ]
 // 侧边栏数据请求
 const treeData = reactive([]);
@@ -517,7 +515,7 @@ const generateSummaryData = (data) => {
       }
       // 创建新的合计数据
       currentSummary = {
-        '员工姓名': name,
+        '员工姓名': name,
 		'日期': 0,
         '计件工资': 0,
         '加班工资': 0,
@@ -528,7 +526,7 @@ const generateSummaryData = (data) => {
       currentName = name;
     }
 
-    // 更新合计数据
+    // 更新合计数据
 	currentSummary['日期']++;
     currentSummary['计件工资'] += parseFloat(item['计件工资']);
     currentSummary['加班工资'] += parseFloat(item['加班工资']);
@@ -598,14 +596,14 @@ const Getlocate = async (value) => {
 }
 // 搜索
 function onSearch() {
- let parts = params.date.split('-')
- 
- // # 截取第一个"-"之前的内容并赋值给新变量1
- let new_variable1 = parts[0]
- 
- // # 截取第一个"-"之后到第二个"-"之前的内容并赋值给新变量2
- let new_variable2 = parts[1]
- Getlocate(new_variable1+new_variable2)
+ let parts = params.date.split('-')
+ 
+ // # 截取第一个"-"之前的内容并赋值给新变量1
+ let new_variable1 = parts[0]
+ 
+ // # 截取第一个"-"之后到第二个"-"之前的内容并赋值给新变量2
+ let new_variable2 = parts[1]
+ Getlocate(new_variable1+new_variable2)
  // positioningVisibleshow.value=false
 }
 // ============== 表格控制部分结束 ===============
@@ -726,16 +724,16 @@ function ontable(row, column, event) {
   Getundertable(new_variable1,row.bh)
 }
 //获取下列表
-const Getundertable = (date,bh) => {
-	if(bh == undefined) return
-  dailygetAllList({date:date,code:bh}).then(response=>{
-	  if(response.code==0){
-	  	   tableData2.splice(0, tableData2.length, ...response.data);
-	  	// console.log(response.data.num)
-	  	// const rowIndex = tableData.findIndex(row => row.UniqId === lastCellValue);
-	  	// console.log(rowIndex)
-	  	// tableData[rowIndex].sczl_废品率系数 = response.data.num;
-	  }
+const Getundertable = (date,bh) => {
+	if(bh == undefined) return
+  dailygetAllList({date:date,code:bh}).then(response=>{
+	  if(response.code==0){
+	  	   tableData2.splice(0, tableData2.length, ...response.data);
+	  	// console.log(response.data.num)
+	  	// const rowIndex = tableData.findIndex(row => row.UniqId === lastCellValue);
+	  	// console.log(rowIndex)
+	  	// tableData[rowIndex].sczl_废品率系数 = response.data.num;
+	  }
   })
   
   // console.log(response)
@@ -748,28 +746,28 @@ function doubleClick(row, column, event) {
   // dialogFormVisible.value = true
 }
 
-// 导出excel
+// 导出excel
 
 function exportExcel() {
- if(tableData.length<1){
- 	ElMessage({
- 	  type: 'error',
- 	  message: '请确认上方表格内是否存在内容'
- 	})
- }else{
- 	exportExcelFile(tableData,tableCols1)
+ if(tableData.length<1){
+ 	ElMessage({
+ 	  type: 'error',
+ 	  message: '请确认上方表格内是否存在内容'
+ 	})
+ }else{
+ 	exportExcelFile(tableData,tableCols1)
  }
-};
+};
 function exportExcel2() {
-if(tableData2.length<1){
-		ElMessage({
-		  type: 'error',
-		  message: '请确认上方表格内是否存在内容'
-		})
-	}else{
-		exportExcelFile(tableData2,tableCols2)
+if(tableData2.length<1){
+		ElMessage({
+		  type: 'error',
+		  message: '请确认上方表格内是否存在内容'
+		})
+	}else{
+		exportExcelFile(tableData2,tableCols2)
 	}
-};
+};
 const exportExcelFile = (tableData, tableCols) => {
   const data = tableData.map(row => {
     const rowData = {};
@@ -821,10 +819,10 @@ onMounted(async () => {
 .el-table__body tr.current-row>td {
   background: #ff80ff !important;
   /* 背景颜色 */
-}
-.bt {
-  margin-left: 2px !important;
-  padding: 3px !important;
-  font-size: 12px;
+}
+.bt {
+  margin-left: 2px !important;
+  padding: 3px !important;
+  font-size: 12px;
 }
 </style>