rev:修改
This commit is contained in:
@@ -141,7 +141,9 @@
|
|||||||
WHEN '2' THEN '合格'
|
WHEN '2' THEN '合格'
|
||||||
WHEN '3' THEN '不合格'
|
WHEN '3' THEN '不合格'
|
||||||
END
|
END
|
||||||
) AS quality_name
|
) AS quality_name,
|
||||||
|
late.material_type,
|
||||||
|
late.execution_stand
|
||||||
FROM
|
FROM
|
||||||
md_pb_storagevehicleext ext
|
md_pb_storagevehicleext ext
|
||||||
INNER JOIN st_ivt_structattr attr ON ext.storagevehicle_code = attr.storagevehicle_code
|
INNER JOIN st_ivt_structattr attr ON ext.storagevehicle_code = attr.storagevehicle_code
|
||||||
|
|||||||
@@ -60,4 +60,11 @@ public class PdaInGroupBoxController {
|
|||||||
return new ResponseEntity<>(pdaInGroupBoxService.queryDevice(), HttpStatus.OK);
|
return new ResponseEntity<>(pdaInGroupBoxService.queryDevice(), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@PostMapping("/queryExecution")
|
||||||
|
@Log("入库组盘查执行标准下拉框")
|
||||||
|
@SaIgnore
|
||||||
|
public ResponseEntity<Object> queryExecution() {
|
||||||
|
return new ResponseEntity<>(pdaInGroupBoxService.queryExecution(), HttpStatus.OK);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,4 +59,10 @@ public interface PdaInGroupBoxService {
|
|||||||
* @return PdaResponse
|
* @return PdaResponse
|
||||||
*/
|
*/
|
||||||
PdaResponse queryDevice();
|
PdaResponse queryDevice();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 入库组盘查执行标准下拉框
|
||||||
|
* @return PdaResponse
|
||||||
|
*/
|
||||||
|
PdaResponse queryExecution();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import org.nl.wms.basedata_manage.service.IMdMeMaterialbaseService;
|
|||||||
import org.nl.wms.basedata_manage.service.dao.EmBiDeviceinfo;
|
import org.nl.wms.basedata_manage.service.dao.EmBiDeviceinfo;
|
||||||
import org.nl.wms.basedata_manage.service.dao.MdMeMaterialbase;
|
import org.nl.wms.basedata_manage.service.dao.MdMeMaterialbase;
|
||||||
import org.nl.wms.pda.general_management.service.PdaInGroupBoxService;
|
import org.nl.wms.pda.general_management.service.PdaInGroupBoxService;
|
||||||
|
import org.nl.wms.pda.util.PDAEnum;
|
||||||
import org.nl.wms.pda.util.PdaResponse;
|
import org.nl.wms.pda.util.PdaResponse;
|
||||||
import org.nl.wms.pdm_manage.service.IPdmBomCallMaterialService;
|
import org.nl.wms.pdm_manage.service.IPdmBomCallMaterialService;
|
||||||
import org.nl.wms.pdm_manage.service.dao.PdmBomCallMaterial;
|
import org.nl.wms.pdm_manage.service.dao.PdmBomCallMaterial;
|
||||||
@@ -158,4 +159,9 @@ public class PdaInGroupBoxServiceImpl implements PdaInGroupBoxService {
|
|||||||
});
|
});
|
||||||
return PdaResponse.requestParamOk(resultList);
|
return PdaResponse.requestParamOk(resultList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PdaResponse queryExecution() {
|
||||||
|
return PdaResponse.requestParamOk(PDAEnum.EXECUTION_STAND.getDict());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,13 @@ public enum PDAEnum {
|
|||||||
// 运送类型
|
// 运送类型
|
||||||
TASK_TYPE(MapOf.of("小料箱", "1", "大料箱或其他", "2")),
|
TASK_TYPE(MapOf.of("小料箱", "1", "大料箱或其他", "2")),
|
||||||
|
|
||||||
|
// 组盘物料执行标准
|
||||||
|
EXECUTION_STAND(MapOf.of("AWS A5.18", "AWS A5.18", "AWS A5.9M", "AWS A5.9M",
|
||||||
|
"GB/T 15620","GB/T 15620", "GB/T 17853","GB/T 17853",
|
||||||
|
"GB/T 8110","GB/T 8110", "GNB/T 47018","NB/T 47018"
|
||||||
|
|
||||||
|
)),
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
private Map<String, String> code;
|
private Map<String, String> code;
|
||||||
|
|||||||
@@ -149,6 +149,11 @@ public class GroupPlate implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String is_return;
|
private String is_return;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料类型: 0 - 压容 1 - 非压容
|
||||||
|
*/
|
||||||
|
private String material_type;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 工单集合
|
* 工单集合
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ export default {
|
|||||||
'lang': 'zh',
|
'lang': 'zh',
|
||||||
// 平台
|
// 平台
|
||||||
'platform': {
|
'platform': {
|
||||||
'title': '徐工汉云WMS系统',
|
'title': '哈电镇江焊材库wms系统',
|
||||||
'tip1': '用户名不能为空',
|
'tip1': '用户名不能为空',
|
||||||
'tip2': '密码不能为空',
|
'tip2': '密码不能为空',
|
||||||
'tip3': '验证码不能为空'
|
'tip3': '验证码不能为空'
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: '徐工汉云WMS系统',
|
title: '哈电镇江焊材库wms系统',
|
||||||
logo: '',
|
logo: '',
|
||||||
title_param: 'platform'
|
title_param: 'platform'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -340,6 +340,7 @@
|
|||||||
<el-table-column prop="box_type" label="料箱类型" :formatter="formattBoxType" :min-width="flexWidth('box_type',crud.data,'料箱类型')" />
|
<el-table-column prop="box_type" label="料箱类型" :formatter="formattBoxType" :min-width="flexWidth('box_type',crud.data,'料箱类型')" />
|
||||||
<el-table-column prop="device_code" label="机台编码" :min-width="flexWidth('device_code',crud.data,'机台编码')" />
|
<el-table-column prop="device_code" label="机台编码" :min-width="flexWidth('device_code',crud.data,'机台编码')" />
|
||||||
<el-table-column prop="execution_stand" label="执行标准" :min-width="flexWidth('execution_stand',crud.data,'执行标准')" />
|
<el-table-column prop="execution_stand" label="执行标准" :min-width="flexWidth('execution_stand',crud.data,'执行标准')" />
|
||||||
|
<el-table-column prop="material_type" label="是否压容" :min-width="flexWidth('material_type',crud.data,'是否压容')" :formatter="formattMaterial" />
|
||||||
<el-table-column prop="remark" label="备注" :min-width="flexWidth('remark',crud.data,'备注')" />
|
<el-table-column prop="remark" label="备注" :min-width="flexWidth('remark',crud.data,'备注')" />
|
||||||
<el-table-column prop="create_name" label="组盘人" :min-width="flexWidth('create_name',crud.data,'组盘人')" />
|
<el-table-column prop="create_name" label="组盘人" :min-width="flexWidth('create_name',crud.data,'组盘人')" />
|
||||||
<el-table-column prop="create_time" label="组盘时间" :min-width="flexWidth('create_time',crud.data,'组盘时间')" />
|
<el-table-column prop="create_time" label="组盘时间" :min-width="flexWidth('create_time',crud.data,'组盘时间')" />
|
||||||
@@ -511,6 +512,13 @@ export default {
|
|||||||
formattStatus(row) {
|
formattStatus(row) {
|
||||||
return this.dict.label.GROUP_STATUS[row.status]
|
return this.dict.label.GROUP_STATUS[row.status]
|
||||||
},
|
},
|
||||||
|
formattMaterial(row) {
|
||||||
|
if (row.material_type === '0') {
|
||||||
|
return '压容'
|
||||||
|
} else if (row.material_type === '1') {
|
||||||
|
return '非压容'
|
||||||
|
}
|
||||||
|
},
|
||||||
formattBoxType(row) {
|
formattBoxType(row) {
|
||||||
return this.dict.label.storagevehicle_type[row.box_type]
|
return this.dict.label.storagevehicle_type[row.box_type]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -110,6 +110,8 @@
|
|||||||
<el-table-column prop="bake_num" label="烘干次数" :min-width="flexWidth('bake_num',crud.data,'烘干次数')" />
|
<el-table-column prop="bake_num" label="烘干次数" :min-width="flexWidth('bake_num',crud.data,'烘干次数')" />
|
||||||
<el-table-column prop="insert_time" label="入库时间" :min-width="flexWidth('insert_time',crud.data,'入库时间')" />
|
<el-table-column prop="insert_time" label="入库时间" :min-width="flexWidth('insert_time',crud.data,'入库时间')" />
|
||||||
<el-table-column prop="is_return" label="是否退料" :min-width="flexWidth('is_return',crud.data,'是否退料')" :formatter="isReturn" />
|
<el-table-column prop="is_return" label="是否退料" :min-width="flexWidth('is_return',crud.data,'是否退料')" :formatter="isReturn" />
|
||||||
|
<el-table-column prop="execution_stand" label="执行标准" :min-width="flexWidth('execution_stand',crud.data,'执行标准')" />
|
||||||
|
<el-table-column prop="material_type" label="是否压容" :min-width="flexWidth('material_type',crud.data,'是否压容')" :formatter="formattMaterial" />
|
||||||
<el-table-column prop="remark" label="备注" :min-width="flexWidth('remark',crud.data,'备注')" />
|
<el-table-column prop="remark" label="备注" :min-width="flexWidth('remark',crud.data,'备注')" />
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--分页组件-->
|
<!--分页组件-->
|
||||||
@@ -200,6 +202,13 @@ export default {
|
|||||||
isReturn(row, column) {
|
isReturn(row, column) {
|
||||||
return this.dict.label.IS_OR_NOT[row.is_return]
|
return this.dict.label.IS_OR_NOT[row.is_return]
|
||||||
},
|
},
|
||||||
|
formattMaterial(row) {
|
||||||
|
if (row.material_type === '0') {
|
||||||
|
return '压容'
|
||||||
|
} else if (row.material_type === '1') {
|
||||||
|
return '非压容'
|
||||||
|
}
|
||||||
|
},
|
||||||
downdtl() {
|
downdtl() {
|
||||||
if (this.currentRow !== null) {
|
if (this.currentRow !== null) {
|
||||||
this.showDtlLoading = true
|
this.showDtlLoading = true
|
||||||
|
|||||||
Reference in New Issue
Block a user