fix:打印适配称重商品

This commit is contained in:
dzc committed 2025-03-24 12:30:07 +08:00
1 parent b564d43c45
commit af33747281
3 files changed
+5 -5

No files matched your search

@@ -71,8 +71,8 @@ class SerialBase {
void close() {
if (isConnect == true) {
serialClient.dispose();
serialClient.close();
serialClient.dispose();
isConnect = false;
}
}
+2 -2
View File
@@ -10,9 +10,9 @@ class Constants {
static const pwdEncKey = 'pigxpigxpigxpigx';
/// 服务 url
// static const apiUrl = 'https://stgl.pj.gov.cn/api';
static const apiUrl = 'https://stgl.pj.gov.cn/api';
static const apiUrl = 'http://192.168.101.64:9999';
// static const apiUrl = 'http://192.168.101.64:9999';
/// 静态资源 url
static const ossUrl = apiUrl;
@@ -17,11 +17,11 @@ Future<void> _bindServiceDialog(BuildContext context, SysSetting sys) async {
}
if (AppSysTool.isDev()) {
// 正式环境-超市
// uniqueCodeC.text = "1894303392833716226";
uniqueCodeC.text = "1894303392833716226";
// 正式环境-测试
// uniqueCodeC.text = "1896157295523049473";
// 测试环境-测试设备
uniqueCodeC.text = "1877592554489143298";
// uniqueCodeC.text = "1877592554489143298";
}
await showAdaptiveDialog(
context: context,