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
4092497c
authored
Jul 03, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
ef0fd978
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
16 deletions
pages/arrivalRegister/index.vue
pages/arrivalRegister/registered.vue
pages/arrivalRegister/splitGoods.vue
pages/tallyReceive/index.vue
pages/tallyReceive/operate.vue
pages/tallyReceive/record.vue
util/api.js
pages/arrivalRegister/index.vue
View file @
4092497c
...
...
@@ -92,7 +92,7 @@
</view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
采购员:
</text>
<text
class=
"t1"
>
{{ item.stock_in_items[0].purchase_user }}
</text>
<text
class=
"t1"
>
{{ item.stock_in_items[0].purchase_user }}
/{{item.purchase_department_name}}
</text>
</view>
<view
class=
"bor row"
></view>
<view
class=
"text-item row verCenter"
>
...
...
pages/arrivalRegister/registered.vue
View file @
4092497c
...
...
@@ -41,6 +41,10 @@
<text
class=
"label"
>
物流单号:
</text>
<text
class=
"t1"
>
{{ item.tracking_no }}
</text>
</view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
采购员:
</text>
<text
class=
"t1"
>
{{ item.stock_in_items[0].purchase_user }}/{{item.purchase_department_name}}
</text>
</view>
<view
class=
"bor row"
></view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
入仓号:
</text>
...
...
pages/arrivalRegister/splitGoods.vue
View file @
4092497c
...
...
@@ -30,7 +30,7 @@
</
template
>
<!-- 货品名称 -->
<
template
v-if=
"index == 1"
>
<input
class=
"uni-input"
placeholder=
"请输入货品名称"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.goods_name"
@
input=
"handleInput
(2
, $event)"
maxlength=
"-1"
/>
<input
class=
"uni-input"
placeholder=
"请输入货品名称"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.goods_name"
@
input=
"handleInput
Time(1
, $event)"
maxlength=
"-1"
/>
</
template
>
<!-- fedex -->
<
template
v-else-if=
"index == 2"
>
...
...
@@ -135,7 +135,7 @@
<text
class=
"label-title"
>
物流单号:
</text>
</view>
<view
class=
"input-box"
>
<input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入物流单号"
v-model=
"formParams.logistics_sn"
/>
<input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入物流单号"
v-model=
"formParams.logistics_sn"
@
input=
"handleInput(4, $event)"
/>
</view>
</view>
<view
class=
"input-wrap column"
style=
"margin-top: 20rpx;"
>
...
...
@@ -347,9 +347,11 @@
if
(
type
==
1
)
{
//全量搜索
this
.
searchParams
.
shipment_number
=
val
;
this
.
input_flag
=
true
;
}
else
if
(
type
==
2
)
{
//货品名称
this
.
searchParams
.
goods_name
=
val
;
this
.
input_flag
=
true
;
}
else
if
(
type
==
3
)
{
//FedEx
if
(
val
.
length
>
22
)
{
...
...
@@ -358,14 +360,45 @@
}
else
{
this
.
searchParams
.
shipment_number
=
val
;
}
}
this
.
input_flag
=
true
;
}
else
if
(
type
==
4
)
{
//物流单号
if
(
this
.
formParams
.
logistics_company
==
'联邦快递'
)
{
if
(
val
.
length
>
22
)
{
let
last22
=
val
.
slice
(
22
);
// 截取后22位
this
.
formParams
.
logistics_sn
=
last22
;
}
else
{
this
.
formParams
.
logistics_sn
=
val
;
}
}
}
}
else
{
this
.
input_flag
=
false
;
}
this
.
getData
();
},
500
),
/**
* 货品查询特殊处理
* @param {Object} type
* @param {Object} event
*/
handleInputTime
:
debounce
(
function
(
type
,
event
)
{
var
val
=
event
.
target
.
value
;
this
.
searchParams
.
shipment_number
=
''
;
this
.
searchParams
.
goods_name
=
''
;
this
.
resetChange
();
if
(
val
)
{
if
(
type
==
1
)
{
//货品名称
this
.
searchParams
.
goods_name
=
val
;
this
.
input_flag
=
true
;
}
}
else
{
this
.
input_flag
=
false
;
}
this
.
getData
();
},
1000
),
/**
* 获取列表数据
*/
getData
()
{
...
...
pages/tallyReceive/index.vue
View file @
4092497c
...
...
@@ -102,7 +102,7 @@
</view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
采购员:
</text>
<text
class=
"tt"
>
{{ item.purchase_user }}
</text>
<text
class=
"tt"
>
{{ item.purchase_user }}
/{{item.purchase_department_name}}
</text>
</view>
<view
class=
"text-item row"
>
<text
class=
"label"
>
客户:
</text>
...
...
pages/tallyReceive/operate.vue
View file @
4092497c
...
...
@@ -144,7 +144,7 @@
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
采购员:
</text>
<text
class=
"tt"
>
{{ detail.purchase_user }}
</text>
<text
class=
"tt"
>
{{ detail.purchase_user }}
/{{detail.purchase_department_name}}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
客户:
</text>
...
...
pages/tallyReceive/record.vue
View file @
4092497c
...
...
@@ -258,7 +258,7 @@
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
采购员:
</text>
<text
class=
"tt"
>
{{
detail
.
purchase_user
}}
</text>
<text
class=
"tt"
>
{{
detail
.
purchase_user
}}
/
{{
detail
.
purchase_department_name
}}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
供应商:
</text>
...
...
@@ -382,7 +382,7 @@
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
采购员:
</text>
<text
class=
"tt"
>
{{
detail
.
purchase_user
}}
</text>
<text
class=
"tt"
>
{{
detail
.
purchase_user
}}
/
{{
detail
.
purchase_department_name
}}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
客户:
</text>
...
...
util/api.js
View file @
4092497c
//
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