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
4bfcf2f8
authored
Dec 19, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
到访登记代码优化
parent
2dcb7512
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
35 deletions
pages/arrivalRegister/index.vue
util/api.js
pages/arrivalRegister/index.vue
View file @
4bfcf2f8
...
...
@@ -46,32 +46,7 @@
<input
class=
"uni-input"
placeholder=
"请输入FedEx"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.tracking_no"
@
input=
"handleInput(3, $event)"
style=
"width: 400rpx;"
/>
</
template
>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
</view>
<view
class=
"search-box row bothSide verCenter"
v-if=
"false"
>
<view
class=
"sn row rowCenter verCenter"
>
<picker
@
change=
"bindPickerChange"
:value=
"index"
:range=
"array"
>
<view
class=
"row verCenter"
>
<view
class=
"uni-input"
>
{{ array[index] }}
</view>
<view
class=
"uni-arrow"
></view>
</view>
</picker>
</view>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<
template
v-if=
"index == 0"
>
<input
class=
"uni-input"
placeholder=
"请扫描或输入号码"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.mobile_register_all_search"
@
input=
"handleInput(1, $event)"
/>
</
template
>
<
template
v-else-if=
"index == 1"
>
<input
class=
"uni-input"
placeholder=
"请输入入仓号"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.stock_in_with_stock_in_items_inhouse"
@
input=
"handleInput(2, $event)"
:maxlength=
"maxInputLength"
/>
</
template
>
<
template
v-else-if=
"index == 2"
>
<input
class=
"uni-input"
placeholder=
"请输入FedEx"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.tracking_no"
@
input=
"handleInput(3, $event)"
style=
"width: 400rpx;"
/>
</
template
>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
</view>
</view>
</view>
s
<!-- 列表数据 -->
<view
class=
"list row bothSide"
v-if=
"list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in list"
:key=
"index"
:class=
"{ curr: filter_list[index] }"
>
...
...
@@ -132,6 +107,7 @@
<text
class=
"iconfont icon-a-juxing21"
></text>
<text
class=
"text"
>
查不到当前数据
</text>
</view>
<!-- 底部按钮bar部分 -->
<view
class=
"fix-btn row verCenter"
>
<view
class=
"btn3 row rowCenter verCenter"
@
click=
"allChnage()"
>
<text
class=
"check-box-icon"
:class=
"{ curr: filter_list.length > 0 && filter_list.length == filter_id.length }"
></text>
...
...
@@ -173,7 +149,7 @@
<text>
货品信息
</text>
</
template
>
</view>
<!--
区分深圳自营和
非深圳自营 -->
<!-- 非深圳自营 -->
<
template
v-if=
"curr == 0"
>
<view
class=
"drawer-list"
v-if=
"detail.stock_in_items"
>
<scroll-view
style=
"max-height: 755rpx"
scroll-y=
"true"
>
...
...
@@ -204,6 +180,7 @@
</view>
<view
class=
"time"
>
创建时间:
{{
detail
.
create_time_cn
}}
</view>
</
template
>
<!-- 深圳自营 -->
<
template
v-else
>
<view
class=
"drawer-list"
v-if=
"zyGoodsData"
>
<scroll-view
style=
"max-height: 755rpx"
scroll-y=
"true"
>
...
...
util/api.js
View file @
4bfcf2f8
//
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