|
|
@@ -124,25 +124,26 @@
|
|
|
<el-tabs v-model="activName" type="card" @tab-click="duohandleClick" >
|
|
|
<el-tab-pane label="设备作业清单" @click="showTable('印件资料')" name="first" style="font-size: 14px;">
|
|
|
<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' }"
|
|
|
- @row-click="yjupdateCompanyFunc"
|
|
|
- :cell-class-name="sbzyqdplanUsageCellClass"
|
|
|
- style="width: 100%; height: 330px; font-size: 14px;" border tooltip-effect="dark" :data="sbzyData" row-key="ID" @selection-change="handleSelectionChange">
|
|
|
- <el-table-column align="left" label="选择" prop="yj_yjno" width="80"/>
|
|
|
- <el-table-column align="left" label="工单编号|质量信息" prop="工单编号|质量信息" width="180" />
|
|
|
- <el-table-column align="left" label="印件资料" prop="印件资料" width="240" />
|
|
|
- <el-table-column align="left" label="工序名称" prop="工序名称" width="100" />
|
|
|
- <el-table-column align="left" label="计划产量/已完成" prop="计划产量/已完成" width="180"/>
|
|
|
- <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="240" />
|
|
|
- <el-table-column align="left" label="排产备注" prop="排产备注" width="100" />
|
|
|
- <el-table-column align="left" label="产品名称" prop="产品名称" width="240" />
|
|
|
- </el-table>
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ highlight-current-row="true"
|
|
|
+ :row-style="{ height: '20px' }"
|
|
|
+ :cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
|
|
|
+ :header-cell-style="{ padding: '0px' }"
|
|
|
+ @row-click="yjupdateCompanyFunc"
|
|
|
+ style="width: 100%;height: 330px" border tooltip-effect="dark" :data="sbzyData" row-key="ID" @selection-change="handleSelectionChange">
|
|
|
+<!-- <el-table-column type="selection" width="55" />-->
|
|
|
+ <!-- <el-table-column align="left" label="选择" prop="bh" width="80"/> -->
|
|
|
+ <el-table-column align="left" sortable label="工单编号|质量信息" prop="工单编号|质量信息" width="145" />
|
|
|
+ <el-table-column align="left" sortable label="印件资料" prop="印件资料" width="240" />
|
|
|
+ <el-table-column align="left" sortable label="工序名称" prop="工序名称" width="100" />
|
|
|
+ <el-table-column align="left" sortable label="计划产量/已完成" prop="计划产量/已完成" width="130"/>
|
|
|
+ <el-table-column align="left" sortable label="装版时数" prop="装版时数" width="85"/>
|
|
|
+ <el-table-column align="left" sortable label="工序产能" prop="工序产能" width="85"/>
|
|
|
+ <el-table-column align="left" sortable label="计划工时" prop="计划工时" width="85"/>
|
|
|
+ <el-table-column align="left" sortable label="计划生产时段" prop="计划生产时段" width="210" />
|
|
|
+ <el-table-column align="left" sortable label="排产备注" prop="排产备注" width="100" />
|
|
|
+ <el-table-column align="left" sortable label="产品名称" prop="产品名称" width="240" />
|
|
|
+ </el-table>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
@@ -192,8 +193,8 @@
|
|
|
<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="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"/>
|
|
|
@@ -203,7 +204,7 @@
|
|
|
<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>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
@@ -354,7 +355,7 @@
|
|
|
|
|
|
<div style="margin-top:100px;">
|
|
|
<el-row :gutter="20">
|
|
|
- <el-col :span="15">
|
|
|
+ <el-col :span="10">
|
|
|
<el-form-item label="机台编号" prop="id">
|
|
|
<el-select v-model="selectedOption" placeholder="请选择">
|
|
|
<el-option
|
|
|
@@ -368,7 +369,10 @@
|
|
|
</el-col>
|
|
|
<el-col :span="10">
|
|
|
<el-form-item label="班组编号" prop="id">
|
|
|
- <el-input v-model="BZMC" placeholder="" />
|
|
|
+ <el-select v-model="BZMC" placeholder="" >
|
|
|
+ <el-option label="A 班" value="A 班"></el-option>
|
|
|
+ <el-option label="B 班" value="B 班"></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -2774,7 +2778,8 @@ const getbzyg = async (value,key) => {
|
|
|
const getxunchayg = async (value) => {
|
|
|
const response = await getYg({sczl_bh:xunchaData.value.sczl_bh});
|
|
|
if (response.code === 0) {
|
|
|
- xunchaData.value.sczl_name=response.data.ygxm
|
|
|
+ xunchaData.value.sczl_name=response.data[0].ygxm
|
|
|
+ xunchaData.value.sczl_bh=response.data[0].员工编号
|
|
|
}
|
|
|
}
|
|
|
const getlaliaoyg = async (value) => {
|
|
|
@@ -3147,7 +3152,8 @@ const yinbanNodeClick = (node, check, nodeData) => {
|
|
|
}
|
|
|
};
|
|
|
const onyinban = async() => {
|
|
|
- const res = await facilityPrintGetTab({productCode:formData.value.productCode})
|
|
|
+ console.log(formData)
|
|
|
+ const res = await facilityPrintGetTab({productCode:formData.value.工单编号})
|
|
|
// const res = await facilityPrintGetTab({productCode:'104601001'})
|
|
|
if(res.code===0){
|
|
|
yinbantreeData.value=[{
|
|
|
@@ -3468,6 +3474,7 @@ const zhichengDialog = async () => {
|
|
|
type: 'success',
|
|
|
message: '成功'
|
|
|
})
|
|
|
+ InspectionRecord()
|
|
|
zhichengVisible.value=false
|
|
|
zhibiaoselectData.value=[]
|
|
|
fujiaselectData.value=[]
|
|
|
@@ -3512,7 +3519,7 @@ const FieldInspectionRecord = async () => {
|
|
|
const GetMachineMac = async (addr) => {
|
|
|
console.log(addr);
|
|
|
const response = await getMachineMac({ addr: addr });
|
|
|
- // const response = await getMachineMac({ addr: '00-E0-4D-77-31-9E' });
|
|
|
+ // const response = await getMachineMac({ addr: '68-ED-A4-26-60-84' });
|
|
|
// const response = await getMachineMac({ addr: '68-ED-A4-26-5D-90' });
|
|
|
// const response = await getMachineMac({ addr: '68-ED-A4-26-5E-50' });
|
|
|
// const response = await getMachineMac({ addr: '68-ED-A4-26-60-CC' });
|
|
|
@@ -4684,6 +4691,7 @@ const FacilityInspect = async () => {
|
|
|
}
|
|
|
// 关闭弹窗
|
|
|
const closeDialog = () => {
|
|
|
+ chanliangVisible.value=false
|
|
|
dialogFormVisible.value = false
|
|
|
formData.value = {
|
|
|
address: '',
|
|
|
@@ -4770,11 +4778,11 @@ const bzryplanUsageCellClass = ({row, column, rowIndex, columnIndex}) =>{
|
|
|
text-align:center;
|
|
|
background-color:white}
|
|
|
.bt {
|
|
|
- margin-top: 20PX;
|
|
|
+ margin-top: 1vh;
|
|
|
margin-bottom: 10PX;
|
|
|
height: 5vh;
|
|
|
- width: 12vh;
|
|
|
- font-size:2vh;
|
|
|
+ width: 11vh;
|
|
|
+ font-size:1.5vh;
|
|
|
}
|
|
|
.gva-table-box{
|
|
|
font-size: 15px;
|