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
13806e28
authored
Jun 15, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
打印
parent
f92e3ba0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
5 deletions
pages/stockRecheck/print.vue
pages/stockRecheck/print.vue
View file @
13806e28
...
@@ -190,26 +190,35 @@
...
@@ -190,26 +190,35 @@
<view
class=
"form-input"
style=
"width: 48%;"
>
<view
class=
"form-input"
style=
"width: 48%;"
>
<view
class=
"input-title"
>
<view
class=
"input-title"
>
<text
class=
"input-title-t1"
>
*
</text>
<text
class=
"input-title-t1"
>
*
</text>
<text
class=
"input-title-t2"
>
国家:
</text>
</view>
<view
class=
"input-box"
><input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入"
v-model=
"formParams.country"
/></view>
</view>
<view
class=
"form-input"
style=
"width: 48%;"
>
<view
class=
"input-title"
>
<text
class=
"input-title-t1"
v-if=
"company_id == 1"
>
*
</text>
<text
class=
"input-title-t2"
>
省:
</text>
<text
class=
"input-title-t2"
>
省:
</text>
</view>
</view>
<view
class=
"input-box"
><input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入"
v-model=
"formParams.province"
/></view>
<view
class=
"input-box"
><input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入"
v-model=
"formParams.province"
/></view>
</view>
</view>
</view>
<view
class=
"row bothSide verCenter"
>
<view
class=
"form-input"
style=
"width: 48%;"
>
<view
class=
"form-input"
style=
"width: 48%;"
>
<view
class=
"input-title"
>
<view
class=
"input-title"
>
<text
class=
"input-title-t1"
>
*
</text>
<text
class=
"input-title-t1"
v-if=
"company_id == 1"
>
*
</text>
<text
class=
"input-title-t2"
>
市:
</text>
<text
class=
"input-title-t2"
>
市:
</text>
</view>
</view>
<view
class=
"input-box"
><input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入"
v-model=
"formParams.city"
/></view>
<view
class=
"input-box"
><input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入"
v-model=
"formParams.city"
/></view>
</view>
</view>
</view>
<view
class=
"row bothSide verCenter"
>
<view
class=
"form-input"
style=
"width: 48%;"
>
<view
class=
"form-input"
style=
"width: 48%;"
>
<view
class=
"input-title"
>
<view
class=
"input-title"
>
<text
class=
"input-title-t1"
>
*
</text>
<text
class=
"input-title-t1"
v-if=
"company_id == 1"
>
*
</text>
<text
class=
"input-title-t2"
>
区:
</text>
<text
class=
"input-title-t2"
>
区:
</text>
</view>
</view>
<view
class=
"input-box"
><input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入"
v-model=
"formParams.district"
/></view>
<view
class=
"input-box"
><input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入"
v-model=
"formParams.district"
/></view>
</view>
</view>
</view>
<view
class=
"row bothSide verCenter"
>
<view
class=
"form-input"
style=
"width: 48%;"
>
<view
class=
"form-input"
style=
"width: 48%;"
>
<view
class=
"input-title"
>
<view
class=
"input-title"
>
<text
class=
"input-title-t1"
>
*
</text>
<text
class=
"input-title-t1"
>
*
</text>
...
@@ -256,6 +265,7 @@ export default {
...
@@ -256,6 +265,7 @@ export default {
shipping_code
:
''
,
//物流单号
shipping_code
:
''
,
//物流单号
is_receipt
:
''
,
//是否签回单
is_receipt
:
''
,
//是否签回单
consignee
:
''
,
consignee
:
''
,
country
:
''
,
mobile
:
''
,
mobile
:
''
,
province
:
''
,
province
:
''
,
city
:
''
,
city
:
''
,
...
@@ -365,7 +375,7 @@ export default {
...
@@ -365,7 +375,7 @@ export default {
* 获取列表数据
* 获取列表数据
*/
*/
getData
()
{
getData
()
{
this
.
request
(
API
.
getToPrintList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
...
this
.
searchParams
},
fals
e
).
then
(
res
=>
{
this
.
request
(
API
.
getToPrintList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
...
this
.
searchParams
},
tru
e
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
list
=
res
.
data
.
list
;
this
.
list
=
res
.
data
.
list
;
}
else
{
}
else
{
...
@@ -398,6 +408,7 @@ export default {
...
@@ -398,6 +408,7 @@ export default {
this
.
formParams
.
shipping_code
=
res
.
data
.
stock_out_address
.
shipping_code
;
//物流单号
this
.
formParams
.
shipping_code
=
res
.
data
.
stock_out_address
.
shipping_code
;
//物流单号
this
.
formParams
.
country
=
res
.
data
.
stock_out_address
.
country
;
this
.
formParams
.
consignee
=
res
.
data
.
stock_out_address
.
consignee
;
this
.
formParams
.
consignee
=
res
.
data
.
stock_out_address
.
consignee
;
this
.
formParams
.
mobile
=
res
.
data
.
stock_out_address
.
mobile
;
this
.
formParams
.
mobile
=
res
.
data
.
stock_out_address
.
mobile
;
this
.
formParams
.
province
=
res
.
data
.
stock_out_address
.
province
;
this
.
formParams
.
province
=
res
.
data
.
stock_out_address
.
province
;
...
@@ -416,6 +427,30 @@ export default {
...
@@ -416,6 +427,30 @@ export default {
* 更新交货信息
* 更新交货信息
*/
*/
updateDeliveryInfo
(
stock_out_id
)
{
updateDeliveryInfo
(
stock_out_id
)
{
if
(
this
.
company_id
==
1
)
{
if
(
!
this
.
formParams
.
province
)
{
uni
.
showToast
({
title
:
'请填写省'
,
icon
:
'none'
});
return
false
;
}
if
(
!
this
.
formParams
.
city
)
{
uni
.
showToast
({
title
:
'请填写市'
,
icon
:
'none'
});
return
false
;
}
if
(
!
this
.
formParams
.
district
)
{
uni
.
showToast
({
title
:
'请填写区'
,
icon
:
'none'
});
return
false
;
}
}
this
.
request
(
this
.
request
(
API
.
updateDeliveryInfo
,
API
.
updateDeliveryInfo
,
'POST'
,
'POST'
,
...
...
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