Browse Source

设备运行跟踪宽度 工单资料新增工艺资料优化

zck 1 year ago
parent
commit
432fbf39c2

+ 4 - 2
src/view/yunyin/shengchanguanli/components/addGongYi.vue

@@ -193,11 +193,12 @@ const add_gyzlent = async (event,id1,id2,id3) => {
     // console.log("response",response)
     form['开数'] = response.data['开数']
     form['联数'] = response.data['联数']
-	form['工序'] = response.data['工序号']
-    if(yjList.value !== undefined){
+	  form['工序'] = response.data['工序号']
+    if(yjList.value.length>1){
       const node = yjList.value.find(item => item.no ===form['yjno'])
       if (! node) {
         yjdisplay.value = true
+        console.log('yjList.value',yjList.value)
       }
       document.getElementById(id3).focus()
     }
@@ -348,6 +349,7 @@ const open = async (gdbh, gxlist,_gdgyrow) => {
 
   //id.value代表全局工单编号
   id.value = gdbh
+  yjList.value = []
   const res = await PrintDetailList({workOrder: id.value})
   if(res.data.length === 1){
 	 form['yjno'] = res.data[0]['no']

+ 3 - 3
src/view/yunyin/shengchanguanli/shebeiyunxing.vue

@@ -948,9 +948,9 @@
 							<el-table-column  align="left" label="千件工价" prop="千件工价"  width="90"/>
 							<el-table-column  align="left" label="日定额" prop="日定额"  width="80"/>
 							<el-table-column  align="left" label="补产标准" prop="补产标准"  width="90"/>
-							<el-table-column  align="left" label="组员1" prop="组员1"  width="100"/>
-							<el-table-column  align="left" label="组员2" prop="组员2"  width="100"/>
-							<el-table-column  align="left" label="组员3" prop="组员3"  width="100"/>
+							<el-table-column  align="left" label="组员1" prop="组员1"  width="170"/>
+							<el-table-column  align="left" label="组员2" prop="组员2"  width="170"/>
+							<el-table-column  align="left" label="组员3" prop="组员3"  width="170"/>
 							<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"/>