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
0af74252
authored
Apr 09, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
87ce0175
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
7 deletions
pages/mine/login.vue
pages/picking/record.vue
pages/picking/sort.vue
pages/stockRecheck/record.vue
pages/stockRecheck/sort.vue
pages/tallyReceive/index.vue
pages/tallyReceive/operate.vue
pages/tallyReceive/record.vue
pages/mine/login.vue
View file @
0af74252
...
@@ -179,6 +179,7 @@
...
@@ -179,6 +179,7 @@
this
.
request
(
API
.
changeOrgId
,
'POST'
,
{
org_id
:
Number
(
this
.
index
)
+
1
},
false
).
then
(
res
=>
{
this
.
request
(
API
.
changeOrgId
,
'POST'
,
{
org_id
:
Number
(
this
.
index
)
+
1
},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
disabled
=
false
;
this
.
disabled
=
false
;
uni
.
setStorageSync
(
'img_upload_url'
,
res
.
data
.
img_upload_url
);
uni
.
showToast
({
uni
.
showToast
({
title
:
'登录成功'
,
title
:
'登录成功'
,
icon
:
'success'
icon
:
'success'
...
...
pages/picking/record.vue
View file @
0af74252
...
@@ -142,6 +142,7 @@
...
@@ -142,6 +142,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
img_upload_url
:
uni
.
getStorageSync
(
'img_upload_url'
)
||
'http://image.liexindev.net'
,
//oss系统
is_focus
:
true
,
//获取焦点动态化
is_focus
:
true
,
//获取焦点动态化
index
:
0
,
index
:
0
,
array
:
[
'全量搜索'
,
'旧标签'
],
array
:
[
'全量搜索'
,
'旧标签'
],
...
@@ -355,7 +356,7 @@
...
@@ -355,7 +356,7 @@
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
API
.
upload
+
'
?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage
?sys_type=4'
,
filePath
:
compressedImagePath
,
filePath
:
compressedImagePath
,
name
:
'file'
,
name
:
'file'
,
timeout
:
10000
,
timeout
:
10000
,
...
...
pages/picking/sort.vue
View file @
0af74252
...
@@ -635,6 +635,7 @@
...
@@ -635,6 +635,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
img_upload_url
:
uni
.
getStorageSync
(
'img_upload_url'
)
||
'http://image.liexindev.net'
,
//oss系统
isApp
:
uni
.
getSystemInfoSync
().
platform
===
'android'
||
uni
.
getSystemInfoSync
().
platform
===
'ios'
,
isApp
:
uni
.
getSystemInfoSync
().
platform
===
'android'
||
uni
.
getSystemInfoSync
().
platform
===
'ios'
,
is_print
:
false
,
//是否打印货品标签
is_print
:
false
,
//是否打印货品标签
old_Label
:
false
,
//旧标签默认false
old_Label
:
false
,
//旧标签默认false
...
@@ -1079,7 +1080,7 @@
...
@@ -1079,7 +1080,7 @@
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
API
.
upload
+
'
?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage
?sys_type=4'
,
filePath
:
compressedImagePath
,
filePath
:
compressedImagePath
,
name
:
'file'
,
name
:
'file'
,
timeout
:
10000
,
timeout
:
10000
,
...
...
pages/stockRecheck/record.vue
View file @
0af74252
...
@@ -144,6 +144,7 @@
...
@@ -144,6 +144,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
img_upload_url
:
uni
.
getStorageSync
(
'img_upload_url'
)
||
'http://image.liexindev.net'
,
//oss系统
is_focus
:
true
,
//获取焦点动态化
is_focus
:
true
,
//获取焦点动态化
index
:
0
,
index
:
0
,
array
:
[
'全量搜索'
,
'旧标签'
],
array
:
[
'全量搜索'
,
'旧标签'
],
...
@@ -362,7 +363,7 @@
...
@@ -362,7 +363,7 @@
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
API
.
upload
+
'
?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage
?sys_type=4'
,
filePath
:
compressedImagePath
,
filePath
:
compressedImagePath
,
name
:
'file'
,
name
:
'file'
,
timeout
:
10000
,
timeout
:
10000
,
...
...
pages/stockRecheck/sort.vue
View file @
0af74252
...
@@ -669,6 +669,7 @@
...
@@ -669,6 +669,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
img_upload_url
:
uni
.
getStorageSync
(
'img_upload_url'
)
||
'http://image.liexindev.net'
,
//oss系统
isApp
:
uni
.
getSystemInfoSync
().
platform
===
'android'
||
uni
.
getSystemInfoSync
().
platform
===
'ios'
,
isApp
:
uni
.
getSystemInfoSync
().
platform
===
'android'
||
uni
.
getSystemInfoSync
().
platform
===
'ios'
,
old_Label
:
false
,
//旧标签默认false
old_Label
:
false
,
//旧标签默认false
isFocus
:
true
,
isFocus
:
true
,
...
@@ -944,7 +945,7 @@
...
@@ -944,7 +945,7 @@
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
API
.
upload
+
'
?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage
?sys_type=4'
,
filePath
:
compressedImagePath
,
filePath
:
compressedImagePath
,
name
:
'file'
,
name
:
'file'
,
timeout
:
10000
,
timeout
:
10000
,
...
...
pages/tallyReceive/index.vue
View file @
0af74252
...
@@ -205,6 +205,7 @@
...
@@ -205,6 +205,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
img_upload_url
:
uni
.
getStorageSync
(
'img_upload_url'
)
||
'http://image.liexindev.net'
,
//oss系统
is_focus
:
true
,
//获取焦点动态化
is_focus
:
true
,
//获取焦点动态化
timer
:
null
,
// 用于存储计时器
timer
:
null
,
// 用于存储计时器
is_submit
:
true
,
is_submit
:
true
,
...
@@ -753,7 +754,7 @@
...
@@ -753,7 +754,7 @@
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
API
.
upload
+
'
?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage
?sys_type=4'
,
filePath
:
compressedImagePath
,
filePath
:
compressedImagePath
,
name
:
'file'
,
name
:
'file'
,
timeout
:
10000
,
timeout
:
10000
,
...
...
pages/tallyReceive/operate.vue
View file @
0af74252
...
@@ -352,6 +352,7 @@
...
@@ -352,6 +352,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
img_upload_url
:
uni
.
getStorageSync
(
'img_upload_url'
)
||
'http://image.liexindev.net'
,
//oss系统
is_focus
:
true
,
//获取焦点动态化
is_focus
:
true
,
//获取焦点动态化
is_watch
:
false
,
//是否看货
is_watch
:
false
,
//是否看货
is_print
:
false
,
//查询该销售单是否需要打印客户标签
is_print
:
false
,
//查询该销售单是否需要打印客户标签
...
@@ -735,7 +736,7 @@
...
@@ -735,7 +736,7 @@
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
API
.
upload
+
'
?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage
?sys_type=4'
,
filePath
:
compressedImagePath
,
filePath
:
compressedImagePath
,
name
:
'file'
,
name
:
'file'
,
timeout
:
10000
,
timeout
:
10000
,
...
...
pages/tallyReceive/record.vue
View file @
0af74252
...
@@ -407,6 +407,7 @@
...
@@ -407,6 +407,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
img_upload_url
:
uni
.
getStorageSync
(
'img_upload_url'
)
||
'http://image.liexindev.net'
,
//oss系统
is_focus
:
true
,
//获取焦点动态化
is_focus
:
true
,
//获取焦点动态化
page
:
1
,
page
:
1
,
limit
:
30
,
//分页限制数量
limit
:
30
,
//分页限制数量
...
@@ -911,7 +912,7 @@
...
@@ -911,7 +912,7 @@
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
API
.
upload
+
'
?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage
?sys_type=4'
,
filePath
:
compressedImagePath
,
filePath
:
compressedImagePath
,
name
:
'file'
,
name
:
'file'
,
timeout
:
10000
,
timeout
:
10000
,
...
...
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