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6SkfYpy6I=D5mM+ZtDGO|4n?;seX||EiczwLGA!mai?h%uCH&81K8nS~y~}UGDMa
zO}Dvcwq)r0+KW?JOg^8AFvfm7`Au$CDg=YH?s`{jU3^G!Zg
z#di6fjvwDL%z4WvdE2~Grq$u|j@u9HdhP6_$g=Uq7v>axw#QJOVe`MLyzk^RYu-gS
z)%}*@t=_z;cq-=?*_z%`Ix0%LnQD(a$~FV#k^1Kyr6AwXBGaQxQM`r5syCbrR~v~4OK5W
z8#`
diff --git a/nladmin-system/src/main/java/org/nl/acs/stage/service/impl/StageActorServiceImpl.java b/nladmin-system/src/main/java/org/nl/acs/stage/service/impl/StageActorServiceImpl.java
index 1731013..73be087 100644
--- a/nladmin-system/src/main/java/org/nl/acs/stage/service/impl/StageActorServiceImpl.java
+++ b/nladmin-system/src/main/java/org/nl/acs/stage/service/impl/StageActorServiceImpl.java
@@ -940,18 +940,25 @@ public class StageActorServiceImpl implements StageActorService {
haiLiangFeedingTrunkDeviceDriver = (HaiLiangFeedingTrunkDeviceDriver) device.getDeviceDriver();
if (haiLiangFeedingTrunkDeviceDriver.getMode() == 0) {
mode = "未联机";
+ jo.put("isOnline", false);
} else if (haiLiangFeedingTrunkDeviceDriver.getMode() == 1) {
mode = "单机";
+ jo.put("isOnline", false);
} else if (haiLiangFeedingTrunkDeviceDriver.getMode() == 2) {
mode = "联机";
+ jo.put("isOnline", true);
} else if (haiLiangFeedingTrunkDeviceDriver.getMode() == 3) {
mode = "工作中";
+ jo.put("isOnline", true);
} else if (haiLiangFeedingTrunkDeviceDriver.getMode() == 4) {
mode = "申请工单";
+ jo.put("isOnline", true);
} else if (haiLiangFeedingTrunkDeviceDriver.getMode() == 5) {
mode = "申请工单明细号";
+ jo.put("isOnline", true);
} else if (haiLiangFeedingTrunkDeviceDriver.getMode() == 6) {
mode = "急停";
+ jo.put("isOnline", true);
}
obj.put("device_name", haiLiangFeedingTrunkDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode);
@@ -969,7 +976,7 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("detail_strapping_qty", haiLiangFeedingTrunkDeviceDriver.getDetail_strapping_qty());
jo.put("detail_strapping_oneqty", haiLiangFeedingTrunkDeviceDriver.getDetail_strapping_oneqty());
jo.put("detail_coating_qty", haiLiangFeedingTrunkDeviceDriver.getDetail_coating_qty());
- jo.put("labeling_order", haiLiangFeedingTrunkDeviceDriver.getLabeling_order());
+ jo.put("labeling_order_detail", haiLiangFeedingTrunkDeviceDriver.getLabeling_order_detail());
jo.put("detail_labeling_qualified_qty", haiLiangFeedingTrunkDeviceDriver.getDetail_labeling_qualified_qty());
jo.put("detail_labeling_qty", haiLiangFeedingTrunkDeviceDriver.getDetail_labeling_qty());
jo.put("ready", haiLiangFeedingTrunkDeviceDriver.getReady());
@@ -992,16 +999,22 @@ public class StageActorServiceImpl implements StageActorService {
haiLiangFeedingDeviceDriver = (HaiLiangFeedingDeviceDriver) device.getDeviceDriver();
if (haiLiangFeedingDeviceDriver.getMode() == 0) {
mode = "未联机";
+ jo.put("isOnline", false);
} else if (haiLiangFeedingDeviceDriver.getMode() == 1) {
mode = "单机";
+ jo.put("isOnline", false);
} else if (haiLiangFeedingDeviceDriver.getMode() == 2) {
mode = "联机";
+ jo.put("isOnline", true);
} else if (haiLiangFeedingDeviceDriver.getMode() == 3) {
mode = "工作中";
+ jo.put("isOnline", true);
} else if (haiLiangFeedingDeviceDriver.getMode() == 4) {
mode = "上料完成";
+ jo.put("isOnline", true);
} else if (haiLiangFeedingDeviceDriver.getMode() == 5) {
mode = "强制上料完成";
+ jo.put("isOnline", true);
}
if (haiLiangFeedingDeviceDriver.getMove() == 0) {
move = "无货";
@@ -1024,16 +1037,22 @@ public class StageActorServiceImpl implements StageActorService {
haiLiangLetteringDeviceDriver = (HaiLiangLetteringDeviceDriver) device.getDeviceDriver();
if (haiLiangLetteringDeviceDriver.getMode() == 0) {
mode = "未联机";
+ jo.put("isOnline", false);
} else if (haiLiangLetteringDeviceDriver.getMode() == 1) {
mode = "单机";
+ jo.put("isOnline", false);
} else if (haiLiangLetteringDeviceDriver.getMode() == 2) {
mode = "联机";
+ jo.put("isOnline", true);
} else if (haiLiangLetteringDeviceDriver.getMode() == 3) {
mode = "工作中";
+ jo.put("isOnline", true);
} else if (haiLiangLetteringDeviceDriver.getMode() == 4) {
mode = "刻字完成";
+ jo.put("isOnline", true);
} else if (haiLiangLetteringDeviceDriver.getMode() == 5) {
mode = "强制刻字完成";
+ jo.put("isOnline", true);
}
if (haiLiangLetteringDeviceDriver.getMove() == 0) {
move = "无货";
@@ -1054,16 +1073,22 @@ public class StageActorServiceImpl implements StageActorService {
haiLiangRiskingDeviceDriver = (HaiLiangRiskingDeviceDriver) device.getDeviceDriver();
if (haiLiangRiskingDeviceDriver.getMode() == 0) {
mode = "未联机";
+ jo.put("isOnline", false);
} else if (haiLiangRiskingDeviceDriver.getMode() == 1) {
mode = "单机";
+ jo.put("isOnline", false);
} else if (haiLiangRiskingDeviceDriver.getMode() == 2) {
mode = "联机";
+ jo.put("isOnline", true);
} else if (haiLiangRiskingDeviceDriver.getMode() == 3) {
mode = "工作中";
+ jo.put("isOnline", true);
} else if (haiLiangRiskingDeviceDriver.getMode() == 4) {
mode = "套冒完成";
+ jo.put("isOnline", true);
} else if (haiLiangRiskingDeviceDriver.getMode() == 5) {
mode = "强制套冒完成";
+ jo.put("isOnline", true);
}
if (haiLiangRiskingDeviceDriver.getMove() == 0) {
move = "无货";
@@ -1169,7 +1194,6 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("order", haiLiangLabelingDeviceDriver.getOrder());
jo.put("order_detail", haiLiangLabelingDeviceDriver.getOrder_detail());
jo.put("detail_qty", haiLiangLabelingDeviceDriver.getDetail_qty());
- jo.put("detail_qualified_qty", haiLiangLabelingDeviceDriver.getDetail_qualified_qty());
}
obj.put("data", jo);
}
diff --git a/nladmin-system/src/main/java/org/nl/start/auto/run/LetteringSocketConnectionAutoRun.java b/nladmin-system/src/main/java/org/nl/start/auto/run/LetteringSocketConnectionAutoRun.java
index 2ad8649..ea0c5c0 100644
--- a/nladmin-system/src/main/java/org/nl/start/auto/run/LetteringSocketConnectionAutoRun.java
+++ b/nladmin-system/src/main/java/org/nl/start/auto/run/LetteringSocketConnectionAutoRun.java
@@ -2,6 +2,7 @@ package org.nl.start.auto.run;
import cn.hutool.core.util.StrUtil;
import lombok.extern.slf4j.Slf4j;
+import net.sf.json.JSONObject;
import org.nl.acs.config.AcsConfig;
import org.nl.acs.config.server.AcsConfigService;
import org.nl.acs.config.server.impl.AcsConfigServiceImpl;
@@ -76,7 +77,8 @@ public class LetteringSocketConnectionAutoRun extends AbstractAutoRunnable {
// if (StrUtil.equals(bs.toString(), "MSG 3")) {
//
// }
- if (StrUtil.equals(bs.toString(), "OK")) {
+// if (StrUtil.equals(bs.toString(), "OK")) {
+ if(bs.toString().contains("OK")){
HaiLiangFeedingTrunkDeviceDriver haiLiangFeedingTrunkDeviceDriver;
List deviceAll = deviceAppService.findDeviceDriver(HaiLiangFeedingTrunkDeviceDriver.class);
if (deviceAll.get(0) instanceof HaiLiangFeedingTrunkDeviceDriver) {
@@ -148,6 +150,10 @@ public class LetteringSocketConnectionAutoRun extends AbstractAutoRunnable {
public static void main(String[] args) throws UnsupportedEncodingException {
- byte[] bytes = "你".getBytes("utf-8");
+ JSONObject jo = new JSONObject();
+ jo.put("x",10.0);
+ jo.put("y",3.0);
+ jo.put("angle",0);
+ System.out.println(bytesToHexString(stringToByte(jo.toString())));
}
}
diff --git a/nladmin-system/src/main/resources/config/application-dev.yml b/nladmin-system/src/main/resources/config/application-dev.yml
index ad6a5e3..b3b5105 100644
--- a/nladmin-system/src/main/resources/config/application-dev.yml
+++ b/nladmin-system/src/main/resources/config/application-dev.yml
@@ -8,12 +8,12 @@ spring:
druid:
db-type: com.alibaba.druid.pool.DruidDataSource
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
- url: jdbc:log4jdbc:mysql://${DB_HOST:192.168.81.252}:${DB_PORT:3306}/${DB_NAME:hl_zgbz_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
- #url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:hl_zgbz_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
+ #url: jdbc:log4jdbc:mysql://${DB_HOST:192.168.81.252}:${DB_PORT:3306}/${DB_NAME:hl_zgbz_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
+ url: jdbc:log4jdbc:mysql://${DB_HOST:192.168.1.90}:${DB_PORT:3306}/${DB_NAME:hl_zgbz_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true
username: ${DB_USER:root}
#password: ${DB_PWD:P@ssw0rd}
- password: ${DB_PWD:Root.123456}
- #password: ${DB_PWD:123456}
+ #password: ${DB_PWD:Root.123456}
+ password: ${DB_PWD:123456}
# 初始连接数
initial-size: 5
# 最小连接数
diff --git a/qd/src/api/acs/order/order.js b/qd/src/api/acs/order/order.js
index 67bf528..a672ec9 100644
--- a/qd/src/api/acs/order/order.js
+++ b/qd/src/api/acs/order/order.js
@@ -83,6 +83,21 @@ export function order_pause(data) {
})
}
+export function send_letteringMess(data) {
+ return request({
+ url: 'api/produceshiftorder/send_letteringMess',
+ method: 'post',
+ data
+ })
+}
+
+export function send_labelingMess(data) {
+ return request({
+ url: 'api/produceshiftorder/send_labelingMess',
+ method: 'post',
+ data
+ })
+}
export function order_force_complete(data) {
return request({
url: 'api/produceshiftorder/order_force_complete',
@@ -114,6 +129,13 @@ export function selectTemplateList() {
})
}
+export function selectColortypeList() {
+ return request({
+ url: 'api/produceshiftorder/selectColortypeList',
+ method: 'get'
+ })
+}
+
export function reload() {
return request({
url: 'api/produceshiftorder/reload',
@@ -122,4 +144,4 @@ export function reload() {
}
export default { add, edit, del, importExcel, getDtl, send, device_pause, device_restore, clear, stop, order_pause, order_force_complete, detail_pause, detail_force_complete,
- selectTemplateList, reload }
+ selectTemplateList, selectColortypeList, reload, send_letteringMess, send_labelingMess }
diff --git a/qd/src/views/acs/order/AddDialog.vue b/qd/src/views/acs/order/AddDialog.vue
index b0673ca..403e7ad 100644
--- a/qd/src/views/acs/order/AddDialog.vue
+++ b/qd/src/views/acs/order/AddDialog.vue
@@ -94,16 +94,16 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}"
>
-
-
-
+
+
+
{{ scope.row.custcode }}
{{ scope.row.cust_code }}
-
+
{{ scope.row.cust_name }}
@@ -145,13 +145,13 @@
{{ scope.row.mg_weight }}
-
+
{{ scope.row.lettering_message }}
-
+
-
+
{{ scope.row.lettering_message2 }}
-
-
-
- {{ scope.row.strap_number }}
-
-
-
+
+
+
+
+ {{ scope.row.strap_number }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -293,6 +309,7 @@ import { getToken } from '@/utils/auth'
import { mapGetters } from 'vuex'
import CustomerDtl from '@/views/acs/order/CustomerDialog'
import CRUD, { crud, form } from '@crud/crud'
+import { get } from '@/api/system/dictDetail'
const defaultForm = { tableData: [], order_code: null, material_code: null, material_spec: null,
outer_diameter: null, wall_thickness: null, detail_count: 0 }
@@ -328,6 +345,7 @@ export default {
dtlJson: null,
dtlIndex: null,
dtlShow: false,
+ colortypeList: [],
templateList: [],
opendtlParam: null,
bill_btn: false,
@@ -384,6 +402,10 @@ export default {
debugger
crudProduceshiftorder.selectTemplateList().then(data => {
this.templateList = data
+ }),
+ // 获取区域类型
+ get('color_type').then(data => {
+ this.colortypeList = data.content
})
},
methods: {
diff --git a/qd/src/views/acs/order/sorting/index.vue b/qd/src/views/acs/order/sorting/index.vue
index 418c42f..7eda9bf 100644
--- a/qd/src/views/acs/order/sorting/index.vue
+++ b/qd/src/views/acs/order/sorting/index.vue
@@ -44,17 +44,28 @@
>
清料
-
-
-
-
-
-
-
-
-
-
-
+
+ 手动下发刻字信息
+
+
+ 手动下发贴标信息
+
+
+
否
@@ -159,9 +172,9 @@
- 暂停工单
+
强制完成工单
- 暂停明细
+
强制完成明细
@@ -401,6 +414,24 @@ export default {
console.log(err.response.data.message)
})
},
+ send_letteringMess(data) {
+ debugger
+ crudProduceshiftorder.send_letteringMess(data[0]).then(res => {
+ this.crud.toQuery()
+ this.crud.notify('下发成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ }).catch(err => {
+ console.log(err.response.data.message)
+ })
+ },
+ send_labelingMess(data) {
+ debugger
+ crudProduceshiftorder.send_labelingMess(data[0]).then(res => {
+ this.crud.toQuery()
+ this.crud.notify('下发成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ }).catch(err => {
+ console.log(err.response.data.message)
+ })
+ },
handleExceed(files, fileList) {
this.$message.warning('当前限制只能选择 1 个文件')
},