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
ef0fd978
authored
Jul 03, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
19263432
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
10 deletions
pages/arrivalRegister/splitGoods.vue
util/api.js
pages/arrivalRegister/splitGoods.vue
View file @
ef0fd978
...
@@ -140,6 +140,15 @@
...
@@ -140,6 +140,15 @@
</view>
</view>
<view
class=
"input-wrap column"
style=
"margin-top: 20rpx;"
>
<view
class=
"input-wrap column"
style=
"margin-top: 20rpx;"
>
<view
class=
"row"
>
<view
class=
"row"
>
<text
style=
"color: red;font-size: 17rpx;"
>
*
</text>
<text
class=
"label-title"
>
件数:
</text>
</view>
<view
class=
"input-box"
>
<input
type=
"number"
inputmode=
"numeric"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入件数"
v-model=
"formParams.num"
/>
</view>
</view>
<view
class=
"input-wrap column"
style=
"margin-top: 20rpx;"
>
<view
class=
"row"
>
<text
class=
"label-title"
>
其他信息:
</text>
<text
class=
"label-title"
>
其他信息:
</text>
</view>
</view>
<view
class=
"input-box"
>
<view
class=
"input-box"
>
...
@@ -149,7 +158,7 @@
...
@@ -149,7 +158,7 @@
<view
class=
"pack"
>
<view
class=
"pack"
>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view
class=
"row verCenter"
>
<view
class=
"row verCenter"
>
<text
style=
"color: red;"
>
*
</text>
<text
style=
"color: red;"
v-if=
"formParams.register_type == 2"
>
*
</text>
<text>
登记照片:
</text>
<text>
登记照片:
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
</view>
</view>
...
@@ -213,7 +222,8 @@
...
@@ -213,7 +222,8 @@
logistics_company
:
''
,
logistics_company
:
''
,
logistics_sn
:
''
,
logistics_sn
:
''
,
other_info
:
''
,
other_info
:
''
,
register_pic
:
''
register_pic
:
''
,
num
:
''
},
},
searchParams
:
{
searchParams
:
{
shipment_number
:
''
,
//物流单号
shipment_number
:
''
,
//物流单号
...
@@ -516,6 +526,15 @@
...
@@ -516,6 +526,15 @@
return
false
;
return
false
;
}
}
}
}
if
(
!
this
.
formParams
.
num
)
{
uni
.
showToast
({
title
:
'请输入件数'
,
icon
:
'none'
});
return
false
;
}
//异常登记才必须上传登记照片
if
(
this
.
formParams
.
register_type
==
2
)
{
if
(
!
this
.
formParams
.
register_pic
)
{
if
(
!
this
.
formParams
.
register_pic
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'请上传登记照片'
,
title
:
'请上传登记照片'
,
...
@@ -523,6 +542,7 @@
...
@@ -523,6 +542,7 @@
});
});
return
false
;
return
false
;
}
}
}
this
.
request
(
API
.
addSeparateStockInRegister
,
'POST'
,
this
.
formParams
,
true
).
then
(
res
=>
{
this
.
request
(
API
.
addSeparateStockInRegister
,
'POST'
,
this
.
formParams
,
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
uni
.
showToast
({
uni
.
showToast
({
...
...
util/api.js
View file @
ef0fd978
const
API_BASE_USER
=
'http://user.liexindev.net'
;
//用户系统
//
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
const
API_BASE_PUR
=
'http://pur.liexindev.net'
;
//采购系统
//
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
const
API_BASE
=
'http://wms.liexindev.net'
;
//WMS系统
//
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
const
API_BASE_OSS
=
'http://image.liexindev.net'
;
//oss系统
//
const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
//
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
const
API_BASE_USER
=
'https://user.ichunt.net'
;
//用户系统
//
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
const
API_BASE_PUR
=
'https://purchase.ichunt.net'
;
//采购系统
//
const API_BASE = 'https://wms.ichunt.net'; //WMS系统
const
API_BASE
=
'https://wms.ichunt.net'
;
//WMS系统
//
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const
API_BASE_OSS
=
'https://image.ichunt.net'
;
//oss系统
const
API
=
{
const
API
=
{
...
...
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