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 @@
/unpackage
/*.hbuilderx
/.DS_Store
/node_modules
\ No newline at end of file
assets/css/arrivalRegister/index.scss
View file @
029b2358
...
...
@@ -37,12 +37,6 @@
.icon-a-juxing11
{
font-size
:
30rpx
;
color
:
#c6c7cc
;
display
:
none
;
}
&
:focus-within
{
.icon-a-juxing11
{
display
:
block
;
}
}
}
}
...
...
@@ -52,11 +46,11 @@
flex-wrap
:
wrap
;
.box
{
position
:
relative
;
padding
:
15rpx
17rpx
0
17rpx
;
padding
:
15rpx
17rpx
12rpx
17rpx
;
width
:
345rpx
;
height
:
250rpx
;
background
:
#ffffff
;
box-shadow
:
0px
3rpx
3rpx
0px
rgba
(
198
,
199
,
204
,
0
.3
);
border
:
1px
solid
transparent
;
border-radius
:
10rpx
;
margin-right
:
15rpx
;
margin-bottom
:
15rpx
;
...
...
@@ -109,7 +103,14 @@
margin-bottom
:
20rpx
;
}
.btn-box
{
justify-content
:
flex-end
;
.b1
{
font-size
:
15rpx
;
color
:
#919399
;
}
.b2
{
font-size
:
15rpx
;
color
:
#1969f9
;
}
.btn
{
width
:
68rpx
;
height
:
30rpx
;
...
...
@@ -292,21 +293,63 @@
left
:
0
;
right
:
0
;
width
:
100%
;
height
:
75rpx
;
background
:
#1969f9
;
font-size
:
23rpx
;
color
:
#ffffff
;
.btn1
{
height
:
75rpx
;
background
:
#1969f9
;
font-size
:
23rpx
;
color
:
#ffffff
;
}
.btn2
{
height
:
75rpx
;
background
:
#ffe0d7
;
font-size
:
23rpx
;
color
:
#ff3700
;
font-weight
:
bold
;
}
}
.btn1
{
position
:
absolute
;
bottom
:
0
;
left
:
0
;
right
:
0
;
width
:
100%
;
height
:
75rpx
;
background
:
#ffe0d7
;
font-size
:
23rpx
;
color
:
#ff3700
;
font-weight
:
bold
;
.tip-box
{
margin-top
:
36rpx
;
margin-bottom
:
23rpx
;
height
:
60rpx
;
background
:
#fff5ec
;
border-radius
:
30rpx
30rpx
30rpx
30rpx
;
.iconfont
{
font-size
:
30rpx
;
color
:
#f98119
;
margin-left
:
23rpx
;
}
.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 = {
/**
* 到货记录
* */
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) => {
const
oa_skey
=
uni
.
getStorageSync
(
'oa_skey'
)
||
''
;
var
params
=
Object
.
assign
(
param
,
{
pf
:
20
is_mobile
:
1
});
//是否启动加载
...
...
@@ -64,7 +64,19 @@ const getPlatform = () => {
return
platform
;
}
/**
* 来创建指定长度且所有元素都被初始化为 false 的数组
*/
const
createArray
=
(
length
,
value
)
=>
{
return
Array
(
length
).
fill
(
value
);
}
module
.
exports
=
{
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