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
0711bc63
authored
Aug 23, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复图片重复bug
parent
d165df6c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
11 deletions
pages/picking/sort.vue
pages/stockRecheck/sort.vue
pages/tallyReceive/index.vue
util/api.js
pages/picking/sort.vue
View file @
0711bc63
...
...
@@ -937,7 +937,8 @@
tab
(
index
)
{
this
.
curr
=
index
;
this
.
getData
();
this
.
image_list
=
[];
this
.
image_list
=
[];
//清空图片列表
this
.
server_image_list
=
[];
//清空服务器图片列表
},
/**
* 展开弹窗
...
...
@@ -954,6 +955,7 @@
this
.
picked_num
=
Number
(
data
.
lock_qty
)
-
Number
(
data
.
pick_qty
);
this
.
formParams
.
pick_qty
=
Number
(
data
.
lock_qty
)
-
Number
(
data
.
pick_qty
);
this
.
image_list
=
[];
//清空图片列表
this
.
server_image_list
=
[];
//清空服务器图片列表
this
.
is_print
=
false
;
//重置勾选状态
//如果是散则自动勾选
...
...
@@ -973,6 +975,7 @@
this
.
$refs
.
showRightPack
.
open
();
this
.
detailContainer
=
data
;
this
.
image_list
=
[];
//清空图片列表
this
.
server_image_list
=
[];
//清空服务器图片列表
this
.
lock_ids
=
data
.
list
.
map
(
function
(
item
)
{
return
item
.
lock_id
;
});
...
...
@@ -988,6 +991,7 @@
this
.
formParams
.
pick_remark
=
''
;
this
.
$refs
.
showRightPackMultiPick
.
open
();
this
.
image_list
=
[];
//清空图片列表
this
.
server_image_list
=
[];
//清空服务器图片列表
this
.
is_print
=
false
;
//重置勾选状态
//先重置计数器
...
...
pages/stockRecheck/sort.vue
View file @
0711bc63
...
...
@@ -1199,7 +1199,8 @@
*/
tab
(
index
)
{
this
.
curr
=
index
;
this
.
image_list
=
[];
this
.
image_list
=
[];
//清空图片列表
this
.
server_image_list
=
[];
//清空服务器图片列表
this
.
getData
();
},
/**
...
...
@@ -1443,11 +1444,13 @@
this
.
detail
=
data
;
this
.
formParams
.
recheck_qty
=
data
.
no_recheck_qty
;
this
.
image_list
=
[];
//清空图片列表
this
.
server_image_list
=
[];
//清空服务器图片列表
}
else
if
(
type
==
2
)
{
//按容器复核
this
.
$refs
.
showRightPack
.
open
();
this
.
detailContainer
=
data
;
this
.
image_list
=
[];
//清空图片列表
this
.
server_image_list
=
[];
//清空服务器图片列表
this
.
stock_out_item_ids
=
data
.
list
.
map
(
function
(
item
)
{
return
item
.
stock_out_item_id
;
});
...
...
@@ -1463,6 +1466,7 @@
this
.
stock_out_item_ids
=
this
.
filter_id
;
this
.
$refs
.
showRightAll
.
open
();
this
.
image_list
=
[];
//清空图片列表
this
.
server_image_list
=
[];
//清空服务器图片列表
}
},
/**
...
...
pages/tallyReceive/index.vue
View file @
0711bc63
...
...
@@ -810,7 +810,8 @@
});
return
false
;
}
this
.
image_list
=
[];
//清空缓存的图片集合
this
.
image_list
=
[];
//清空图片列表
this
.
server_image_list
=
[];
//清空服务器图片列表
this
.
formParams
.
image_ids
=
''
;
//每次打开先清空图片集合
this
.
formParams
.
tally_remark
=
''
;
//每次打开先清空理货备注
this
.
$refs
.
showRight
.
open
();
...
...
util/api.js
View file @
0711bc63
const
API_BASE_USER
=
'http://user.liexindev.net'
;
//用户系统
const
API_BASE_PUR
=
'http://pur.liexindev.net'
;
//采购系统
const
API_BASE
=
'http://wms.liexindev.net'
;
//WMS系统
const
API_BASE_OSS
=
'http://image.liexindev.net'
;
//oss系统
//
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
//
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
//
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
//
const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
//
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
//
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
//
const API_BASE = 'https://wms.ichunt.net'; //WMS系统
//
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const
API_BASE_USER
=
'https://user.ichunt.net'
;
//用户系统
const
API_BASE_PUR
=
'https://purchase.ichunt.net'
;
//采购系统
const
API_BASE
=
'https://wms.ichunt.net'
;
//WMS系统
const
API_BASE_OSS
=
'https://image.ichunt.net'
;
//oss系统
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