Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
sy-sxk-ui
概览
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
黄麒宇
sy-sxk-ui
Commits
a108b55a
Commit
a108b55a
authored
Oct 24, 2022
by
huangqy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
156d459c
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
10 行增加
和
12 行删除
+10
-12
bigScreen.vue
src/components/bo-ui/bigScreen.vue
+1
-1
main.js
src/main.js
+0
-1
kfdw.vue
src/views/basicData/kfdw.vue
+3
-3
room.vue
src/views/basicData/room.vue
+1
-1
out.vue
src/views/delivery/out.vue
+1
-1
home.vue
src/views/home.vue
+2
-3
device.vue
src/views/wsd/device.vue
+2
-2
没有找到文件。
src/components/bo-ui/bigScreen.vue
View file @
a108b55a
...
...
@@ -15,7 +15,7 @@ export default {
}
},
created
()
{
this
.
url
=
window
.
_CONFIG
[
'screenFull'
]
+
"?storeCode="
+
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
)
this
.
url
=
window
.
_CONFIG
[
'screenFull'
]
+
"?storeCode="
+
sessionStorage
.
getItem
(
'storeCode'
)
}
}
</
script
>
...
...
src/main.js
View file @
a108b55a
...
...
@@ -184,7 +184,6 @@ export async function mount(props) {
props
.
onGlobalStateChange
((
state
,
prev
)
=>
{
// state: 变更后的状态; prev 变更前的状态
},
true
);
//1
Vue
.
prototype
.
$onGlobalStateChange
=
props
.
onGlobalStateChange
;
Vue
.
prototype
.
$setGlobalState
=
props
.
setGlobalState
;
...
...
src/views/basicData/kfdw.vue
View file @
a108b55a
...
...
@@ -220,7 +220,7 @@ export default {
}
items
.
select
=
!
items
.
select
this
.
select
=
items
const
{
data
:
res
}
=
await
this
.
$axios
.
get
(
'/summary/getRackDetail?VLayer='
+
this
.
layer
.
substring
(
1
,
2
)
+
'&positionCode='
+
items
.
positionCode
+
'&storeCode='
+
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
))
const
{
data
:
res
}
=
await
this
.
$axios
.
get
(
'/summary/getRackDetail?VLayer='
+
this
.
layer
.
substring
(
1
,
2
)
+
'&positionCode='
+
items
.
positionCode
+
'&storeCode='
+
sessionStorage
.
getItem
(
'storeCode'
))
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
rightForm
=
res
.
data
this
.
select
.
palletId
=
res
.
data
.
palletId
...
...
@@ -248,7 +248,7 @@ export default {
this
.
dialogVisible
=
true
},
subRoadData
()
{
this
.
roadData
.
storeCode
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
)
this
.
roadData
.
storeCode
=
sessionStorage
.
getItem
(
'storeCode'
)
this
.
$refs
.
fromRef
.
validate
(
async
falg
=>
{
if
(
!
falg
)
return
this
.
$message
.
error
(
res
.
message
)
// 提交信息
...
...
@@ -261,7 +261,7 @@ export default {
})
},
async
changeLocation
()
{
this
.
formData
.
storeCode
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
)
this
.
formData
.
storeCode
=
sessionStorage
.
getItem
(
'storeCode'
)
if
(
this
.
formData
.
oldPositionCode
&&
this
.
formData
.
newPositionCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/account/movePallet'
,
this
.
formData
)
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
...
...
src/views/basicData/room.vue
View file @
a108b55a
...
...
@@ -304,7 +304,7 @@ export default {
created
()
{
this
.
getRoomData
()
this
.
storeCode
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
)
this
.
storeCode
=
sessionStorage
.
getItem
(
'storeCode'
)
},
mounted
()
{
...
...
src/views/delivery/out.vue
View file @
a108b55a
...
...
@@ -352,7 +352,7 @@ export default {
this
.
allData
=
[]
this
.
goodsData
=
[]
this
.
typeData
=
[]
this
.
searchData
.
storeCode
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
)
this
.
searchData
.
storeCode
=
sessionStorage
.
getItem
(
'storeCode'
)
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/bill/getOutPage'
,
this
.
searchData
)
if
(
res
.
code
!==
99200
)
return
this
.
$message
(
res
.
message
)
this
.
total
=
res
.
data
.
totalRows
-
0
...
...
src/views/home.vue
View file @
a108b55a
// 欢迎界面组件
<
template
>
<div
class=
"body"
:style=
"'height:' + height + 'px'"
>
<div
style=
"border: 2px solid #43A747;"
>
...
...
@@ -237,7 +236,7 @@ export default {
// 右侧
// 折线图数据
async
getHomeCharts
()
{
const
{
data
:
res
}
=
await
this
.
$axios
.
get
(
'/first/getGoodsByToday?storeCode='
+
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
))
const
{
data
:
res
}
=
await
this
.
$axios
.
get
(
'/first/getGoodsByToday?storeCode='
+
sessionStorage
.
getItem
(
'storeCode'
))
if
(
res
.
code
!==
99200
)
return
this
.
$message
(
res
.
message
)
let
bgColor
=
"#fff"
let
color
=
[
...
...
@@ -414,7 +413,7 @@ export default {
// 数据分析数据
async
getRightData
()
{
const
{
data
:
res
}
=
await
this
.
$axios
.
get
(
'/first/getGoodsStock?storeCode='
+
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
))
const
{
data
:
res
}
=
await
this
.
$axios
.
get
(
'/first/getGoodsStock?storeCode='
+
sessionStorage
.
getItem
(
'storeCode'
))
if
(
res
.
code
!==
99200
)
return
this
.
$message
(
res
.
message
)
let
capsuleConfigData
=
[]
let
activeRingChartConfigData
=
[]
...
...
src/views/wsd/device.vue
View file @
a108b55a
...
...
@@ -298,7 +298,7 @@ export default {
this
.
data
=
res
.
data
.
records
},
async
initWarn
()
{
var
storeCode
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
)
var
storeCode
=
sessionStorage
.
getItem
(
'storeCode'
)
this
.
warnForm
.
storeCode
=
storeCode
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/humitureWarn/getPage'
,
{
pageNo
:
1
,
pageSize
:
1
,
storeCode
:
storeCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
(
res
.
message
)
...
...
@@ -349,7 +349,7 @@ export default {
if
(
this
.
formData
.
id
)
{
url
=
'/humiture/updateDevice'
}
this
.
formData
.
storeCode
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'storeCode'
)
)
this
.
formData
.
storeCode
=
sessionStorage
.
getItem
(
'storeCode'
)
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
url
,
this
.
formData
)
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
$message
.
success
(
res
.
message
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论