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
029b2358
authored
Apr 19, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
813dd6ef
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
104 additions
and
27 deletions
.gitignore
assets/css/arrivalRegister/index.scss
package-lock.json
pages/arrivalRegister/index.vue
pages/arrivalRegister/registered.vue
util/api.js
util/util.js
.gitignore
View file @
029b2358
...
@@ -3,3 +3,4 @@
...
@@ -3,3 +3,4 @@
/unpackage
/unpackage
/*.hbuilderx
/*.hbuilderx
/.DS_Store
/.DS_Store
/node_modules
\ No newline at end of file
assets/css/arrivalRegister/index.scss
View file @
029b2358
...
@@ -37,12 +37,6 @@
...
@@ -37,12 +37,6 @@
.icon-a-juxing11
{
.icon-a-juxing11
{
font-size
:
30rpx
;
font-size
:
30rpx
;
color
:
#c6c7cc
;
color
:
#c6c7cc
;
display
:
none
;
}
&
:focus-within
{
.icon-a-juxing11
{
display
:
block
;
}
}
}
}
}
}
}
...
@@ -52,11 +46,11 @@
...
@@ -52,11 +46,11 @@
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
.box
{
.box
{
position
:
relative
;
position
:
relative
;
padding
:
15rpx
17rpx
0
17rpx
;
padding
:
15rpx
17rpx
12rpx
17rpx
;
width
:
345rpx
;
width
:
345rpx
;
height
:
250rpx
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
3rpx
3rpx
0px
rgba
(
198
,
199
,
204
,
0
.3
);
box-shadow
:
0px
3rpx
3rpx
0px
rgba
(
198
,
199
,
204
,
0
.3
);
border
:
1px
solid
transparent
;
border-radius
:
10rpx
;
border-radius
:
10rpx
;
margin-right
:
15rpx
;
margin-right
:
15rpx
;
margin-bottom
:
15rpx
;
margin-bottom
:
15rpx
;
...
@@ -109,7 +103,14 @@
...
@@ -109,7 +103,14 @@
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
}
}
.btn-box
{
.btn-box
{
justify-content
:
flex-end
;
.b1
{
font-size
:
15rpx
;
color
:
#919399
;
}
.b2
{
font-size
:
15rpx
;
color
:
#1969f9
;
}
.btn
{
.btn
{
width
:
68rpx
;
width
:
68rpx
;
height
:
30rpx
;
height
:
30rpx
;
...
@@ -292,21 +293,63 @@
...
@@ -292,21 +293,63 @@
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
width
:
100%
;
width
:
100%
;
height
:
75rpx
;
.btn1
{
background
:
#1969f9
;
height
:
75rpx
;
font-size
:
23rpx
;
background
:
#1969f9
;
color
:
#ffffff
;
font-size
:
23rpx
;
color
:
#ffffff
;
}
.btn2
{
height
:
75rpx
;
background
:
#ffe0d7
;
font-size
:
23rpx
;
color
:
#ff3700
;
font-weight
:
bold
;
}
}
}
.btn1
{
.tip-box
{
position
:
absolute
;
margin-top
:
36rpx
;
bottom
:
0
;
margin-bottom
:
23rpx
;
left
:
0
;
height
:
60rpx
;
right
:
0
;
background
:
#fff5ec
;
width
:
100%
;
border-radius
:
30rpx
30rpx
30rpx
30rpx
;
height
:
75rpx
;
.iconfont
{
background
:
#ffe0d7
;
font-size
:
30rpx
;
font-size
:
23rpx
;
color
:
#f98119
;
color
:
#ff3700
;
margin-left
:
23rpx
;
font-weight
:
bold
;
}
.tt
{
margin-left
:
12rpx
;
font-size
:
20rpx
;
color
:
#f98119
;
}
}
.input-wrap
{
margin-bottom
:
25rpx
;
.label-title
{
font-size
:
20rpx
;
color
:
#484b59
;
font-weight
:
bold
;
margin-bottom
:
10rpx
;
}
.input-box
{
.uni-input
{
height
:
55rpx
;
background
:
#ffffff
;
border-radius
:
10rpx
;
border
:
1px
solid
#1969f9
;
font-size
:
17rpx
;
padding-left
:
18rpx
;
}
.uni-textarea
{
width
:
100%
;
height
:
110rpx
;
background
:
#ffffff
;
border-radius
:
10px
;
border
:
1px
solid
#1969f9
;
font-size
:
17rpx
;
padding
:
18rpx
;
}
}
}
}
}
}
package-lock.json
0 → 100644
View file @
029b2358
{
"requires"
:
true
,
"lockfileVersion"
:
1
,
"dependencies"
:
{
"lodash"
:
{
"version"
:
"4.17.21"
,
"resolved"
:
"https://repo.huaweicloud.com/repository/npm/lodash/-/lodash-4.17.21.tgz"
,
"integrity"
:
"sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
}
}
}
pages/arrivalRegister/index.vue
View file @
029b2358
This diff is collapsed.
Click to expand it.
pages/arrivalRegister/registered.vue
View file @
029b2358
This diff is collapsed.
Click to expand it.
util/api.js
View file @
029b2358
...
@@ -21,7 +21,15 @@ const API = {
...
@@ -21,7 +21,15 @@ const API = {
/**
/**
* 到货记录
* 到货记录
* */
* */
stockInRegisterList
:
API_BASE
+
'/api/stockIn/stockInRegister/stockInRegisterList'
,
stockInMobileRegisterList
:
API_BASE
+
'/api/stockIn/stockInRegister/stockInMobileRegisterList'
,
/**
* 新增到货记录
* */
addStockInRegister
:
API_BASE
+
'/api/stockIn/stockInRegister/addStockInRegister'
,
/**
* 删除到货登记
* */
delStockInRegister
:
API_BASE
+
'/api/stockIn/stockInRegister/delStockInRegister'
,
}
}
...
...
util/util.js
View file @
029b2358
...
@@ -7,7 +7,7 @@ const request = (url = '', type = 'GET', param = {}, Loading) => {
...
@@ -7,7 +7,7 @@ const request = (url = '', type = 'GET', param = {}, Loading) => {
const
oa_skey
=
uni
.
getStorageSync
(
'oa_skey'
)
||
''
;
const
oa_skey
=
uni
.
getStorageSync
(
'oa_skey'
)
||
''
;
var
params
=
Object
.
assign
(
param
,
{
var
params
=
Object
.
assign
(
param
,
{
pf
:
20
is_mobile
:
1
});
});
//是否启动加载
//是否启动加载
...
@@ -64,7 +64,19 @@ const getPlatform = () => {
...
@@ -64,7 +64,19 @@ const getPlatform = () => {
return
platform
;
return
platform
;
}
}
/**
* 来创建指定长度且所有元素都被初始化为 false 的数组
*/
const
createArray
=
(
length
,
value
)
=>
{
return
Array
(
length
).
fill
(
value
);
}
module
.
exports
=
{
module
.
exports
=
{
request
,
request
,
getPlatform
getPlatform
,
createArray
}
}
\ No newline at end of file
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