fix: 暂存
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
package org.nl.b_lms.pda.controller;
|
||||||
|
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: lyd
|
||||||
|
* @Description: 生箔手持控制类
|
||||||
|
* @Date: 2024/8/5
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/api/pda/raw/v2")
|
||||||
|
@Slf4j
|
||||||
|
public class RawPdaController {
|
||||||
|
}
|
||||||
@@ -26,15 +26,13 @@ public class InterfaceLogController {
|
|||||||
private final InterfaceLogService interfaceLogService;
|
private final InterfaceLogService interfaceLogService;
|
||||||
|
|
||||||
@GetMapping
|
@GetMapping
|
||||||
@Log("查询接口日志")
|
// @Log("查询接口日志")
|
||||||
|
|
||||||
//@SaCheckPermission("point:list")
|
//@SaCheckPermission("point:list")
|
||||||
public ResponseEntity<Object> query(@RequestParam Map whereJson, Pageable page) {
|
public ResponseEntity<Object> query(@RequestParam Map whereJson, Pageable page) {
|
||||||
return new ResponseEntity<>(interfaceLogService.queryAll(whereJson, page), HttpStatus.OK);
|
return new ResponseEntity<>(interfaceLogService.queryAll(whereJson, page), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping(value = "/error/{id}")
|
@GetMapping(value = "/error/{id}")
|
||||||
|
|
||||||
// @SaCheckPermission("@el.check()")
|
// @SaCheckPermission("@el.check()")
|
||||||
public ResponseEntity<Object> queryErrorLogs(@PathVariable String id) {
|
public ResponseEntity<Object> queryErrorLogs(@PathVariable String id) {
|
||||||
return new ResponseEntity<>(interfaceLogService.findByErrDetail(id), HttpStatus.OK);
|
return new ResponseEntity<>(interfaceLogService.findByErrDetail(id), HttpStatus.OK);
|
||||||
@@ -42,7 +40,6 @@ public class InterfaceLogController {
|
|||||||
|
|
||||||
@DeleteMapping(value = "/delLogs")
|
@DeleteMapping(value = "/delLogs")
|
||||||
@Log("删除所有接口日志")
|
@Log("删除所有接口日志")
|
||||||
|
|
||||||
public ResponseEntity<Object> delLogs() {
|
public ResponseEntity<Object> delLogs() {
|
||||||
interfaceLogService.delLogs();
|
interfaceLogService.delLogs();
|
||||||
return new ResponseEntity<>(HttpStatus.OK);
|
return new ResponseEntity<>(HttpStatus.OK);
|
||||||
@@ -50,7 +47,6 @@ public class InterfaceLogController {
|
|||||||
|
|
||||||
@GetMapping("/logTypeList")
|
@GetMapping("/logTypeList")
|
||||||
@Log("查询接口日志类型下拉框")
|
@Log("查询接口日志类型下拉框")
|
||||||
|
|
||||||
public ResponseEntity<Object> logTypeList() {
|
public ResponseEntity<Object> logTypeList() {
|
||||||
return new ResponseEntity<>(interfaceLogService.logTypeList(), HttpStatus.OK);
|
return new ResponseEntity<>(interfaceLogService.logTypeList(), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
**/
|
**/
|
||||||
@RestController
|
@RestController
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
|
|
||||||
@RequestMapping("/api/wms/task")
|
@RequestMapping("/api/wms/task")
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class AcsToWmsController {
|
public class AcsToWmsController {
|
||||||
@@ -35,14 +34,8 @@ public class AcsToWmsController {
|
|||||||
return new ResponseEntity<>(acsToWmsService.receiveTaskStatusAcs(string), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.receiveTaskStatusAcs(string), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/orderFinish")
|
@PostMapping("/orderFinish")
|
||||||
@Log(value = "ACS给WMS下发工单完成状态", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
@Log(value = "ACS给WMS下发工单完成状态", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> orderFinish(@RequestBody String string) {
|
public ResponseEntity<Object> orderFinish(@RequestBody String string) {
|
||||||
return new ResponseEntity<>(acsToWmsService.orderFinish(string), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.orderFinish(string), HttpStatus.OK);
|
||||||
@@ -50,7 +43,6 @@ public class AcsToWmsController {
|
|||||||
|
|
||||||
@PostMapping("/apply")
|
@PostMapping("/apply")
|
||||||
@Log(value = "申请任务", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
@Log(value = "申请任务", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> apply(@RequestBody JSONObject whereJson) {
|
public ResponseEntity<Object> apply(@RequestBody JSONObject whereJson) {
|
||||||
return new ResponseEntity<>(acsToWmsService.apply(whereJson), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.apply(whereJson), HttpStatus.OK);
|
||||||
@@ -58,8 +50,6 @@ public class AcsToWmsController {
|
|||||||
|
|
||||||
@PostMapping("/againApply")
|
@PostMapping("/againApply")
|
||||||
@Log(value = "二次申请任务", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
@Log(value = "二次申请任务", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
||||||
|
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> againApply(@RequestBody String task_id) {
|
public ResponseEntity<Object> againApply(@RequestBody String task_id) {
|
||||||
return new ResponseEntity<>(acsToWmsService.againApply(task_id), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.againApply(task_id), HttpStatus.OK);
|
||||||
@@ -74,7 +64,6 @@ public class AcsToWmsController {
|
|||||||
|
|
||||||
@PostMapping("/process")
|
@PostMapping("/process")
|
||||||
@Log(value = "RCS上报密集库任务异常处理", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
@Log(value = "RCS上报密集库任务异常处理", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> process(@RequestBody JSONObject jo) {
|
public ResponseEntity<Object> process(@RequestBody JSONObject jo) {
|
||||||
return new ResponseEntity<>(acsToWmsService.process(jo), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.process(jo), HttpStatus.OK);
|
||||||
@@ -82,28 +71,24 @@ public class AcsToWmsController {
|
|||||||
|
|
||||||
@PostMapping("/shipDeviceUpdate")
|
@PostMapping("/shipDeviceUpdate")
|
||||||
// @Log(value = "输送线光电无货上报", isInterfaceLog = true,interfaceLogType= InterfaceLogType.ACS_TO_LMS)
|
// @Log(value = "输送线光电无货上报", isInterfaceLog = true,interfaceLogType= InterfaceLogType.ACS_TO_LMS)
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> shipDeviceUpdate(@RequestBody JSONObject jo) {
|
public ResponseEntity<Object> shipDeviceUpdate(@RequestBody JSONObject jo) {
|
||||||
return new ResponseEntity<>(acsToWmsService.shipDeviceUpdate(jo), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.shipDeviceUpdate(jo), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/sendDeviceStatus")
|
@PostMapping("/sendDeviceStatus")
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> sendDeviceStatus(@RequestBody JSONObject jo) {
|
public ResponseEntity<Object> sendDeviceStatus(@RequestBody JSONObject jo) {
|
||||||
return new ResponseEntity<>(acsToWmsService.sendDeviceStatus(jo), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.sendDeviceStatus(jo), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/sendCBZInfo")
|
@PostMapping("/sendCBZInfo")
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> sendCBZInfo(@RequestBody JSONObject jo) {
|
public ResponseEntity<Object> sendCBZInfo(@RequestBody JSONObject jo) {
|
||||||
return new ResponseEntity<>(acsToWmsService.sendCBZInfo(jo), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.sendCBZInfo(jo), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/sendGetGoalStruct")
|
@PostMapping("/sendGetGoalStruct")
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> sendGetGoalStruct(@RequestBody JSONObject jo) {
|
public ResponseEntity<Object> sendGetGoalStruct(@RequestBody JSONObject jo) {
|
||||||
return new ResponseEntity<>(acsToWmsService.sendGetGoalStruct(jo), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.sendGetGoalStruct(jo), HttpStatus.OK);
|
||||||
@@ -122,7 +107,6 @@ public class AcsToWmsController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*@PostMapping("/getQZZInfo")
|
/*@PostMapping("/getQZZInfo")
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> getQZZInfo(@RequestBody JSONObject jo) {
|
public ResponseEntity<Object> getQZZInfo(@RequestBody JSONObject jo) {
|
||||||
return new ResponseEntity<>(acsToWmsService.getQZZInfo(jo), HttpStatus.OK);
|
return new ResponseEntity<>(acsToWmsService.getQZZInfo(jo), HttpStatus.OK);
|
||||||
@@ -130,7 +114,6 @@ public class AcsToWmsController {
|
|||||||
|
|
||||||
@PostMapping("/initialize")
|
@PostMapping("/initialize")
|
||||||
@Log(value = "仓位初始化", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
@Log(value = "仓位初始化", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> initialize(@RequestBody JSONObject json) {
|
public ResponseEntity<Object> initialize(@RequestBody JSONObject json) {
|
||||||
acsToWmsService.initialize(json);
|
acsToWmsService.initialize(json);
|
||||||
@@ -139,15 +122,12 @@ public class AcsToWmsController {
|
|||||||
|
|
||||||
@PostMapping("/initPoint")
|
@PostMapping("/initPoint")
|
||||||
@Log(value = "点位初始化", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
@Log(value = "点位初始化", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
||||||
|
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> initPoint() {
|
public ResponseEntity<Object> initPoint() {
|
||||||
acsToWmsService.initPoint();
|
acsToWmsService.initPoint();
|
||||||
return new ResponseEntity<>(HttpStatus.OK);
|
return new ResponseEntity<>(HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/sendProductToFirstFloor")
|
@PostMapping("/sendProductToFirstFloor")
|
||||||
@Log(value = "成品子卷到达一楼输送线", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
@Log(value = "成品子卷到达一楼输送线", isInterfaceLog = true, interfaceLogType = InterfaceLogType.ACS_TO_LMS)
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ import java.time.LocalDate;
|
|||||||
import java.time.format.DateTimeFormatter;
|
import java.time.format.DateTimeFormatter;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
import java.util.function.Consumer;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@@ -2338,7 +2339,9 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
String weight = param.getString("weight1");
|
String weight = param.getString("weight1");
|
||||||
LambdaUpdateWrapper<PdmBiSlittingproductionplan> updateWrapper = new UpdateWrapper<PdmBiSlittingproductionplan>().lambda();
|
LambdaUpdateWrapper<PdmBiSlittingproductionplan> updateWrapper = new UpdateWrapper<PdmBiSlittingproductionplan>().lambda();
|
||||||
updateWrapper.set(PdmBiSlittingproductionplan::getWeight, weight)
|
updateWrapper.set(PdmBiSlittingproductionplan::getWeight, weight)
|
||||||
.eq(PdmBiSlittingproductionplan::getContainer_name, subVolume);
|
.eq(PdmBiSlittingproductionplan::getContainer_name, subVolume)
|
||||||
|
.and(law -> law.isNull(PdmBiSlittingproductionplan::getWeight)
|
||||||
|
.or().eq(PdmBiSlittingproductionplan::getWeight, ""));
|
||||||
boolean update = slittingproductionplanService.update(updateWrapper);
|
boolean update = slittingproductionplanService.update(updateWrapper);
|
||||||
if (update) {
|
if (update) {
|
||||||
res.put("code", cn.hutool.http.HttpStatus.HTTP_OK);
|
res.put("code", cn.hutool.http.HttpStatus.HTTP_OK);
|
||||||
|
|||||||
@@ -71,9 +71,9 @@ public class RawFoilController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 龙电项目接口
|
||||||
@PostMapping("/needEmptyVehicle")
|
@PostMapping("/needEmptyVehicle")
|
||||||
@Log("呼叫空轴")
|
@Log("呼叫空辊")
|
||||||
|
|
||||||
public ResponseEntity<Object> needEmptyVehicle(@RequestBody JSONObject whereJson) {
|
public ResponseEntity<Object> needEmptyVehicle(@RequestBody JSONObject whereJson) {
|
||||||
return new ResponseEntity<>(rawFoilService.needEmptyVehicle(whereJson), HttpStatus.OK);
|
return new ResponseEntity<>(rawFoilService.needEmptyVehicle(whereJson), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import com.alibaba.fastjson.JSONArray;
|
|||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.nl.b_lms.sch.point.service.IschBasePointService;
|
||||||
import org.nl.modules.common.exception.BadRequestException;
|
import org.nl.modules.common.exception.BadRequestException;
|
||||||
import org.nl.modules.wql.WQL;
|
import org.nl.modules.wql.WQL;
|
||||||
import org.nl.modules.wql.core.bean.WQLObject;
|
import org.nl.modules.wql.core.bean.WQLObject;
|
||||||
@@ -31,7 +32,7 @@ import java.util.Date;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
public class RawFoilServiceImpl implements RawFoilService {
|
public class RawFoilServiceImpl implements RawFoilService {
|
||||||
private final AcsToWmsService acsToWmsService;
|
private final AcsToWmsService acsToWmsService;
|
||||||
private final PointService pointService;
|
private final IschBasePointService pointService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public JSONObject queryProductArea() {
|
public JSONObject queryProductArea() {
|
||||||
@@ -406,53 +407,14 @@ public class RawFoilServiceImpl implements RawFoilService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public JSONObject needEmptyVehicle(JSONObject whereJson) {
|
public JSONObject needEmptyVehicle(JSONObject param) {
|
||||||
throw new BadRequestException("请点击呼叫按钮进行搬运!");
|
log.info("手持呼叫收卷辊: {}", param);
|
||||||
|
// param: point_code, vehicle_type
|
||||||
/*String point_code = whereJson.getString("point_code");
|
String vehicleType = param.getString("vehicle_type");
|
||||||
if (ObjectUtil.isEmpty(point_code)) {
|
if (ObjectUtil.isEmpty(vehicleType)) {
|
||||||
throw new BadRequestException("输入的点位不能为空!");
|
throw new BadRequestException("收卷辊的类型不能为空!");
|
||||||
}
|
}
|
||||||
JSONObject raw_jo = WQLObject.getWQLObject("st_ivt_sbpointivt").query("point_code = '" + point_code + "'").uniqueResult(0);
|
return null;
|
||||||
if (ObjectUtil.isEmpty(raw_jo)) {
|
|
||||||
throw new BadRequestException("未查到相关的生箔机点位!");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (StrUtil.equals("0", raw_jo.getString("is_used"))) {
|
|
||||||
throw new BadRequestException("当前生箔机:" + raw_jo.getString("ext_code") + "未启用!");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 2.根据就近原则查对应空卷抽
|
|
||||||
JSONObject map = new JSONObject();
|
|
||||||
map.put("flag", "1");
|
|
||||||
map.put("product_area", raw_jo.getString("product_area"));
|
|
||||||
map.put("point_location", raw_jo.getString("point_location"));
|
|
||||||
JSONObject jsonIvt = WQL.getWO("PDA_RAWFOIL_01").addParamMap(map).process().uniqueResult(0);
|
|
||||||
// 3.如果没找到则继续找下一节点
|
|
||||||
String start_pint_code = "";
|
|
||||||
if (ObjectUtil.isEmpty(jsonIvt)) {
|
|
||||||
*//*String point_location = jsonSb.getString("point_location");
|
|
||||||
if (StrUtil.equals(point_location, "0")) map.put("point_location", "1");
|
|
||||||
if (StrUtil.equals(point_location, "1")) map.put("point_location", "0");
|
|
||||||
JSONObject jsonIvt_tow = WQL.getWO("PDA_RAWFOIL_01").addParamMap(map).process().uniqueResult(0);*//*
|
|
||||||
throw new BadRequestException("未查询到有空轴且母卷位置为空的点位!");
|
|
||||||
} else {
|
|
||||||
start_pint_code = jsonIvt.getString("empty_point_code");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 起点和终点确定 生成任务
|
|
||||||
JSONObject param = new JSONObject();
|
|
||||||
param.put("point_code1", start_pint_code);
|
|
||||||
param.put("point_code2", point_code + "_K");
|
|
||||||
param.put("task_type", "010103");
|
|
||||||
param.put("product_area", jsonIvt.getString("product_area"));
|
|
||||||
|
|
||||||
CallEmpReelTask callEmpReelTask = new CallEmpReelTask();
|
|
||||||
callEmpReelTask.createTask(param);
|
|
||||||
|
|
||||||
JSONObject jo = new JSONObject();
|
|
||||||
jo.put("message", "操作成功!");
|
|
||||||
return jo;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ public class RawfoilworkorderController {
|
|||||||
|
|
||||||
@GetMapping
|
@GetMapping
|
||||||
@Log("查询生箔工序工单")
|
@Log("查询生箔工序工单")
|
||||||
|
|
||||||
//@SaCheckPermission("@el.check('rawfoilworkorder:list')")
|
//@SaCheckPermission("@el.check('rawfoilworkorder:list')")
|
||||||
public ResponseEntity<Object> query(@RequestParam Map whereJson, Pageable page) {
|
public ResponseEntity<Object> query(@RequestParam Map whereJson, Pageable page) {
|
||||||
return new ResponseEntity<>(rawfoilworkorderService.queryAll(whereJson, page), HttpStatus.OK);
|
return new ResponseEntity<>(rawfoilworkorderService.queryAll(whereJson, page), HttpStatus.OK);
|
||||||
@@ -38,7 +37,6 @@ public class RawfoilworkorderController {
|
|||||||
|
|
||||||
@PostMapping
|
@PostMapping
|
||||||
@Log("新增生箔工序工单")
|
@Log("新增生箔工序工单")
|
||||||
|
|
||||||
//@SaCheckPermission("@el.check('rawfoilworkorder:add')")
|
//@SaCheckPermission("@el.check('rawfoilworkorder:add')")
|
||||||
public ResponseEntity<Object> create(@Validated @RequestBody RawfoilworkorderDto dto) {
|
public ResponseEntity<Object> create(@Validated @RequestBody RawfoilworkorderDto dto) {
|
||||||
rawfoilworkorderService.create(dto);
|
rawfoilworkorderService.create(dto);
|
||||||
@@ -47,7 +45,6 @@ public class RawfoilworkorderController {
|
|||||||
|
|
||||||
@PutMapping
|
@PutMapping
|
||||||
@Log("修改生箔工序工单")
|
@Log("修改生箔工序工单")
|
||||||
|
|
||||||
//@SaCheckPermission("@el.check('rawfoilworkorder:edit')")
|
//@SaCheckPermission("@el.check('rawfoilworkorder:edit')")
|
||||||
public ResponseEntity<Object> update(@Validated @RequestBody RawfoilworkorderDto dto) {
|
public ResponseEntity<Object> update(@Validated @RequestBody RawfoilworkorderDto dto) {
|
||||||
rawfoilworkorderService.update(dto);
|
rawfoilworkorderService.update(dto);
|
||||||
@@ -55,7 +52,6 @@ public class RawfoilworkorderController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Log("删除生箔工序工单")
|
@Log("删除生箔工序工单")
|
||||||
|
|
||||||
//@SaCheckPermission("@el.check('rawfoilworkorder:del')")
|
//@SaCheckPermission("@el.check('rawfoilworkorder:del')")
|
||||||
@DeleteMapping
|
@DeleteMapping
|
||||||
public ResponseEntity<Object> delete(@RequestBody Long[] ids) {
|
public ResponseEntity<Object> delete(@RequestBody Long[] ids) {
|
||||||
@@ -64,7 +60,6 @@ public class RawfoilworkorderController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Log("强制确认")
|
@Log("强制确认")
|
||||||
|
|
||||||
@PostMapping("/compelEnd")
|
@PostMapping("/compelEnd")
|
||||||
public ResponseEntity<Object> compelEnd(@RequestBody JSONObject whereJson) {
|
public ResponseEntity<Object> compelEnd(@RequestBody JSONObject whereJson) {
|
||||||
rawfoilworkorderService.compelEnd(whereJson);
|
rawfoilworkorderService.compelEnd(whereJson);
|
||||||
@@ -72,7 +67,6 @@ public class RawfoilworkorderController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Log("称重")
|
@Log("称重")
|
||||||
|
|
||||||
@PostMapping("/confirm")
|
@PostMapping("/confirm")
|
||||||
public ResponseEntity<Object> confirm(@RequestBody JSONObject whereJson) {
|
public ResponseEntity<Object> confirm(@RequestBody JSONObject whereJson) {
|
||||||
rawfoilworkorderService.confirm(whereJson);
|
rawfoilworkorderService.confirm(whereJson);
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import com.alibaba.fastjson.JSONArray;
|
|||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.nl.common.utils.CodeUtil;
|
||||||
import org.nl.common.utils.SecurityUtils;
|
import org.nl.common.utils.SecurityUtils;
|
||||||
import org.nl.modules.common.exception.BadRequestException;
|
import org.nl.modules.common.exception.BadRequestException;
|
||||||
import org.nl.modules.wql.WQL;
|
import org.nl.modules.wql.WQL;
|
||||||
@@ -104,11 +105,15 @@ public class RawfoilworkorderServiceImpl implements RawfoilworkorderService {
|
|||||||
WQLObject schBasePointService = WQLObject.getWQLObject("ST_IVT_SbPointIvt");
|
WQLObject schBasePointService = WQLObject.getWQLObject("ST_IVT_SbPointIvt");
|
||||||
WQLObject wo = WQLObject.getWQLObject("pdm_bi_rawfoilworkorder");
|
WQLObject wo = WQLObject.getWQLObject("pdm_bi_rawfoilworkorder");
|
||||||
WQLObject materTab = WQLObject.getWQLObject("md_me_materialbase");
|
WQLObject materTab = WQLObject.getWQLObject("md_me_materialbase");
|
||||||
|
|
||||||
String container_name = dto.getContainer_name();
|
String container_name = dto.getContainer_name();
|
||||||
JSONObject json = wo.query("container_name = '" + container_name + "' and status <> '09'").uniqueResult(0);
|
if (ObjectUtil.isEmpty(container_name)) {
|
||||||
if (ObjectUtil.isNotEmpty(json)) {
|
// 生成一个母卷号
|
||||||
throw new BadRequestException("母卷号已存在");
|
dto.setContainer_name(CodeUtil.getNewCode("PARENT_CONTAINER_CODE"));
|
||||||
|
} else {
|
||||||
|
JSONObject json = wo.query("container_name = '" + container_name + "' and status <> '09'").uniqueResult(0);
|
||||||
|
if (ObjectUtil.isNotEmpty(json)) {
|
||||||
|
dto.setContainer_name(CodeUtil.getNewCode("PARENT_CONTAINER_CODE"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String currentUserId = SecurityUtils.getCurrentUserId();
|
String currentUserId = SecurityUtils.getCurrentUserId();
|
||||||
@@ -120,10 +125,10 @@ public class RawfoilworkorderServiceImpl implements RawfoilworkorderService {
|
|||||||
throw new BadRequestException("点位设备不存在");
|
throw new BadRequestException("点位设备不存在");
|
||||||
}
|
}
|
||||||
|
|
||||||
JSONObject josnMater = materTab.query("material_code ='" + dto.getProduct_name() + "' and is_delete = '0' and is_used = '1'").uniqueResult(0);
|
// JSONObject josnMater = materTab.query("material_code ='" + dto.getProduct_name() + "' and is_delete = '0' and is_used = '1'").uniqueResult(0);
|
||||||
if (ObjectUtil.isEmpty(josnMater)) {
|
// if (ObjectUtil.isEmpty(josnMater)) {
|
||||||
throw new BadRequestException("物料不存在");
|
// throw new BadRequestException("物料不存在");
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
dto.setWorkorder_id(IdUtil.getSnowflake(1, 1).nextId());
|
dto.setWorkorder_id(IdUtil.getSnowflake(1, 1).nextId());
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ spring:
|
|||||||
db-type: com.alibaba.druid.pool.DruidDataSource
|
db-type: com.alibaba.druid.pool.DruidDataSource
|
||||||
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
# url: jdbc:log4jdbc:mysql://${DB_HOST:10.1.3.91}:${DB_PORT:3306}/${DB_NAME:88lmsdb}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
|
# url: jdbc:log4jdbc:mysql://${DB_HOST:10.1.3.91}:${DB_PORT:3306}/${DB_NAME:88lmsdb}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
|
||||||
url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:ldnx_lms}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
|
url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:ldnx_lms_test}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
|
||||||
username: ${DB_USER:root}
|
username: ${DB_USER:root}
|
||||||
# password: ${DB_PWD:NLABC&hl123}
|
# password: ${DB_PWD:NLABC&hl123}
|
||||||
password: ${DB_PWD:12356}
|
password: ${DB_PWD:12356}
|
||||||
@@ -168,9 +168,6 @@ loki:
|
|||||||
systemName: lms
|
systemName: lms
|
||||||
es:
|
es:
|
||||||
index: lms_log
|
index: lms_log
|
||||||
lucene:
|
|
||||||
index:
|
|
||||||
path: D:\lms\lucene\index
|
|
||||||
management:
|
management:
|
||||||
endpoints:
|
endpoints:
|
||||||
web:
|
web:
|
||||||
|
|||||||
@@ -183,4 +183,4 @@ jetcache:
|
|||||||
port: 6379
|
port: 6379
|
||||||
lucene:
|
lucene:
|
||||||
index:
|
index:
|
||||||
path: D:\log\lms\lucene\index
|
path: D:\log\lms\ld\index
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ https://juejin.cn/post/6844903775631572999
|
|||||||
<appender-ref ref="CONSOLE"/>
|
<appender-ref ref="CONSOLE"/>
|
||||||
</root>
|
</root>
|
||||||
<logger name="jdbc" level="ERROR" additivity="true">
|
<logger name="jdbc" level="ERROR" additivity="true">
|
||||||
|
<appender-ref ref="asyncLuceneAppender"/>
|
||||||
<appender-ref ref="asyncFileAppender"/>
|
<appender-ref ref="asyncFileAppender"/>
|
||||||
</logger>
|
</logger>
|
||||||
<logger name="org.springframework" level="ERROR" additivity="true">
|
<logger name="org.springframework" level="ERROR" additivity="true">
|
||||||
@@ -126,6 +127,7 @@ https://juejin.cn/post/6844903775631572999
|
|||||||
<appender-ref ref="asyncFileAppender"/>
|
<appender-ref ref="asyncFileAppender"/>
|
||||||
</logger>
|
</logger>
|
||||||
<logger name="org.nl.modules.wql" level="ERROR" additivity="true">
|
<logger name="org.nl.modules.wql" level="ERROR" additivity="true">
|
||||||
|
<appender-ref ref="asyncLuceneAppender"/>
|
||||||
<appender-ref ref="asyncFileAppender"/>
|
<appender-ref ref="asyncFileAppender"/>
|
||||||
</logger>
|
</logger>
|
||||||
<logger name="org.springframework.data" level="ERROR" additivity="true">
|
<logger name="org.springframework.data" level="ERROR" additivity="true">
|
||||||
|
|||||||
@@ -170,7 +170,7 @@
|
|||||||
<div v-for="(log, index) in logs" :key="index">
|
<div v-for="(log, index) in logs" :key="index">
|
||||||
<div>
|
<div>
|
||||||
<span style="color: #6c0a99;font-weight: 700">{{ log.system }}</span>
|
<span style="color: #6c0a99;font-weight: 700">{{ log.system }}</span>
|
||||||
<span style="color: #7c8db0">{{ log.requestTime }}</span>
|
<span style="color: #ef0a3d">{{ log.requestTime }}</span>
|
||||||
<span style="color: #13ce66">[{{ log.thread }}]</span>
|
<span style="color: #13ce66">[{{ log.thread }}]</span>
|
||||||
<span :style="fontType(log.logLevel)">{{ log.logLevel }}</span>
|
<span :style="fontType(log.logLevel)">{{ log.logLevel }}</span>
|
||||||
<span style="color: #cebb13">{{ log.logger }}</span>
|
<span style="color: #cebb13">{{ log.logger }}</span>
|
||||||
|
|||||||
@@ -163,15 +163,15 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="上卷开始时间" prop="up_coiler_date">
|
<el-form-item label="上卷开始时间" prop="up_coiler_date">
|
||||||
<!-- <el-date-picker v-model="form.up_coiler_date" type="date" placeholder="选择日期" style="width: 250px" value-format="yyyy-MM-dd" />-->
|
<!-- <el-date-picker v-model="form.up_coiler_date" type="date" placeholder="选择日期" style="width: 250px" value-format="yyyy-MM-dd" />-->
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="form.up_coiler_date"
|
v-model="form.up_coiler_date"
|
||||||
type="datetime"
|
type="datetime"
|
||||||
placeholder="选择日期时间"
|
placeholder="选择日期时间"
|
||||||
style="width: 250px"
|
style="width: 250px"
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
value-format="yyyy-MM-dd HH:mm:ss"
|
||||||
default-time="12:00:00">
|
default-time="12:00:00"
|
||||||
</el-date-picker>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
<el-table-column type="selection" width="55" />
|
<el-table-column type="selection" width="55" />
|
||||||
<el-table-column v-if="false" prop="workorder_id" label="工单标识" />
|
<el-table-column v-if="false" prop="workorder_id" label="工单标识" />
|
||||||
<el-table-column prop="mfg_order_name" label="工单号" :min-width="flexWidth('mfg_order_name',crud.data,'工单号')" />
|
<el-table-column prop="mfg_order_name" label="工单号" :min-width="flexWidth('mfg_order_name',crud.data,'工单号')" />
|
||||||
<el-table-column prop="status" label="工单状态" :min-width="flexWidth('status',crud.data,'工单状态')" :formatter="formatStatusName"/>
|
<el-table-column prop="status" label="工单状态" :min-width="flexWidth('status',crud.data,'工单状态')" :formatter="formatStatusName" />
|
||||||
<el-table-column prop="container_name" label="母卷号" :min-width="flexWidth('container_name',crud.data,'母卷号')" />
|
<el-table-column prop="container_name" label="母卷号" :min-width="flexWidth('container_name',crud.data,'母卷号')" />
|
||||||
<el-table-column prop="point_code2" label="点位编码" :min-width="flexWidth('point_code2',crud.data,'点位编码')" />
|
<el-table-column prop="point_code2" label="点位编码" :min-width="flexWidth('point_code2',crud.data,'点位编码')" />
|
||||||
<el-table-column prop="resource_name" label="机台编码" :min-width="flexWidth('resource_name',crud.data,'机台编码')" />
|
<el-table-column prop="resource_name" label="机台编码" :min-width="flexWidth('resource_name',crud.data,'机台编码')" />
|
||||||
@@ -232,8 +232,8 @@
|
|||||||
<el-table-column prop="productin_qty" label="重量" :min-width="flexWidth('productin_qty',crud.data,'重量')" :formatter="crud.formatNum3" />
|
<el-table-column prop="productin_qty" label="重量" :min-width="flexWidth('productin_qty',crud.data,'重量')" :formatter="crud.formatNum3" />
|
||||||
<el-table-column prop="agvno" label="车号" :min-width="flexWidth('agvno',crud.data,'车号')" />
|
<el-table-column prop="agvno" label="车号" :min-width="flexWidth('agvno',crud.data,'车号')" />
|
||||||
<el-table-column prop="product_area" label="生产区域" :min-width="flexWidth('product_area',crud.data,'生产区域')" />
|
<el-table-column prop="product_area" label="生产区域" :min-width="flexWidth('product_area',crud.data,'生产区域')" />
|
||||||
<el-table-column prop="is_baking" label="请求烘烤" :min-width="flexWidth('is_baking',crud.data,'请求烘烤')" :formatter="formatBakeIsOrNot"/>
|
<el-table-column prop="is_baking" label="请求烘烤" :min-width="flexWidth('is_baking',crud.data,'请求烘烤')" :formatter="formatBakeIsOrNot" />
|
||||||
<el-table-column prop="is_instor" label="请求入半成品库" :min-width="flexWidth('is_instor',crud.data,'请求入半成品库')" :formatter="formatStorIsOrNot"/>
|
<el-table-column prop="is_instor" label="请求入半成品库" :min-width="flexWidth('is_instor',crud.data,'请求入半成品库')" :formatter="formatStorIsOrNot" />
|
||||||
<el-table-column prop="update_time" label="更新时间" :min-width="flexWidth('update_time',crud.data,'更新时间')" />
|
<el-table-column prop="update_time" label="更新时间" :min-width="flexWidth('update_time',crud.data,'更新时间')" />
|
||||||
<el-table-column v-permission="[]" label="操作" width="120px" align="center" fixed="right">
|
<el-table-column v-permission="[]" label="操作" width="120px" align="center" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -315,9 +315,6 @@ export default {
|
|||||||
openParam: null,
|
openParam: null,
|
||||||
permission: {},
|
permission: {},
|
||||||
rules: {
|
rules: {
|
||||||
container_name: [
|
|
||||||
{ required: true, message: '母卷号不能为空', trigger: 'blur' }
|
|
||||||
],
|
|
||||||
resource_name: [
|
resource_name: [
|
||||||
{ required: true, message: '机台编码不能为空', trigger: 'blur' }
|
{ required: true, message: '机台编码不能为空', trigger: 'blur' }
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -134,7 +134,7 @@
|
|||||||
@change="hand"
|
@change="hand"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<rrOperation/>
|
<rrOperation />
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -220,7 +220,7 @@
|
|||||||
>
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="100px">
|
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="100px">
|
||||||
<el-form-item v-if="false" label="点位标识" prop="point_id">
|
<el-form-item v-if="false" label="点位标识" prop="point_id">
|
||||||
<el-input v-model="form.point_id" style="width: 370px;"/>
|
<el-input v-model="form.point_id" style="width: 370px;" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="所属区域" prop="region_id">
|
<el-form-item label="所属区域" prop="region_id">
|
||||||
<el-select
|
<el-select
|
||||||
@@ -237,10 +237,10 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="点位编码" prop="point_code">
|
<el-form-item label="点位编码" prop="point_code">
|
||||||
<el-input v-model="form.point_code" style="width: 370px;" :disabled="this.form.point_type==='01'"/>
|
<el-input v-model="form.point_code" style="width: 370px;" :disabled="this.form.point_type==='01'" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="点位名称" prop="point_name">
|
<el-form-item label="点位名称" prop="point_name">
|
||||||
<el-input v-model="form.point_name" style="width: 370px;" :disabled="this.form.point_type==='01'"/>
|
<el-input v-model="form.point_name" style="width: 370px;" :disabled="this.form.point_type==='01'" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="点位状态" prop="point_status">
|
<el-form-item label="点位状态" prop="point_status">
|
||||||
<el-select
|
<el-select
|
||||||
@@ -289,14 +289,14 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="载具编码" prop="vehicle_code">
|
<el-form-item label="载具编码" prop="vehicle_code">
|
||||||
<el-input v-model="form.vehicle_code" clearable style="width: 370px;"/>
|
<el-input v-model="form.vehicle_code" clearable style="width: 370px;" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="物料批次" prop="material_code">
|
<el-form-item label="物料批次" prop="material_code">
|
||||||
<el-input v-model="form.material_code" clearable style="width: 370px;"/>
|
<el-input v-model="form.material_code" clearable style="width: 370px;" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="备注">
|
<el-form-item label="备注">
|
||||||
<el-input v-model="form.remark" style="width: 370px;" rows="2" type="textarea"/>
|
<el-input v-model="form.remark" style="width: 370px;" rows="2" type="textarea" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
@@ -313,34 +313,38 @@
|
|||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
@selection-change="crud.selectionChangeHandler"
|
@selection-change="crud.selectionChangeHandler"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55"/>
|
<el-table-column type="selection" width="55" />
|
||||||
<el-table-column prop="point_code" label="点位编码" sortable width="100"/>
|
<el-table-column prop="point_code" label="点位编码" sortable width="100" />
|
||||||
<el-table-column prop="point_name" label="点位名称" width="120" sortable show-overflow-tooltip/>
|
<el-table-column prop="point_name" label="点位名称" width="120" sortable show-overflow-tooltip />
|
||||||
<el-table-column prop="region_name" label="区域名称" min-width="120" show-overflow-tooltip/>
|
<el-table-column prop="region_name" label="区域名称" min-width="120" show-overflow-tooltip />
|
||||||
<el-table-column prop="point_type_name" label="点位类型"/>
|
<el-table-column prop="point_type_name" label="点位类型" />
|
||||||
<el-table-column prop="point_status_name" label="点位状态"/>
|
<el-table-column prop="point_status_name" label="点位状态" />
|
||||||
<el-table-column prop="lock_type_name" label="锁定类型"/>
|
<el-table-column prop="lock_type_name" label="锁定类型" />
|
||||||
<!-- <el-table-column prop="vehicle_type" label="载具类型" min-width="120">
|
<!-- <el-table-column prop="vehicle_type" label="载具类型" min-width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ dict.label.vehicle_type[scope.row.vehicle_type] }}
|
{{ dict.label.vehicle_type[scope.row.vehicle_type] }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>-->
|
</el-table-column>-->
|
||||||
<el-table-column prop="vehicle_code" label="载具编码"
|
<el-table-column
|
||||||
:min-width="flexWidth('vehicle_code',crud.data,'载具编码')"
|
prop="vehicle_code"
|
||||||
|
label="载具编码"
|
||||||
|
:min-width="flexWidth('vehicle_code',crud.data,'载具编码')"
|
||||||
/>
|
/>
|
||||||
<el-table-column prop="material_code" label="物料批次"
|
<el-table-column
|
||||||
:min-width="flexWidth('material_code',crud.data,'物料批次')"
|
prop="material_code"
|
||||||
|
label="物料批次"
|
||||||
|
:min-width="flexWidth('material_code',crud.data,'物料批次')"
|
||||||
/>
|
/>
|
||||||
<el-table-column prop="vehicle_qty" label="载具数量"/>
|
<el-table-column prop="vehicle_qty" label="载具数量" />
|
||||||
<el-table-column prop="product_area" label="生产区域"/>
|
<el-table-column prop="product_area" label="生产区域" />
|
||||||
<el-table-column prop="remark" label="备注" min-width="100" show-overflow-tooltip/>
|
<el-table-column prop="remark" label="备注" min-width="100" show-overflow-tooltip />
|
||||||
<el-table-column prop="is_used" label="是否启用">
|
<el-table-column prop="is_used" label="是否启用">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.is_used == '1' ? '是' : '否' }}
|
{{ scope.row.is_used == '1' ? '是' : '否' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="update_optname" label="修改人"/>
|
<el-table-column prop="update_optname" label="修改人" />
|
||||||
<el-table-column prop="update_time" label="修改时间" width="150"/>
|
<el-table-column prop="update_time" label="修改时间" width="150" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-permission="[]"
|
v-permission="[]"
|
||||||
label="操作"
|
label="操作"
|
||||||
@@ -357,7 +361,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--分页组件-->
|
<!--分页组件-->
|
||||||
<pagination/>
|
<pagination />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -453,7 +457,6 @@ export default {
|
|||||||
crudPoint.getRegion().then(res => {
|
crudPoint.getRegion().then(res => {
|
||||||
this.regionList = res
|
this.regionList = res
|
||||||
})
|
})
|
||||||
this.$set(this.query, 'region_id', '1582991348217286656')
|
|
||||||
this.crud.toQuery()
|
this.crud.toQuery()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user