Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9325339e
authored
Nov 10, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
41d7bdb1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
138 deletions
pages/index/index.vue
pages/stocktake/operate.vue
pages/index/index.vue
View file @
9325339e
...
...
@@ -2,7 +2,7 @@
<view
class=
"index"
>
<view
class=
"head row bothSide"
>
<view
class=
"column"
>
<text
class=
"t1"
>
{{
company_id
==
1
?
'深圳市猎芯科技有限公司'
:
'深贸电子有限公司'
}}
</text>
<text
class=
"t1"
>
{{
company_id
==
1
?
'深圳市猎芯科技有限公司'
:
company_id
==
3
?
'深圳华云数智工业科技有限公司'
:
'深贸电子有限公司'
}}
</text>
<view
class=
"row verCenter"
v-if=
"info.user_info"
>
<text
class=
"iconfont icon-juxing"
></text>
<text
class=
"t2"
>
{{
info
.
user_info
.
name
}}
</text>
...
...
@@ -15,51 +15,75 @@
</view>
<view
class=
"list row"
>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/arrivalRegister/index"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(2).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x(2).png"
></image>
</view>
<text
class=
"text"
>
到货登记
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/tallyReceive/index"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(5).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x(5).png"
></image>
</view>
<text
class=
"text"
>
理货
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/putaway/pack"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(8).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x(8).png"
></image>
</view>
<text
class=
"text"
>
按容器上架
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/putaway/index"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(8).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x(8).png"
></image>
</view>
<text
class=
"text"
>
按货品上架
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/container/index"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x.png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x.png"
></image>
</view>
<text
class=
"text"
>
容器维护
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/picking/index"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static//home/@2x(4).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static//home/@2x(4).png"
></image>
</view>
<text
class=
"text"
>
拣货
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/stockRecheck/index"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static//home/@2x(7).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static//home/@2x(7).png"
></image>
</view>
<text
class=
"text"
>
复核
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/transfer/index"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(3).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x(3).png"
></image>
</view>
<text
class=
"text"
>
移位
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/transfer/quick"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(3).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x(3).png"
></image>
</view>
<text
class=
"text"
>
快速移位
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/stocktake/list"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(10).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x(10).png"
></image>
</view>
<text
class=
"text"
>
盘点
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/immediatelyStockIn/index"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(6).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x(6).png"
></image>
</view>
<text
class=
"text"
>
库存查询
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/repairPrint/index"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(9).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
>
<image
src=
"/static/home/@2x(9).png"
></image>
</view>
<text
class=
"text"
>
标签补打
</text>
</navigator>
</view>
...
...
@@ -67,54 +91,54 @@
</
template
>
<
script
>
import
{
API
}
from
'@/util/api.js'
;
export
default
{
data
()
{
return
{
company_id
:
1
,
info
:
{}
};
},
onLoad
()
{
this
.
getData
();
},
onShow
()
{
this
.
company_id
=
uni
.
getStorageSync
(
'company_id'
)
||
1
;
},
methods
:
{
getData
()
{
this
.
request
(
API
.
getStatisticsInfo
,
'POST'
,
{},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
info
=
res
.
data
;
uni
.
setStorageSync
(
'oa_user_email'
,
res
.
data
.
user_info
.
email
);
}
});
import
{
API
}
from
'@/util/api.js'
;
export
default
{
data
()
{
return
{
company_id
:
1
,
info
:
{}
};
},
exit
()
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'确定要退出系统吗?'
,
showCancel
:
true
,
success
:
res
=>
{
if
(
res
.
confirm
)
{
uni
.
removeStorageSync
(
'oa_skey'
);
uni
.
removeStorageSync
(
'oa_user_id'
);
uni
.
removeStorageSync
(
'company_id'
);
uni
.
removeStorageSync
(
'oa_user_email'
);
uni
.
redirectTo
({
url
:
'/pages/mine/login'
});
}
else
if
(
res
.
cancel
)
{
// 用户点击取消操作
console
.
log
(
'用户点击取消'
);
onLoad
()
{
this
.
getData
();
},
onShow
()
{
this
.
company_id
=
uni
.
getStorageSync
(
'company_id'
)
||
1
;
},
methods
:
{
getData
()
{
this
.
request
(
API
.
getStatisticsInfo
,
'POST'
,
{},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
info
=
res
.
data
;
uni
.
setStorageSync
(
'oa_user_email'
,
res
.
data
.
user_info
.
email
);
}
});
},
exit
()
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'确定要退出系统吗?'
,
showCancel
:
true
,
success
:
res
=>
{
if
(
res
.
confirm
)
{
uni
.
removeStorageSync
(
'oa_skey'
);
uni
.
removeStorageSync
(
'oa_user_id'
);
uni
.
removeStorageSync
(
'company_id'
);
uni
.
removeStorageSync
(
'oa_user_email'
);
uni
.
redirectTo
({
url
:
'/pages/mine/login'
});
}
else
if
(
res
.
cancel
)
{
// 用户点击取消操作
console
.
log
(
'用户点击取消'
);
}
}
}
}
);
}
);
}
}
}
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
'@/assets/css/index/index.scss'
;
</
style
>
@import
'@/assets/css/index/index.scss'
;
</
style
>
\ No newline at end of file
pages/stocktake/operate.vue
View file @
9325339e
...
...
@@ -243,86 +243,6 @@
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in positionListCount"
:key=
"index"
>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.position_code }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.exactly_zero }}
</view>
<view
class=
"uni-td row verCenter rowCenter"
>
{{ item.greater_than_zero }}
</view>
</view>
</view>
</scroll-view>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment