Browse Source

车间报工

liuhairui 1 year ago
parent
commit
c555f87ae0
1 changed files with 29 additions and 25 deletions
  1. 29 25
      src/view/performance/chejianbaogong.vue

+ 29 - 25
src/view/performance/chejianbaogong.vue

@@ -2,18 +2,18 @@
   <div>
 	<header>
 		<div style="height: 50px;">
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 80px" @click="onBZ" >班组维护</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 100px" @click="onchanliang"  v-if="zdtreeType === true" >日产量上报</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 80px" @click="onOver" >完工</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 80px" @click="onzhicheng"  >制程检验</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 80px" @click="ondianjian"  >设备点检</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 80px" @click="onxuncha" >管理巡查</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 109px" @click="onstatus" >设置机台状态</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 80px" @click="onyinban">印版领退</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 80px" @click="onClear" >换型清场</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 80px" @click="pd_gdprintonClick" >工单打印</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 109px" @click="gzSel" >员工工资查询</el-button>
-			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 17px;font-weight: bold;width: 80px" @click="oncomplaints" >客诉记录</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="onBZ" >班组维护</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 90px" @click="onchanliang"  v-if="zdtreeType === true" >日产量上报</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 60px" @click="onOver" >完工</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="onzhicheng"  >制程检验</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="ondianjian"  >设备点检</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="onxuncha" >管理巡查</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 95px" @click="onstatus" >设置机台状态</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="onyinban">印版领退</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="onClear" >换型清场</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="pd_gdprintonClick" >工单打印</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 95px" @click="gzSel" >员工工资查询</el-button>
+			<el-button type="primary" size="large" class="bt" style="color:white;font-size: 15px;font-weight: bold;width: 70px" @click="oncomplaints" >客诉记录</el-button>
 		</div>
 		</header>
 
@@ -1527,7 +1527,8 @@
 		  v-model="chanliangVisible"
 		  title="日产量上报"
 		  fullscreen
-		  style="font-size: 2vh;font-weight: bold;"
+      :show-close="false"
+		  style="font-size: 2vh;font-weight: bold;padding: 0px 16px 10px 16px"
 		>
 		<div style="font-size: 1.5vh; font-weight: bold;color: red;">
 			<el-row :gutter="24" style="margin-top=0px; margin-bottom: 1px;">
@@ -1551,7 +1552,7 @@
 
 			<el-row :gutter="24" style="margin-top=0px; margin-bottom: 1px;">
 			        <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
-			        <el-form-item label="印件号" prop="id" style="margin-top=0px; margin-bottom: 1px;">
+			        <el-form-item label="印件号" prop="id" label-width="60" style="margin-top=0px; margin-bottom: 1px;">
 			          <el-input v-model="formData3.yjno" style="margin-top=0px; margin-bottom: 1px;" id="印件号"  @keydown="ent($event, '工序名称', '印件号', '印件名称')"  placeholder="" />
 			        </el-form-item>
 			        </el-col>
@@ -1606,7 +1607,8 @@
 
 
 
-               <div style="margin-top: 20px;">
+<!--               <div style="margin-top: 20px;">-->
+               <div style="margin-top: 5px;">
                	<el-row :gutter="24" style="margin-top=0px; margin-bottom: 1px;">
                				    <el-col :span="1" style="margin-top=0px; margin-bottom: 1px;">
                				    </el-col>
@@ -1639,7 +1641,7 @@
                				  </el-row>
 
 
-               				  <el-row :gutter="20" style="margin-top=0px; margin-bottom: 1px;">
+               				  <el-row :gutter="24" style="margin-top=0px; margin-bottom: 1px;">
 								  <el-col :span="1" style="margin-top=0px; margin-bottom: 1px;">
 								  </el-col>
 								  <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
@@ -1648,22 +1650,22 @@
 								  </el-form-item>
 								  </el-col>
 								  <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
-								  <el-form-item label="墨色" prop="" style="margin-top=0px; margin-bottom: 1px;">
+								  <el-form-item label="墨色" prop="" label-width="60" style="margin-top=0px; margin-bottom: 1px;">
 								    <el-input v-model="formData3.Gy0_ms" id="墨色" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '联数', '墨色', '装版总时长')"   placeholder="" />
 								  </el-form-item>
 								  </el-col>
                				      <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
-               				      <el-form-item label="装版总时长" prop="id" style="margin-top=0px; margin-bottom: 1px;">
+               				      <el-form-item label="装版总时长"  prop="id" style="margin-top=0px; margin-bottom: 1px;">
                				        <el-input v-model="formData3.装版总时长" id="装版总时长" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '墨色', '装版总时长', '打样总工时')"   placeholder="" />
                				      </el-form-item>
                				      </el-col>
                				  	  <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
-               				  	  <el-form-item label="打样总工时" prop="id" style="margin-top=0px; margin-bottom: 1px;">
+               				  	  <el-form-item label="打样总工时" label-width="100" prop="id" style="margin-top=0px; margin-bottom: 1px;">
                				  		<el-input v-model="formData3.打样总工时" style="margin-top=0px; margin-bottom: 1px;" id="打样总工时"  @keydown="ent($event, '装版总时长', '打样总工时', '通电工时')"  placeholder="" />
                				  	  </el-form-item>
                				  	  </el-col>
                				  	  <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
-               				  	  <el-form-item label="通电工时" prop="id" style="margin-top=0px; margin-bottom: 1px;">
+               				  	  <el-form-item label="通电工时"  prop="id" style="margin-top=0px; margin-bottom: 1px;">
                				  		<el-input v-model="formData3.通电工时" style="margin-top=0px; margin-bottom: 1px;" id="通电工时"  @keydown="ent($event, '打样总工时', '通电工时', '定额代号')"  placeholder="" />
                				  	  </el-form-item>
                				  	  </el-col>
@@ -1673,7 +1675,7 @@
                					<el-row :gutter="20" style="margin-top=0px; margin-bottom: 1vh;">
 									<el-col :span="1" style="margin-top=0px; margin-bottom: 1px;">
 									</el-col>
-               					    <el-col :span="5" style="margin-top=0px; margin-bottom: 1px;">
+               					    <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
                					    <el-form-item label="定额代号" prop="id" style="margin-top=0px; margin-bottom: 1px;">
                					      <el-input v-model="formData3.定额代号" id="定额代号" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '通电工时', '定额代号', '码包')"  placeholder="" />
                					    </el-form-item>
@@ -1869,8 +1871,10 @@
 		  <!-- </el-scrollbar> -->
 		  <template #footer>
 		    <div class="dialog-footer">
-		      <el-button @click="closeDialog">取 消</el-button>
-		      <el-button type="primary" @click="chanliangenterDialog">确 定</el-button>
+          <el-button @click="closeDialog" style="height: 50px;width: 100px;font-size: 2.5vh;font-weight: bold;">关 闭</el-button>
+          <el-button type="primary" style="height: 50px;width: 100px;font-size: 2.5vh;font-weight: bold;" @click="chanliangenterDialog">提 交</el-button>
+<!--		      <el-button @click="closeDialog">取 消</el-button>-->
+<!--		      <el-button type="primary" @click="chanliangenterDialog">确 定</el-button>-->
 		    </div>
 		  </template>
 		</el-dialog>
@@ -5062,9 +5066,9 @@ const blplanUsageCellClass = ({row, column, rowIndex, columnIndex}) =>{
 	 }
 	 .bt {
 	   margin-top: 1vh;
-	   margin-bottom: 10PX;
+	   margin-bottom: 10px;
 	   height: 5vh;
-	   width: 10vh;
+	   width: 9vh;
 	   font-size:1.6vh;
 	   color:black;
 	   font-weight: bold;