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
0da9fbda
authored
Mar 19, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
9ab5f6e0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
11 deletions
pages/tallyReceive/index.vue
util/api.js
pages/tallyReceive/index.vue
View file @
0da9fbda
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</picker>
</picker>
</view>
</view>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<view
class=
"row verCenter"
style=
"width: 100%;"
>
<text
class=
"iconfont icon-juxing1"
></text>
<text
class=
"iconfont icon-juxing1"
></text>
<template
v-if=
"index == 0"
>
<template
v-if=
"index == 0"
>
<input
class=
"uni-input"
placeholder=
"请扫描或输入查询"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.mobile_wait_tally_all_search"
@
input=
"handleInput(1, $event)"
/>
<input
class=
"uni-input"
placeholder=
"请扫描或输入查询"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.mobile_wait_tally_all_search"
@
input=
"handleInput(1, $event)"
/>
...
@@ -20,19 +20,19 @@
...
@@ -20,19 +20,19 @@
<input
class=
"uni-input"
placeholder=
"请输入入仓号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_with_stock_in_items_inhouse"
@
input=
"handleInput(2, $event)"
maxlength=
"8"
/>
<input
class=
"uni-input"
placeholder=
"请输入入仓号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_with_stock_in_items_inhouse"
@
input=
"handleInput(2, $event)"
maxlength=
"8"
/>
</
template
>
</
template
>
<
template
v-else-if=
"index == 2"
>
<
template
v-else-if=
"index == 2"
>
<input
class=
"uni-input"
placeholder=
"请输入FedEx"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.tracking_no"
@
input=
"handleInput(0, $event)"
style=
"width: 400rpx;"
/>
<input
class=
"uni-input"
placeholder=
"请输入FedEx"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.tracking_no"
@
input=
"handleInput(0, $event)"
/>
</
template
>
</
template
>
<
template
v-else-if=
"index == 3"
>
<
template
v-else-if=
"index == 3"
>
<input
class=
"uni-input"
placeholder=
"请输入DigKey"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.code_type"
@
input=
"handleInputChange($event)"
style=
"width: 400rpx;"
/>
<input
class=
"uni-input"
placeholder=
"请输入DigKey"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.code_type"
@
input=
"handleInputChange($event)"
0
/>
</
template
>
</
template
>
<
template
v-else-if=
"index == 4"
>
<
template
v-else-if=
"index == 4"
>
<input
class=
"uni-input"
placeholder=
"请输入Rochester"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.code_type"
@
input=
"handleInputChange($event)"
style=
"width: 400rpx;"
/>
<input
class=
"uni-input"
placeholder=
"请输入Rochester"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.code_type"
@
input=
"handleInputChange($event)"
/>
</
template
>
</
template
>
<
template
v-else-if=
"index == 5"
>
<
template
v-else-if=
"index == 5"
>
<input
class=
"uni-input"
placeholder=
"请输入TME"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.code_type"
@
input=
"handleInputChange($event)"
style=
"width: 400rpx;"
/>
<input
class=
"uni-input"
placeholder=
"请输入TME"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.code_type"
@
input=
"handleInputChange($event)"
/>
</
template
>
</
template
>
<
template
v-else-if=
"index == 6"
>
<
template
v-else-if=
"index == 6"
>
<input
class=
"uni-input"
placeholder=
"请输入Chip1stop"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.code_type"
@
input=
"handleInputChange($event)"
style=
"width: 400rpx;"
/>
<input
class=
"uni-input"
placeholder=
"请输入Chip1stop"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.code_type"
@
input=
"handleInputChange($event)"
/>
</
template
>
</
template
>
</view>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(1)"
v-if=
"input_flag"
></text>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(1)"
v-if=
"input_flag"
></text>
...
@@ -567,10 +567,12 @@
...
@@ -567,10 +567,12 @@
});
});
}
}
//匹配到内容才开始调接口
//匹配到内容才开始调接口
if
(
!
result
)
{
if
(
result
!=
''
)
{
this
.
request
(
API
.
identifyQrCodeNumAndSn
,
'POST'
,
{
code_str
:
result
,
code_type
:
code_type
},
true
).
then
(
res
=>
{
this
.
request
(
API
.
analyzeQRCode
,
'POST'
,
{
data
:
result
,
type
:
'DigKey'
},
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
searchParams
.
goods_name
=
res
.
data
.
sn
;
//赋值检索出来的型号
this
.
searchParams
.
goods_name
=
res
.
data
.
model
;
//赋值检索出来的型号
this
.
list
=
[];
this
.
page
=
1
;
this
.
getData
();
this
.
getData
();
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
...
...
util/api.js
View file @
0da9fbda
...
@@ -2,12 +2,14 @@ const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
...
@@ -2,12 +2,14 @@ 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_Queue
=
'http://192.168.1.252:16590'
;
//queue
// 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_BASE_Queue = 'http://queue.ichunt.net'; //queue系统
const
API
=
{
const
API
=
{
/**
/**
...
@@ -354,7 +356,11 @@ const API = {
...
@@ -354,7 +356,11 @@ const API = {
/**
/**
* 修改理货照片
* 修改理货照片
* */
* */
changeStockTallyImages
:
API_BASE
+
'/api/stockIn/tallyReceive/changeStockTallyImages'
changeStockTallyImages
:
API_BASE
+
'/api/stockIn/tallyReceive/changeStockTallyImages'
,
/**
* digikey扫码识别型号
* */
analyzeQRCode
:
API_BASE_Queue
+
'/analyzeQRCode'
}
}
...
...
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