提交
This commit is contained in:
@@ -11,7 +11,8 @@ public enum WorkProcedureEnum {
|
|||||||
HNGX(1, "1514444198529601536", "01", "混碾工序", ""),
|
HNGX(1, "1514444198529601536", "01", "混碾工序", ""),
|
||||||
YZGX(2, "1514444247439380480", "02", "压制工序", ""),
|
YZGX(2, "1514444247439380480", "02", "压制工序", ""),
|
||||||
SZGX(3, "1514444321896665088", "03", "烧制工序", ""),
|
SZGX(3, "1514444321896665088", "03", "烧制工序", ""),
|
||||||
FJGX(4, "1514444386174373888", "04", "分拣工序", "");
|
FJGX(4, "1514444386174373888", "04", "分拣工序", ""),
|
||||||
|
BZGX(5, "1544608256054398976", "05", "包装工序", "");
|
||||||
//顺序号
|
//顺序号
|
||||||
private int index;
|
private int index;
|
||||||
//工序标识
|
//工序标识
|
||||||
|
|||||||
@@ -44,6 +44,13 @@ public class AcsToWmsController {
|
|||||||
acsToWmsService.manipulatorApply(whereJson);
|
acsToWmsService.manipulatorApply(whereJson);
|
||||||
return new ResponseEntity<>(HttpStatus.OK);
|
return new ResponseEntity<>(HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
@PostMapping("/group")
|
||||||
|
@Log("ACS扫码器组盘")
|
||||||
|
@ApiOperation("ACS扫码器组盘")
|
||||||
|
public ResponseEntity<Object> group(@RequestBody Map whereJson) {
|
||||||
|
acsToWmsService.group(whereJson);
|
||||||
|
return new ResponseEntity<>(HttpStatus.OK);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/ispackage")
|
@PostMapping("/ispackage")
|
||||||
|
|||||||
@@ -22,6 +22,17 @@ public interface AcsToWmsService {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
void manipulatorApply(Map jsonObject);
|
void manipulatorApply(Map jsonObject);
|
||||||
|
/**
|
||||||
|
* ACS客户端--->WMS服务端
|
||||||
|
* ACS机械手给WMS发送任务
|
||||||
|
*
|
||||||
|
* @param jsonObject 条件
|
||||||
|
* @return Map<String, Object>
|
||||||
|
*/
|
||||||
|
|
||||||
|
void group(Map jsonObject);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ACS给WMS请求是否优先包装
|
* ACS给WMS请求是否优先包装
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import lombok.RequiredArgsConstructor;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.nl.exception.BadRequestException;
|
import org.nl.exception.BadRequestException;
|
||||||
import org.nl.modules.system.util.CodeUtil;
|
import org.nl.modules.system.util.CodeUtil;
|
||||||
|
import org.nl.start.day01.Struct;
|
||||||
import org.nl.utils.SecurityUtils;
|
import org.nl.utils.SecurityUtils;
|
||||||
import org.nl.wms.WorkProcedureEnum;
|
import org.nl.wms.WorkProcedureEnum;
|
||||||
import org.nl.wms.database.service.dto.VehicleDto;
|
import org.nl.wms.database.service.dto.VehicleDto;
|
||||||
@@ -53,13 +54,35 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
case "1":
|
case "1":
|
||||||
jsonObject.put("start_point_code", device_code);
|
jsonObject.put("start_point_code", device_code);
|
||||||
jsonObject.put("create_mode", "01");
|
jsonObject.put("create_mode", "01");
|
||||||
produceInfoByCode = this.getProduceInfoByCode(device_code);
|
String material_id = (String) jsonObject.get("material_id");
|
||||||
|
String pcsn = (String) jsonObject.get("pcsn");
|
||||||
|
if (StrUtil.isEmpty(material_id)) {
|
||||||
|
throw new BadRequestException("物料不能为空!");
|
||||||
|
}
|
||||||
|
if (StrUtil.isEmpty(pcsn)) {
|
||||||
|
throw new BadRequestException("批次不能为空!");
|
||||||
|
}
|
||||||
//批次 物料,客户要从排产单里面去取
|
//批次 物料,客户要从排产单里面去取
|
||||||
jsonObject.put("pcsn", "pcsn");
|
//如果是出窑输送线 要从组盘表里面去找物料
|
||||||
|
if (StrUtil.equals(device_code, "CYSSX101")) {
|
||||||
|
String vehicle_code = (String) jsonObject.get("vehicle_code");
|
||||||
|
if (StrUtil.isEmpty(vehicle_code)) {
|
||||||
|
throw new BadRequestException("载具不能为空!");
|
||||||
|
}
|
||||||
|
JSONObject vehicleObj = WQLObject.getWQLObject("st_buss_vehiclegroup").query("vehicle_code='" + vehicle_code + "'").uniqueResult(0);
|
||||||
|
if (ObjectUtil.isEmpty(vehicleObj)) {
|
||||||
|
throw new BadRequestException("为找到载具号为'" + vehicle_code + "'的组盘信息!");
|
||||||
|
}
|
||||||
|
material_id = vehicleObj.getString("material_id");
|
||||||
|
pcsn = vehicleObj.getString("pcsn");
|
||||||
|
}
|
||||||
|
|
||||||
|
jsonObject.put("pcsn", pcsn);
|
||||||
jsonObject.put("create_mode", "01");
|
jsonObject.put("create_mode", "01");
|
||||||
jsonObject.put("material_id", produceInfoByCode.getString("material_id"));
|
jsonObject.put("material_id", material_id);
|
||||||
jsonObject.put("cust_id", produceInfoByCode.getString("cust_id"));
|
JSONObject materiralObj = WQLObject.getWQLObject("md_me_material").query("material_id = '" + material_id + "'").uniqueResult(0);
|
||||||
jsonObject.put("stewing_time", produceInfoByCode.getString("stewing_time"));
|
String stewing_time = materiralObj.getString("stewing_time");
|
||||||
|
jsonObject.put("stewing_time", stewing_time);
|
||||||
jsonObject.put("producetask_id", produceInfoByCode.getString("producetask_id"));
|
jsonObject.put("producetask_id", produceInfoByCode.getString("producetask_id"));
|
||||||
sendMaterialTask.createTask((JSONObject) JSON.toJSON(jsonObject));
|
sendMaterialTask.createTask((JSONObject) JSON.toJSON(jsonObject));
|
||||||
break;
|
break;
|
||||||
@@ -107,7 +130,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
StrUtil.equals(device_code, "FJJXS02MD2")
|
StrUtil.equals(device_code, "FJJXS02MD2")
|
||||||
) {
|
) {
|
||||||
produceInfoByCode = this.getProduceInfoByCode(device_code);
|
produceInfoByCode = this.getProduceInfoByCode(device_code);
|
||||||
String material_id = produceInfoByCode.getString("material_id");
|
material_id = produceInfoByCode.getString("material_id");
|
||||||
String cust_id = produceInfoByCode.getString("cust_id");
|
String cust_id = produceInfoByCode.getString("cust_id");
|
||||||
String workprocedure_id = WorkProcedureEnum.YZGX.getId();
|
String workprocedure_id = WorkProcedureEnum.YZGX.getId();
|
||||||
JSONObject jsonObject1 = WQL.getWO("ACSTOMES_001").addParam("flag", "1")
|
JSONObject jsonObject1 = WQL.getWO("ACSTOMES_001").addParam("flag", "1")
|
||||||
@@ -223,6 +246,21 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
this.receiveTaskFromAcs(jsonObject);
|
this.receiveTaskFromAcs(jsonObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void group(Map jsonObject) {
|
||||||
|
String task_id = (String) jsonObject.get("task_id");
|
||||||
|
String vehicle_code = (String) jsonObject.get("vehicle_code");
|
||||||
|
if (StrUtil.isEmpty(task_id)) {
|
||||||
|
throw new BadRequestException("任务标识不能为空!");
|
||||||
|
}
|
||||||
|
if (StrUtil.isEmpty(vehicle_code)) {
|
||||||
|
throw new BadRequestException("载具号不能为空!");
|
||||||
|
}
|
||||||
|
//1组盘
|
||||||
|
WQLObject.getWQLObject("")
|
||||||
|
//2 生成任务
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public Map<String, Object> ispackage(Map jsonObject) {
|
public Map<String, Object> ispackage(Map jsonObject) {
|
||||||
|
|||||||
@@ -6,16 +6,19 @@ package org.nl.wms.sch.manage;
|
|||||||
* 24 窑区域 25 空钢托堆叠区 26 自动柴垛线
|
* 24 窑区域 25 空钢托堆叠区 26 自动柴垛线
|
||||||
*/
|
*/
|
||||||
public enum AreaEnum {
|
public enum AreaEnum {
|
||||||
KLHJ("01", "困料货架"),
|
RYHCHJ("01", "入窑缓存库"),
|
||||||
CYHJ("02", "出窑货架()"),
|
CYHCHJ("02", "出窑缓存货架"),
|
||||||
CYZC("03", "出窑暂存区"),
|
DKKTTPQ("03", "单口空铁托盘区"),
|
||||||
BZZC("04", "包装暂存区"),
|
DDKTTPQ("04", "堆叠空铁托盘区"),
|
||||||
HNQY("21", "混碾区域"),
|
MTPQ("05", "木托盘区"),
|
||||||
|
BTHCQ("06", "半托缓存库区"),
|
||||||
|
RYSSXQ("07", "入窑输送线区"),
|
||||||
|
CYZDSSXQ("08", "出窑自动输送线区"),
|
||||||
|
CYRGSSXQ("09", "出窑人工输送线区"),
|
||||||
YZQY("22", "压制区域"),
|
YZQY("22", "压制区域"),
|
||||||
YYJLZ("23", "液压机料盅架"),
|
YQY("24", "窑区域"),
|
||||||
YQU("24", "窑区域"),
|
FJQY("27", "分拣区域"),
|
||||||
KGTDDQ("25", "空钢托堆叠区"),
|
BZQY("28", "包装区");
|
||||||
ZDCDX("26", "自动柴垛线");
|
|
||||||
|
|
||||||
private final String name;
|
private final String name;
|
||||||
private final String code;
|
private final String code;
|
||||||
|
|||||||
@@ -110,25 +110,19 @@ public class CallEmptyVehicleTask extends AbstractAcsTask {
|
|||||||
String start_area = "";
|
String start_area = "";
|
||||||
String vehicle_type = "";
|
String vehicle_type = "";
|
||||||
switch (workProcedureEnum) {
|
switch (workProcedureEnum) {
|
||||||
//混黏工序
|
|
||||||
case HNGX:
|
// 压制工序
|
||||||
vehicle_type = VehicleTypeEnum.LZ.getCode();
|
|
||||||
start_area = AreaEnum.KLHJ.getCode();
|
|
||||||
// 压制工序
|
|
||||||
case YZGX:
|
case YZGX:
|
||||||
vehicle_type = VehicleTypeEnum.LZ.getCode();
|
vehicle_type = VehicleTypeEnum.GTP.getCode();
|
||||||
start_area = AreaEnum.KLHJ.getCode();
|
start_area = AreaEnum.DDKTTPQ.getCode();
|
||||||
//烧制工序
|
|
||||||
case SZGX:
|
|
||||||
vehicle_type = VehicleTypeEnum.LZ.getCode();
|
|
||||||
start_area = AreaEnum.KLHJ.getCode();
|
|
||||||
//分拣工序
|
//分拣工序
|
||||||
case FJGX:
|
case FJGX:
|
||||||
vehicle_type = VehicleTypeEnum.LZ.getCode();
|
vehicle_type = VehicleTypeEnum.MTP.getCode();
|
||||||
start_area = AreaEnum.KLHJ.getCode();
|
start_area = AreaEnum.MTPQ.getCode();
|
||||||
default:
|
default:
|
||||||
vehicle_type = VehicleTypeEnum.LZ.getCode();
|
vehicle_type = VehicleTypeEnum.LZ.getCode();
|
||||||
start_area = AreaEnum.KLHJ.getCode();
|
start_area = AreaEnum.DDKTTPQ.getCode();
|
||||||
}
|
}
|
||||||
//寻找一个合适的仓位
|
//寻找一个合适的仓位
|
||||||
JSONObject outStructObj = StructFindUtil.getEmptyVehicleOutStruct(param);
|
JSONObject outStructObj = StructFindUtil.getEmptyVehicleOutStruct(param);
|
||||||
@@ -192,33 +186,21 @@ public class CallEmptyVehicleTask extends AbstractAcsTask {
|
|||||||
String device_id = workInfo.getString("device_id");
|
String device_id = workInfo.getString("device_id");
|
||||||
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
||||||
switch (workProcedureEnum) {
|
switch (workProcedureEnum) {
|
||||||
//混黏工序
|
|
||||||
case HNGX:
|
|
||||||
vehicle_type = VehicleTypeEnum.LZ.getCode();
|
|
||||||
start_area = AreaEnum.KLHJ.getCode();
|
|
||||||
|
|
||||||
break;
|
|
||||||
// 压制工序
|
// 压制工序
|
||||||
case YZGX:
|
case YZGX:
|
||||||
vehicle_type = VehicleTypeEnum.GTP.getCode();
|
vehicle_type = VehicleTypeEnum.GTP.getCode();
|
||||||
start_area = AreaEnum.CYHJ.getCode();
|
start_area = AreaEnum.DDKTTPQ.getCode();
|
||||||
break;
|
|
||||||
//烧制工序
|
|
||||||
case SZGX:
|
|
||||||
vehicle_type = VehicleTypeEnum.GTP.getCode();
|
|
||||||
start_area = AreaEnum.CYZC.getCode();
|
|
||||||
break;
|
|
||||||
//分拣工序
|
//分拣工序
|
||||||
case FJGX:
|
case FJGX:
|
||||||
//托盘类型取当前工单生产的托盘类型
|
//托盘类型取的物料对应的木托盘类型
|
||||||
JSONObject produceObj = WQLObject.getWQLObject("PDM_MG_produceTask").query("device_id='" + device_id + "' and producetask_status='04'").uniqueResult(0);
|
JSONObject produceObj = WQLObject.getWQLObject("PDM_MG_produceTask").query("device_id='" + device_id + "' and producetask_status='04'").uniqueResult(0);
|
||||||
vehicle_type = produceObj.getString("vehicle_type");
|
vehicle_type = produceObj.getString("vehicle_type");
|
||||||
start_area = AreaEnum.CYZC.getCode();
|
start_area = AreaEnum.MTPQ.getCode();
|
||||||
is_auto_issue = "0";
|
is_auto_issue = "0";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
vehicle_type = VehicleTypeEnum.LZ.getCode();
|
vehicle_type = VehicleTypeEnum.GTP.getCode();
|
||||||
start_area = AreaEnum.KLHJ.getCode();
|
start_area = AreaEnum.DDKTTPQ.getCode();
|
||||||
}
|
}
|
||||||
JSONObject param = new JSONObject();
|
JSONObject param = new JSONObject();
|
||||||
param.put("vehicle_type", vehicle_type);
|
param.put("vehicle_type", vehicle_type);
|
||||||
|
|||||||
@@ -179,9 +179,6 @@ public class CallMaterialTask extends AbstractAcsTask {
|
|||||||
if (StrUtil.isEmpty(material_id)) {
|
if (StrUtil.isEmpty(material_id)) {
|
||||||
throw new BadRequestException("物料标识不能为空!");
|
throw new BadRequestException("物料标识不能为空!");
|
||||||
}
|
}
|
||||||
if (StrUtil.isEmpty(cust_id)) {
|
|
||||||
throw new BadRequestException("客户不能为空!");
|
|
||||||
}
|
|
||||||
if (StrUtil.isEmpty(create_mode)) {
|
if (StrUtil.isEmpty(create_mode)) {
|
||||||
throw new BadRequestException("创建方式不能为空!");
|
throw new BadRequestException("创建方式不能为空!");
|
||||||
}
|
}
|
||||||
@@ -232,26 +229,16 @@ public class CallMaterialTask extends AbstractAcsTask {
|
|||||||
|
|
||||||
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
||||||
switch (workProcedureEnum) {
|
switch (workProcedureEnum) {
|
||||||
//混黏工序
|
|
||||||
case HNGX:
|
|
||||||
startArea_type = AreaEnum.KLHJ.getCode();
|
|
||||||
bill_type = BillTypeEnum.HNCK.getCode();
|
|
||||||
break;
|
|
||||||
// 压制工序
|
|
||||||
case YZGX:
|
|
||||||
startArea_type = AreaEnum.KLHJ.getCode();
|
|
||||||
bill_type = BillTypeEnum.YZCK.getCode();
|
|
||||||
ivt_workprocedure_id = WorkProcedureEnum.HNGX.getId();
|
|
||||||
break;
|
|
||||||
//烧制工序
|
//烧制工序
|
||||||
case SZGX:
|
case SZGX:
|
||||||
startArea_type = AreaEnum.CYHJ.getCode();
|
startArea_type = AreaEnum.RYHCHJ.getCode();
|
||||||
bill_type = BillTypeEnum.SZCK.getCode();
|
bill_type = BillTypeEnum.SZCK.getCode();
|
||||||
ivt_workprocedure_id = WorkProcedureEnum.YZGX.getId();
|
ivt_workprocedure_id = WorkProcedureEnum.YZGX.getId();
|
||||||
break;
|
break;
|
||||||
//分拣工序
|
//分拣工序
|
||||||
case FJGX:
|
case FJGX:
|
||||||
startArea_type = AreaEnum.CYZC.getCode();
|
startArea_type = AreaEnum.CYHCHJ.getCode();
|
||||||
bill_type = BillTypeEnum.FJCK.getCode();
|
bill_type = BillTypeEnum.FJCK.getCode();
|
||||||
ivt_workprocedure_id = WorkProcedureEnum.SZGX.getId();
|
ivt_workprocedure_id = WorkProcedureEnum.SZGX.getId();
|
||||||
break;
|
break;
|
||||||
@@ -260,17 +247,17 @@ public class CallMaterialTask extends AbstractAcsTask {
|
|||||||
// (机械手呼叫空托盘,需要呼叫半满托盘)如果请求有工序,假如是压制工序,则库存工序是压制,起点是出窑货架
|
// (机械手呼叫空托盘,需要呼叫半满托盘)如果请求有工序,假如是压制工序,则库存工序是压制,起点是出窑货架
|
||||||
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
||||||
switch (workProcedureEnum) {
|
switch (workProcedureEnum) {
|
||||||
// 压制工序
|
//烧制工序
|
||||||
case YZGX:
|
case SZGX:
|
||||||
startArea_type = AreaEnum.CYHJ.getCode();
|
startArea_type = AreaEnum.RYHCHJ.getCode();
|
||||||
bill_type = BillTypeEnum.YZCK.getCode();
|
bill_type = BillTypeEnum.SZCK.getCode();
|
||||||
ivt_workprocedure_id = WorkProcedureEnum.YZGX.getId();
|
ivt_workprocedure_id = WorkProcedureEnum.YZGX.getId();
|
||||||
break;
|
break;
|
||||||
//分拣工序
|
//分拣工序
|
||||||
case FJGX:
|
case FJGX:
|
||||||
startArea_type = AreaEnum.BZZC.getCode();
|
startArea_type = AreaEnum.CYHCHJ.getCode();
|
||||||
bill_type = BillTypeEnum.FJCK.getCode();
|
bill_type = BillTypeEnum.FJCK.getCode();
|
||||||
ivt_workprocedure_id = WorkProcedureEnum.FJGX.getId();
|
ivt_workprocedure_id = WorkProcedureEnum.SZGX.getId();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -171,24 +171,14 @@ public class SendEmptyVehicleTask extends AbstractAcsTask {
|
|||||||
String workprocedure_id = workInfo.getString("workprocedure_id");
|
String workprocedure_id = workInfo.getString("workprocedure_id");
|
||||||
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
||||||
switch (workProcedureEnum) {
|
switch (workProcedureEnum) {
|
||||||
//混黏工序
|
|
||||||
case HNGX:
|
|
||||||
next_area = AreaEnum.KLHJ.getCode();
|
|
||||||
break;
|
|
||||||
// 压制工序
|
|
||||||
case YZGX:
|
|
||||||
next_area = AreaEnum.CYHJ.getCode();
|
|
||||||
break;
|
|
||||||
//烧制工序
|
|
||||||
case SZGX:
|
|
||||||
next_area = AreaEnum.CYZC.getCode();
|
|
||||||
break;
|
|
||||||
//分拣工序
|
//分拣工序
|
||||||
case FJGX:
|
case FJGX:
|
||||||
next_area = AreaEnum.KGTDDQ.getCode();
|
next_area = AreaEnum.DDKTTPQ.getCode();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
next_area = AreaEnum.KLHJ.getCode();
|
next_area = AreaEnum.DDKTTPQ.getCode();
|
||||||
}
|
}
|
||||||
JSONObject param = new JSONObject();
|
JSONObject param = new JSONObject();
|
||||||
param.put("area_type", next_area);
|
param.put("area_type", next_area);
|
||||||
|
|||||||
@@ -238,29 +238,24 @@ public class SendMaterialTask extends AbstractAcsTask {
|
|||||||
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
||||||
|
|
||||||
switch (workProcedureEnum) {
|
switch (workProcedureEnum) {
|
||||||
//混黏工序
|
|
||||||
case HNGX:
|
|
||||||
qty_unit_id = BussConstant.HN_IN_QTY_UNIT_ID;
|
|
||||||
endArea_type = AreaEnum.KLHJ.getCode();
|
|
||||||
bill_type = BillTypeEnum.HNRK.getCode();
|
|
||||||
break;
|
|
||||||
// 压制工序
|
// 压制工序
|
||||||
case YZGX:
|
case YZGX:
|
||||||
qty_unit_id = BussConstant.HN_IN_QTY_UNIT_ID;
|
qty_unit_id = BussConstant.HN_IN_QTY_UNIT_ID;
|
||||||
endArea_type = AreaEnum.CYHJ.getCode();
|
endArea_type = AreaEnum.RYHCHJ.getCode();
|
||||||
bill_type = BillTypeEnum.YZRK.getCode();
|
bill_type = BillTypeEnum.YZRK.getCode();
|
||||||
break;
|
break;
|
||||||
//烧制工序
|
//烧制工序
|
||||||
case SZGX:
|
case SZGX:
|
||||||
qty_unit_id = BussConstant.YZ_IN_QTY_UNIT_ID;
|
qty_unit_id = BussConstant.YZ_IN_QTY_UNIT_ID;
|
||||||
bill_type = BillTypeEnum.SZRK.getCode();
|
bill_type = BillTypeEnum.SZRK.getCode();
|
||||||
endArea_type = AreaEnum.CYZC.getCode();
|
endArea_type = AreaEnum.CYHCHJ.getCode();
|
||||||
break;
|
break;
|
||||||
//分拣工序
|
//分拣工序
|
||||||
case FJGX:
|
case FJGX:
|
||||||
qty_unit_id = BussConstant.HN_IN_QTY_UNIT_ID;
|
qty_unit_id = BussConstant.HN_IN_QTY_UNIT_ID;
|
||||||
bill_type = BillTypeEnum.SZRK.getCode();
|
bill_type = BillTypeEnum.SZRK.getCode();
|
||||||
endArea_type = AreaEnum.BZZC.getCode();
|
endArea_type = AreaEnum.MTPQ.getCode();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
qty_unit_id = BussConstant.HN_IN_QTY_UNIT_ID;
|
qty_unit_id = BussConstant.HN_IN_QTY_UNIT_ID;
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
left join st_rule_IOdisStruct ruledis on ruledis.struct_uuid = structattr.struct_id
|
left join st_rule_IOdisStruct ruledis on ruledis.struct_uuid = structattr.struct_id
|
||||||
WHERE
|
WHERE
|
||||||
point.lock_type = '00'
|
point.lock_type = '00'
|
||||||
AND point.vehicle_code = ''
|
AND (point.vehicle_code = '' or point.vehicle_code is null)
|
||||||
AND point.point_status = '00'
|
AND point.point_status = '00'
|
||||||
AND rule.material_id = 输入.material_id
|
AND rule.material_id = 输入.material_id
|
||||||
AND point.area_type = 输入.area_type
|
AND point.area_type = 输入.area_type
|
||||||
|
|||||||
@@ -113,4 +113,7 @@ public class WorkprocedureiosDto implements Serializable {
|
|||||||
|
|
||||||
/** 黏次 */
|
/** 黏次 */
|
||||||
private String mix_seq;
|
private String mix_seq;
|
||||||
|
/** 静置时间 */
|
||||||
|
private String stewing_time;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,6 +117,10 @@ public class WorkprocedureiosServiceImpl implements WorkprocedureiosService {
|
|||||||
qty_unit_id = Long.valueOf(unit_id);
|
qty_unit_id = Long.valueOf(unit_id);
|
||||||
dto.setQty_unit_id(qty_unit_id);
|
dto.setQty_unit_id(qty_unit_id);
|
||||||
}
|
}
|
||||||
|
//根据物料获取 物料的静止时间
|
||||||
|
JSONObject materialObj = WQLObject.getWQLObject("md_me_material").query("material_id='" + dto.getMaterial_id() + "'").uniqueResult(0);
|
||||||
|
String stewing_time = materialObj.getString("stewing_time");
|
||||||
|
dto.setStewing_time(stewing_time);
|
||||||
dto.setCreate_mode("01");
|
dto.setCreate_mode("01");
|
||||||
dto.setCreate_id(currentUserId);
|
dto.setCreate_id(currentUserId);
|
||||||
dto.setCreate_name(nickName);
|
dto.setCreate_name(nickName);
|
||||||
@@ -279,14 +283,24 @@ public class WorkprocedureiosServiceImpl implements WorkprocedureiosService {
|
|||||||
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
||||||
// TODO
|
// TODO
|
||||||
switch (workProcedureEnum) {
|
switch (workProcedureEnum) {
|
||||||
//混黏工序
|
|
||||||
case HNGX:
|
|
||||||
endArea = AreaEnum.KLHJ.getCode();
|
|
||||||
qty_unit_id = BussConstant.HN_IN_QTY_UNIT_ID;
|
|
||||||
break;
|
|
||||||
// 压制工序
|
// 压制工序
|
||||||
case YZGX:
|
case YZGX:
|
||||||
endArea = AreaEnum.CYHJ.getCode();
|
endArea = AreaEnum.RYHCHJ.getCode();
|
||||||
|
qty_unit_id = BussConstant.YZ_IN_QTY_UNIT_ID;
|
||||||
|
break;
|
||||||
|
// 烧制区域
|
||||||
|
case SZGX:
|
||||||
|
endArea = AreaEnum.CYHCHJ.getCode();
|
||||||
|
qty_unit_id = BussConstant.YZ_IN_QTY_UNIT_ID;
|
||||||
|
break;
|
||||||
|
// 分拣工序
|
||||||
|
case FJGX:
|
||||||
|
endArea = AreaEnum.BTHCQ.getCode();
|
||||||
|
qty_unit_id = BussConstant.YZ_IN_QTY_UNIT_ID;
|
||||||
|
break;
|
||||||
|
// 包装工序
|
||||||
|
case BZGX:
|
||||||
|
endArea = AreaEnum.BTHCQ.getCode();
|
||||||
qty_unit_id = BussConstant.YZ_IN_QTY_UNIT_ID;
|
qty_unit_id = BussConstant.YZ_IN_QTY_UNIT_ID;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
@@ -100,17 +100,17 @@ public class WorkprocedureiosServiceOutImpl implements WorkprocedureiosOutServic
|
|||||||
|
|
||||||
Map<String, Object> endMap = this.getEndAareaByworkprocedureId(dto.getWorkprocedure_id().toString());
|
Map<String, Object> endMap = this.getEndAareaByworkprocedureId(dto.getWorkprocedure_id().toString());
|
||||||
String start_area = dto.getEnd_point_code();
|
String start_area = dto.getEnd_point_code();
|
||||||
if (StrUtil.isEmpty(start_area)){
|
if (StrUtil.isEmpty(start_area)) {
|
||||||
String startArea = MapUtil.getStr(endMap, "start_area");
|
String startArea = MapUtil.getStr(endMap, "start_area");
|
||||||
if (StrUtil.isEmpty(startArea)){
|
if (StrUtil.isEmpty(startArea)) {
|
||||||
throw new BadRequestException("起始区域为空,枚举中未查到工序对应区域!");
|
throw new BadRequestException("起始区域为空,枚举中未查到工序对应区域!");
|
||||||
}
|
}
|
||||||
dto.setStart_area(startArea);
|
dto.setStart_area(startArea);
|
||||||
}
|
}
|
||||||
Long qty_unit_id = dto.getQty_unit_id();
|
Long qty_unit_id = dto.getQty_unit_id();
|
||||||
if (ObjectUtil.isNull(qty_unit_id)){
|
if (ObjectUtil.isNull(qty_unit_id)) {
|
||||||
String unit_id = MapUtil.getStr(endMap, "qty_unit_id");
|
String unit_id = MapUtil.getStr(endMap, "qty_unit_id");
|
||||||
if (StrUtil.isEmpty(unit_id)){
|
if (StrUtil.isEmpty(unit_id)) {
|
||||||
throw new BadRequestException("数量单位为空,枚举中未查到工序对应区域!");
|
throw new BadRequestException("数量单位为空,枚举中未查到工序对应区域!");
|
||||||
}
|
}
|
||||||
qty_unit_id = Long.valueOf(unit_id);
|
qty_unit_id = Long.valueOf(unit_id);
|
||||||
@@ -143,17 +143,17 @@ public class WorkprocedureiosServiceOutImpl implements WorkprocedureiosOutServic
|
|||||||
|
|
||||||
Map<String, Object> endMap = this.getEndAareaByworkprocedureId(dto.getWorkprocedure_id().toString());
|
Map<String, Object> endMap = this.getEndAareaByworkprocedureId(dto.getWorkprocedure_id().toString());
|
||||||
String start_area = dto.getEnd_point_code();
|
String start_area = dto.getEnd_point_code();
|
||||||
if (StrUtil.isEmpty(start_area)){
|
if (StrUtil.isEmpty(start_area)) {
|
||||||
String startArea = MapUtil.getStr(endMap, "start_area");
|
String startArea = MapUtil.getStr(endMap, "start_area");
|
||||||
if (StrUtil.isEmpty(startArea)){
|
if (StrUtil.isEmpty(startArea)) {
|
||||||
throw new BadRequestException("起始区域为空,枚举中未查到工序对应区域!");
|
throw new BadRequestException("起始区域为空,枚举中未查到工序对应区域!");
|
||||||
}
|
}
|
||||||
dto.setStart_area(startArea);
|
dto.setStart_area(startArea);
|
||||||
}
|
}
|
||||||
Long qty_unit_id = dto.getQty_unit_id();
|
Long qty_unit_id = dto.getQty_unit_id();
|
||||||
if (ObjectUtil.isNull(qty_unit_id)){
|
if (ObjectUtil.isNull(qty_unit_id)) {
|
||||||
String unit_id = MapUtil.getStr(endMap, "qty_unit_id");
|
String unit_id = MapUtil.getStr(endMap, "qty_unit_id");
|
||||||
if (StrUtil.isEmpty(unit_id)){
|
if (StrUtil.isEmpty(unit_id)) {
|
||||||
throw new BadRequestException("数量单位为空,枚举中未查到工序对应区域!");
|
throw new BadRequestException("数量单位为空,枚举中未查到工序对应区域!");
|
||||||
}
|
}
|
||||||
qty_unit_id = Long.valueOf(unit_id);
|
qty_unit_id = Long.valueOf(unit_id);
|
||||||
@@ -250,16 +250,16 @@ public class WorkprocedureiosServiceOutImpl implements WorkprocedureiosOutServic
|
|||||||
String is_full = jsonObject.getString("is_full");
|
String is_full = jsonObject.getString("is_full");
|
||||||
String ivt_workprocedure_id = jsonObject.getString("ivt_workprocedure_id");
|
String ivt_workprocedure_id = jsonObject.getString("ivt_workprocedure_id");
|
||||||
String create_mode = jsonObject.getString("create_mode");
|
String create_mode = jsonObject.getString("create_mode");
|
||||||
form.put("start_point_code",start_point_code);
|
form.put("start_point_code", start_point_code);
|
||||||
form.put("next_point_code",next_point_code);
|
form.put("next_point_code", next_point_code);
|
||||||
form.put("vehicle_code",vehicle_code);
|
form.put("vehicle_code", vehicle_code);
|
||||||
form.put("material_id",material_id);
|
form.put("material_id", material_id);
|
||||||
form.put("cust_id",cust_id);
|
form.put("cust_id", cust_id);
|
||||||
form.put("create_mode",create_mode);
|
form.put("create_mode", create_mode);
|
||||||
form.put("pcsn",pcsn);
|
form.put("pcsn", pcsn);
|
||||||
form.put("is_full",is_full);
|
form.put("is_full", is_full);
|
||||||
form.put("ivt_workprocedure_id",ivt_workprocedure_id);
|
form.put("ivt_workprocedure_id", ivt_workprocedure_id);
|
||||||
form.put("iostorinv_id",iostorinv_id);
|
form.put("iostorinv_id", iostorinv_id);
|
||||||
CallMaterialTask callMaterialTask = new CallMaterialTask();
|
CallMaterialTask callMaterialTask = new CallMaterialTask();
|
||||||
String task_id = callMaterialTask.createTask(form);
|
String task_id = callMaterialTask.createTask(form);
|
||||||
|
|
||||||
@@ -275,15 +275,15 @@ public class WorkprocedureiosServiceOutImpl implements WorkprocedureiosOutServic
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Map<String,Object> getStartPoint(Map whereJson, Pageable page) {
|
public Map<String, Object> getStartPoint(Map whereJson, Pageable page) {
|
||||||
String material_id = MapUtil.getStr(whereJson, "material_id");
|
String material_id = MapUtil.getStr(whereJson, "material_id");
|
||||||
String is_full = MapUtil.getStr(whereJson, "is_full");
|
String is_full = MapUtil.getStr(whereJson, "is_full");
|
||||||
String ivt_workprocedure_id = MapUtil.getStr(whereJson, "ivt_workprocedure_id");
|
String ivt_workprocedure_id = MapUtil.getStr(whereJson, "ivt_workprocedure_id");
|
||||||
JSONObject map = new JSONObject();
|
JSONObject map = new JSONObject();
|
||||||
map.put("flag", "2");
|
map.put("flag", "2");
|
||||||
map.put("material_id",material_id);
|
map.put("material_id", material_id);
|
||||||
map.put("is_full",is_full);
|
map.put("is_full", is_full);
|
||||||
map.put("ivt_workprocedure_id",ivt_workprocedure_id);
|
map.put("ivt_workprocedure_id", ivt_workprocedure_id);
|
||||||
JSONObject json = WQL.getWO("ST_WorkprocedureiosOut_01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "structivt.pcsn desc");
|
JSONObject json = WQL.getWO("ST_WorkprocedureiosOut_01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "structivt.pcsn desc");
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
@@ -295,24 +295,24 @@ public class WorkprocedureiosServiceOutImpl implements WorkprocedureiosOutServic
|
|||||||
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
WorkProcedureEnum workProcedureEnum = WorkProcedureEnum.get(workprocedure_id);
|
||||||
// TODO
|
// TODO
|
||||||
switch (workProcedureEnum) {
|
switch (workProcedureEnum) {
|
||||||
//混黏工序
|
|
||||||
case HNGX:
|
|
||||||
startArea = AreaEnum.KLHJ.getCode();
|
|
||||||
qty_unit_id = null;
|
|
||||||
break;
|
|
||||||
// 压制工序
|
// 压制工序
|
||||||
case YZGX:
|
case SZGX:
|
||||||
startArea = AreaEnum.YZQY.getCode();
|
startArea = AreaEnum.RYHCHJ.getCode();
|
||||||
qty_unit_id = BussConstant.YZ_OUT_QTY_UNIT_ID;
|
qty_unit_id = BussConstant.YZ_OUT_QTY_UNIT_ID;
|
||||||
break;
|
break;
|
||||||
|
// 分拣工序
|
||||||
|
case FJGX:
|
||||||
|
startArea = AreaEnum.CYHCHJ.getCode();
|
||||||
|
qty_unit_id = BussConstant.YZ_IN_QTY_UNIT_ID;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
startArea = null;
|
startArea = null;
|
||||||
qty_unit_id = null;
|
qty_unit_id = null;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
JSONObject map = new JSONObject();
|
JSONObject map = new JSONObject();
|
||||||
map.put("start_area",startArea);
|
map.put("start_area", startArea);
|
||||||
map.put("qty_unit_id",qty_unit_id);
|
map.put("qty_unit_id", qty_unit_id);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -342,7 +342,7 @@ public class WorkprocedureiosServiceOutImpl implements WorkprocedureiosOutServic
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
JSONObject map = new JSONObject();
|
JSONObject map = new JSONObject();
|
||||||
map.put("ivt_workprocedure_id",ivt_workprocedure_id);
|
map.put("ivt_workprocedure_id", ivt_workprocedure_id);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -187,6 +187,12 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item v-if="false" label="静置时间">
|
||||||
|
<label slot="label">静置时间</label>
|
||||||
|
<el-input v-model="form.stewing_time" style="width: 200px;" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
@@ -357,6 +363,12 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item v-if="false" label="静置时间">
|
||||||
|
<label slot="label">静置时间</label>
|
||||||
|
<el-input v-model="form.stewing_time" style="width: 200px;" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
@@ -405,7 +417,7 @@
|
|||||||
<el-table-column prop="material_name" label="物料" width="200" />
|
<el-table-column prop="material_name" label="物料" width="200" />
|
||||||
<el-table-column prop="vehicle_code" label="载具编码" width="150" />
|
<el-table-column prop="vehicle_code" label="载具编码" width="150" />
|
||||||
<el-table-column prop="pcsn" label="批次" />
|
<el-table-column prop="pcsn" label="批次" />
|
||||||
<el-table-column prop="mix_seq" label="黏次" />
|
<el-table-column prop="stewing_time" label="静置时间" />
|
||||||
<el-table-column prop="qty" label="数量" width="100">
|
<el-table-column prop="qty" label="数量" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ fun(scope.row.qty) }}
|
{{ fun(scope.row.qty) }}
|
||||||
@@ -503,7 +515,7 @@ const defaultForm = {
|
|||||||
pcsn: null,
|
pcsn: null,
|
||||||
ivt_workprocedure_id: null,
|
ivt_workprocedure_id: null,
|
||||||
is_full: '1',
|
is_full: '1',
|
||||||
mix_seq: ''
|
stewing_time: null
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
name: 'Workprocedureios',
|
name: 'Workprocedureios',
|
||||||
@@ -527,7 +539,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form1: { iostorinv_id: null, bill_code: null, io_type: null, bill_type: null, workprocedure_id: null, material_id: null, vehicle_code: null, qty: null, qty_unit_id: null, bill_status: null, start_point_code: null, end_point_code: null, start_area: null, end_area: null, cust_id: null, create_mode: null, task_id: null, remark: null, create_id: null, create_name: null, create_time: null, update_optid: null, update_optname: null, update_time: null, confirm_optid: null, confirm_optname: null, confirm_time: null, is_delete: null, end_point_name: null, material_name: null, pcsn: null, ivt_workprocedure_id: null, is_full: null, mix_seq: '' },
|
form1: { iostorinv_id: null, bill_code: null, io_type: null, bill_type: null, workprocedure_id: null, material_id: null, vehicle_code: null, qty: null, qty_unit_id: null, bill_status: null, start_point_code: null, end_point_code: null, start_area: null, end_area: null, cust_id: null, create_mode: null, task_id: null, remark: null, create_id: null, create_name: null, create_time: null, update_optid: null, update_optname: null, update_time: null, confirm_optid: null, confirm_optname: null, confirm_time: null, is_delete: null, end_point_name: null, material_name: null, pcsn: null, ivt_workprocedure_id: null, is_full: null, stewing_time: null },
|
||||||
endPointDialog: false,
|
endPointDialog: false,
|
||||||
work_flag: true,
|
work_flag: true,
|
||||||
materDialog: false,
|
materDialog: false,
|
||||||
@@ -563,7 +575,7 @@ export default {
|
|||||||
],
|
],
|
||||||
is_full: [
|
is_full: [
|
||||||
{ required: true, message: '是否满托不能为空', trigger: 'blur' }
|
{ required: true, message: '是否满托不能为空', trigger: 'blur' }
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
queryTypeOptions: [
|
queryTypeOptions: [
|
||||||
{ key: 'bill_code', display_name: '单据编号' }
|
{ key: 'bill_code', display_name: '单据编号' }
|
||||||
|
|||||||
@@ -139,20 +139,6 @@
|
|||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="客户名称">
|
|
||||||
<el-select v-model="form.cust_id" filterable clearable class="filter-item" style="width: 200px" placeholder="请选择客户">
|
|
||||||
<el-option
|
|
||||||
v-for="item in custList"
|
|
||||||
:key="item.cust_id"
|
|
||||||
:label="item.cust_name"
|
|
||||||
:value="item.cust_id"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="黏次">
|
|
||||||
<label slot="label">黏 次</label>
|
|
||||||
<el-input v-model="form.mix_seq" style="width: 200px;" />
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="备注">
|
<el-form-item label="备注">
|
||||||
<label slot="label">备 注</label>
|
<label slot="label">备 注</label>
|
||||||
<el-input v-model="form.remark" type="textarea" style="width: 530px;" />
|
<el-input v-model="form.remark" type="textarea" style="width: 530px;" />
|
||||||
@@ -284,20 +270,6 @@
|
|||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="客户名称">
|
|
||||||
<el-select v-model="form1.cust_id" filterable clearable class="filter-item" style="width: 200px" placeholder="请选择客户">
|
|
||||||
<el-option
|
|
||||||
v-for="item in custList"
|
|
||||||
:key="item.cust_id"
|
|
||||||
:label="item.cust_name"
|
|
||||||
:value="item.cust_id"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="黏次">
|
|
||||||
<label slot="label">黏 次</label>
|
|
||||||
<el-input v-model="form1.mix_seq" style="width: 200px;" />
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="备注">
|
<el-form-item label="备注">
|
||||||
<label slot="label">备 注</label>
|
<label slot="label">备 注</label>
|
||||||
<el-input v-model="form1.remark" type="textarea" style="width: 530px;" />
|
<el-input v-model="form1.remark" type="textarea" style="width: 530px;" />
|
||||||
@@ -341,7 +313,6 @@
|
|||||||
<el-table-column prop="material_name" label="物料" width="90" />
|
<el-table-column prop="material_name" label="物料" width="90" />
|
||||||
<el-table-column prop="vehicle_code" label="载具编码" />
|
<el-table-column prop="vehicle_code" label="载具编码" />
|
||||||
<el-table-column prop="pcsn" label="批次" />
|
<el-table-column prop="pcsn" label="批次" />
|
||||||
<el-table-column prop="mix_seq" label="黏次" />
|
|
||||||
<el-table-column prop="qty" label="数量" width="100">
|
<el-table-column prop="qty" label="数量" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ fun(scope.row.qty) }}
|
{{ fun(scope.row.qty) }}
|
||||||
@@ -360,7 +331,6 @@
|
|||||||
{{ dict.label.sch_area_type[scope.row.end_area] }}
|
{{ dict.label.sch_area_type[scope.row.end_area] }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="cust_name" label="客户" />
|
|
||||||
<el-table-column prop="create_mode" label="生成方式">
|
<el-table-column prop="create_mode" label="生成方式">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ dict.label.ST_CREATE_MODE[scope.row.create_mode] }}
|
{{ dict.label.ST_CREATE_MODE[scope.row.create_mode] }}
|
||||||
|
|||||||
Reference in New Issue
Block a user