Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jump_hm_warehouse
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
毛勇泽
jump_hm_warehouse
Commits
7dad8b73
Commit
7dad8b73
authored
Jan 25, 2024
by
huangqy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
c5ae3ec2
b3354329
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
5 行删除
+10
-5
ScanAnalysis.ets
entry/src/main/ets/identify/analysis/ScanAnalysis.ets
+1
-1
analysis_QR_code.ets
entry/src/main/ets/identify/analysis/analysis_QR_code.ets
+2
-1
WzinDetail.ets
entry/src/main/ets/pages/metailmange/WzInPage/WzinDetail/WzinDetail.ets
+7
-3
没有找到文件。
entry/src/main/ets/identify/analysis/ScanAnalysis.ets
View file @
7dad8b73
...
...
@@ -131,7 +131,7 @@ export class ScanAnalysis {
let p = new Promise(function (resolve, reject) {
setTimeout(function () {
resolve(1)
},
2
00)
},
3
00)
}).then(undefined, (error) => {
})
return p;
...
...
entry/src/main/ets/identify/analysis/analysis_QR_code.ets
View file @
7dad8b73
...
...
@@ -52,7 +52,7 @@ async function analysisQrCode(bqData:string, isData:boolean = false) {
var result = {}as any
// TODO 标签解析
// 07A00120轻便作战靴A002889000004A006290A010202303A005军委机关
var str = bqData
var str = bqData
.replace(/[\x04\x1D\x1E\x1F]/g, '')
console.log("str=======>"+str)
// 移除特定字符
// str = replaceAll(str, "", "");
...
...
@@ -256,6 +256,7 @@ async function analysisQrCode(bqData:string, isData:boolean = false) {
// const allList1 = await createOrFindSQL("GY_M_PMV3", allsql1)\
// bzhxModal.queryLsm(str)
// console.log('sql查询语句'+ sql)
console.log('解析结果'+JSON.stringify(str))
let wzdmList = await bzhxModal.queryHXlist(hx_map)
console.log('sql查询结果'+JSON.stringify(wzdmList))
if(!wzdmList){
...
...
entry/src/main/ets/pages/metailmange/WzInPage/WzinDetail/WzinDetail.ets
View file @
7dad8b73
...
...
@@ -38,8 +38,9 @@ struct WzinDetail {
@State isUpdate: boolean = false
@State wzcrk: WzClass = null // 物资出入库单据信息
@State wzmx: WzmxClass[] = [] // 物资出入库明细
wzcrkmxDao: WzcrkmxDao = SQLiteContext.with(WzcrkmxDao)
private controller: TabsController = new TabsController()
wzcrkmxDao: WzcrkmxDao = SQLiteContext.with(WzcrkmxDao)
onPageShow() {
const params = router.getParams() as params
...
...
@@ -169,8 +170,11 @@ struct WzinDetail {
}.width("100%")
}.onKeyEvent((e: globalThis.KeyEvent) => {
console.error('keycode====》:' + e.keyCode)
if (this.currentIndex == 1 && (e.keyCode == 2096 || e.keyCode == 2093)) {
if (e.type == 1) {
if ((e.keyCode == 2096 || e.keyCode == 2093)) {
if(e.type==1){
if(this.currentIndex==0){
this.currentIndex=1
}
IdentifyService.openScan()
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论