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
c5145658
authored
Aug 22, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
3f4db0f7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
12 deletions
pages/picking/sort.vue
pages/stockRecheck/sort.vue
pages/tallyReceive/index.vue
pages/tallyReceive/operate.vue
pages/picking/sort.vue
View file @
c5145658
...
@@ -1132,9 +1132,6 @@
...
@@ -1132,9 +1132,6 @@
// 获取压缩后的图片路径
// 获取压缩后的图片路径
const
compressedImagePath
=
compressedRes
.
tempFilePath
;
const
compressedImagePath
=
compressedRes
.
tempFilePath
;
// 将本地压缩路径添加到 image_list 中
this
.
image_list
.
push
(
compressedImagePath
);
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
this
.
img_upload_url
+
'/uploadImage?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage?sys_type=4'
,
...
@@ -1146,6 +1143,8 @@
...
@@ -1146,6 +1143,8 @@
},
},
success
:
uploadFileRes
=>
{
success
:
uploadFileRes
=>
{
console
.
log
(
'服务器上传图片成功:'
,
uploadFileRes
);
console
.
log
(
'服务器上传图片成功:'
,
uploadFileRes
);
// 将本地压缩路径添加到 image_list 中
this
.
image_list
.
push
(
compressedImagePath
);
uni
.
hideLoading
();
uni
.
hideLoading
();
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
if
(
data
.
code
===
0
)
{
if
(
data
.
code
===
0
)
{
...
...
pages/stockRecheck/sort.vue
View file @
c5145658
...
@@ -950,9 +950,6 @@
...
@@ -950,9 +950,6 @@
// 获取压缩后的图片路径
// 获取压缩后的图片路径
const
compressedImagePath
=
compressedRes
.
tempFilePath
;
const
compressedImagePath
=
compressedRes
.
tempFilePath
;
// 将本地压缩路径添加到 image_list 中
this
.
image_list
.
push
(
compressedImagePath
);
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
this
.
img_upload_url
+
'/uploadImage?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage?sys_type=4'
,
...
@@ -964,6 +961,9 @@
...
@@ -964,6 +961,9 @@
},
},
success
:
uploadFileRes
=>
{
success
:
uploadFileRes
=>
{
console
.
log
(
'服务器上传图片成功:'
,
uploadFileRes
);
console
.
log
(
'服务器上传图片成功:'
,
uploadFileRes
);
// 将本地压缩路径添加到 image_list 中
this
.
image_list
.
push
(
compressedImagePath
);
uni
.
hideLoading
();
uni
.
hideLoading
();
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
if
(
data
.
code
===
0
)
{
if
(
data
.
code
===
0
)
{
...
...
pages/tallyReceive/index.vue
View file @
c5145658
...
@@ -864,9 +864,6 @@
...
@@ -864,9 +864,6 @@
// 获取压缩后的图片路径
// 获取压缩后的图片路径
const
compressedImagePath
=
compressedRes
.
tempFilePath
;
const
compressedImagePath
=
compressedRes
.
tempFilePath
;
// 将本地压缩路径添加到 image_list 中
this
.
image_list
.
push
(
compressedImagePath
);
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
this
.
img_upload_url
+
'/uploadImage?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage?sys_type=4'
,
...
@@ -878,6 +875,9 @@
...
@@ -878,6 +875,9 @@
},
},
success
:
uploadFileRes
=>
{
success
:
uploadFileRes
=>
{
console
.
log
(
'服务器上传图片成功:'
,
uploadFileRes
);
console
.
log
(
'服务器上传图片成功:'
,
uploadFileRes
);
// 将本地压缩路径添加到 image_list 中
this
.
image_list
.
push
(
compressedImagePath
);
uni
.
hideLoading
();
uni
.
hideLoading
();
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
if
(
data
.
code
===
0
)
{
if
(
data
.
code
===
0
)
{
...
...
pages/tallyReceive/operate.vue
View file @
c5145658
...
@@ -784,9 +784,6 @@
...
@@ -784,9 +784,6 @@
// 获取压缩后的图片路径
// 获取压缩后的图片路径
const
compressedImagePath
=
compressedRes
.
tempFilePath
;
const
compressedImagePath
=
compressedRes
.
tempFilePath
;
// 将本地压缩路径添加到 image_list 中
this
.
image_list
.
push
(
compressedImagePath
);
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
this
.
img_upload_url
+
'/uploadImage?sys_type=4'
,
url
:
this
.
img_upload_url
+
'/uploadImage?sys_type=4'
,
...
@@ -798,6 +795,9 @@
...
@@ -798,6 +795,9 @@
},
},
success
:
uploadFileRes
=>
{
success
:
uploadFileRes
=>
{
console
.
log
(
'服务器上传图片成功:'
,
uploadFileRes
);
console
.
log
(
'服务器上传图片成功:'
,
uploadFileRes
);
// 将本地压缩路径添加到 image_list 中
this
.
image_list
.
push
(
compressedImagePath
);
uni
.
hideLoading
();
uni
.
hideLoading
();
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
if
(
data
.
code
===
0
)
{
if
(
data
.
code
===
0
)
{
...
...
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