opt: 看板加急字段显示
This commit is contained in:
@@ -223,6 +223,7 @@
|
||||
<th>呼叫时间</th>
|
||||
<th>管芯规格</th>
|
||||
<th>套轴标记</th>
|
||||
<th>是否加急</th>
|
||||
<th>一键恢复</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -407,6 +408,13 @@
|
||||
}
|
||||
row.insertCell().textContent = tzText || 'N/A';
|
||||
|
||||
// 是否加急
|
||||
let urgentText = '未加急';
|
||||
if (item.manufacture_sort === 'P2') {
|
||||
urgentText = '已加急';
|
||||
}
|
||||
row.insertCell().textContent = urgentText || 'N/A';
|
||||
|
||||
// 添加恢复按钮
|
||||
const recoverCell = row.insertCell();
|
||||
const recoverBtn = document.createElement('button');
|
||||
@@ -467,7 +475,7 @@
|
||||
} else {
|
||||
const row = tableBody.insertRow();
|
||||
const cell = row.insertCell();
|
||||
cell.colSpan = 7;
|
||||
cell.colSpan = 11;
|
||||
cell.textContent = '暂无数据。';
|
||||
cell.style.textAlign = 'center';
|
||||
}
|
||||
|
||||
@@ -201,7 +201,8 @@
|
||||
MIN(p.start_time) AS start_time,
|
||||
IF(p.paper_tube_or_FRP = '1', p.paper_tube_description, p.FRP_description) AS tube,
|
||||
MIN(p.`status`) AS `status`,
|
||||
MAX(p.qzzno) AS qzzno
|
||||
MAX(p.qzzno) AS qzzno,
|
||||
MAX(p.manufacture_sort) AS manufacture_sort
|
||||
FROM `pdm_bi_slittingproductionplan` p
|
||||
WHERE p.`status` <![CDATA[ < ]]> '09'
|
||||
AND p.is_delete = '0'
|
||||
@@ -228,7 +229,6 @@
|
||||
p.container_name
|
||||
ORDER BY
|
||||
`status`,
|
||||
qzz_size,
|
||||
manufacture_sort desc,
|
||||
start_time
|
||||
</select>
|
||||
|
||||
@@ -47,4 +47,5 @@ public class CallPlanViewVO implements Serializable {
|
||||
private String start_time;
|
||||
private String is_paper_ok;
|
||||
private String qzzno;
|
||||
private String manufacture_sort;
|
||||
}
|
||||
|
||||
@@ -90,11 +90,11 @@ public class EventTest {
|
||||
// List<String> list = Arrays.asList("482210000000001");
|
||||
// System.out.println(papervehicleMapper.getGXs("0", list));
|
||||
// PdmBiSlittingproductionplan byContainerName = slittingproductionplanService.getByContainerName("B1虚拟-B50FQ00001-2");
|
||||
PdmBiSlittingproductionplan byContainerName = slittingproductionplanService.getByContainerName("B1虚拟-B50FQ00003-0");
|
||||
PdmBiSlittingproductionplan byContainerName = slittingproductionplanService.getByContainerName("BB3X2410280907A1");
|
||||
List<PdmBiSlittingproductionplan> plans = new ArrayList<>();
|
||||
plans.add(byContainerName);
|
||||
BstIvtShafttubeivt shafttubeivt = bstIvtShafttubeivtMapper.selectOne(new LambdaQueryWrapper<BstIvtShafttubeivt>().eq(BstIvtShafttubeivt::getPoint_code, "B_CBJ01"));
|
||||
autoCallAirShaftTask.toCallAgvMovePaperTube(plans, "0", shafttubeivt);
|
||||
autoCallAirShaftTask.toCallAgvMovePaperTube(plans, "0", shafttubeivt, slittingproductionplanService.getAllCutPlan(0));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user