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
e657d868
authored
Aug 15, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
ea10fd35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
26 deletions
pages/picking/sort.vue
util/api.js
pages/picking/sort.vue
View file @
e657d868
...
@@ -1145,6 +1145,7 @@
...
@@ -1145,6 +1145,7 @@
uni
.
hideLoading
();
uni
.
hideLoading
();
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
if
(
data
.
code
===
0
)
{
if
(
data
.
code
===
0
)
{
this
.
$forceUpdate
();
this
.
noexebshowFalg
=
true
;
this
.
noexebshowFalg
=
true
;
this
.
image_list
.
push
({
this
.
image_list
.
push
({
pic_id
:
data
.
data
.
oss_image_id
,
pic_id
:
data
.
data
.
oss_image_id
,
...
@@ -1353,15 +1354,15 @@
...
@@ -1353,15 +1354,15 @@
});
});
//当前登录组织为深贸电子才必填
//当前登录组织为深贸电子才必填
if
(
this
.
company_id
==
2
)
{
//
if (this.company_id == 2) {
if
(
pic_ids
<=
0
)
{
//
if (pic_ids
<=
0
)
{
uni
.
showToast
({
//
uni.showToast({
title
:
'请至少上传一张拣货图片'
,
//
title: '请至少上传一张拣货图片',
icon
:
'none'
//
icon: 'none'
});
//
});
return
false
;
//
return false;
}
//
}
}
//
}
this
.
request
(
API
.
pick
,
'POST'
,
{
this
.
request
(
API
.
pick
,
'POST'
,
{
...
@@ -1419,15 +1420,15 @@
...
@@ -1419,15 +1420,15 @@
});
});
//当前登录组织为深贸电子才必填
//当前登录组织为深贸电子才必填
if
(
this
.
company_id
==
2
)
{
//
if (this.company_id == 2) {
if
(
pic_ids
<=
0
)
{
//
if (pic_ids
<=
0
)
{
uni
.
showToast
({
//
uni.showToast({
title
:
'请至少上传一张拣货图片'
,
//
title: '请至少上传一张拣货图片',
icon
:
'none'
//
icon: 'none'
});
//
});
return
false
;
//
return false;
}
//
}
}
//
}
var
lock_ids
=
''
;
var
lock_ids
=
''
;
...
...
util/api.js
View file @
e657d868
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