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
02480e31
authored
May 29, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
【箱信息】中,“打包箱号”支持编辑。(不需限制出库单状态,有复核记录即可编辑箱号。编辑内容限制字母+数字+符号)
parent
8c15906a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
15 deletions
App.vue
pages/picking/record.vue
pages/picking/sort.vue
pages/stockRecheck/sort.vue
util/api.js
App.vue
View file @
02480e31
...
...
@@ -2,10 +2,9 @@
import
{
API
}
from
'@/util/api.js'
;
export
default
{
onLaunch
:
function
()
{
console
.
log
(
'App Launch'
);
},
onShow
:
function
()
{
console
.
log
(
'App Show 首页初始化...'
);
var
wms_version
=
uni
.
getStorageSync
(
'wms_version'
)
||
''
;
this
.
request
(
API
.
getLatestAppInfo
,
'POST'
,
{},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
@@ -30,7 +29,7 @@
});
},
onHide
:
function
()
{
console
.
log
(
'App Hide'
);
},
methods
:
{
//下载apk文件
...
...
pages/picking/record.vue
View file @
02480e31
...
...
@@ -273,7 +273,6 @@
this
.
resetChange
();
this
.
filter_id
=
[];
this
.
getData
();
this
.
closeDrawer
();
},
2000
);
}
else
{
uni
.
showModal
({
...
...
pages/picking/sort.vue
View file @
02480e31
...
...
@@ -701,6 +701,7 @@
}
},
onLoad
(
options
)
{
console
.
log
(
'页面加载触发'
)
this
.
stock_out_sn
=
options
.
stock_out_sn
||
''
;
this
.
searchParams
.
stock_out_id
=
options
.
stock_out_id
||
''
;
this
.
warehouse_id
=
options
.
warehouse_id
||
''
;
...
...
@@ -711,10 +712,15 @@
}
},
onShow
()
{
console
.
log
(
'页面显示触发'
);
if
(
this
.
noexebshowFalg
)
{
console
.
log
(
'页面加载数据...'
);
this
.
getData
();
}
},
onHide
()
{
console
.
log
(
'页面隐藏触发'
);
},
methods
:
{
/**
* @param {Object} e
...
...
@@ -1093,6 +1099,7 @@
uni
.
hideLoading
();
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
);
if
(
data
.
code
===
0
)
{
this
.
noexebshowFalg
=
true
;
this
.
image_list
.
push
({
pic_id
:
data
.
data
.
oss_image_id
,
small_image_url
:
data
.
data
.
small_image_url
,
...
...
@@ -1135,10 +1142,10 @@
* @param {Object} index
*/
previewChange
(
arr
,
index
)
{
this
.
noexebshowFalg
=
false
;
var
data
=
arr
.
map
(
item
=>
{
return
item
.
big_image_url
;
});
this
.
noexebshowFalg
=
false
;
uni
.
previewImage
({
current
:
index
,
urls
:
data
...
...
@@ -1191,7 +1198,7 @@
//赋值title
uni
.
setNavigationBarTitle
({
title
:
this
.
stock_out_sn
+
'拣货'
title
:
this
.
stock_out_sn
+
'
-
拣货'
});
// 在进行条件判断之前,保存原始的stock_in_batch_sn值
...
...
pages/stockRecheck/sort.vue
View file @
02480e31
...
...
@@ -605,7 +605,10 @@
<view
class=
"box-list"
>
<view
class=
"box-wrap"
v-for=
"(item, i) in packList"
:key=
"i"
>
<view
class=
"box-title row bothSide verCenter"
>
<text
class=
"t1"
>
打包箱号:
{{
item
.
box_name
}}
</text>
<view
class=
"row verCenter"
>
<text
class=
"t1"
>
打包箱号:
</text>
<input
type=
"text"
placeholder=
"箱号"
placeholder-style=
"color:#919399"
class=
"uni-input"
v-model=
"packList[i].box_name"
style=
"width: 78rpx;height: 25rpx;"
/>
</view>
<view>
<picker
@
change=
"bindPickerBoxChange($event, i)"
:value=
"index"
:range=
"packConfigList"
:range-key=
"'name'"
>
<view
class=
"row verCenter"
>
...
...
util/api.js
View file @
02480e31
//
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