Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
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
57201723
authored
Sep 27, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单追踪/已采购订单:查看订单明细会保留之前查看的明细
parent
e5bf9ac3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
31 deletions
src/App.vue
src/views/OrderTrack/goodsDetail.vue
src/App.vue
View file @
57201723
<
template
>
<div
id=
"app"
>
<keep-alive
exclude=
"InquireDetail,ListDetail"
>
<keep-alive
exclude=
"InquireDetail,ListDetail
,orderTrackGoodsDetail
"
>
<router-view
class=
"router-view"
></router-view>
</keep-alive>
</div>
...
...
src/views/OrderTrack/goodsDetail.vue
View file @
57201723
...
...
@@ -4,28 +4,28 @@
<div
class=
"xktitle"
>
基本信息
</div>
<el-row
:gutter=
"20"
class=
"infoboxpx"
>
<el-col
:span=
"6"
>
<div
class=
""
>
订货公司:
{{
infos
.
company_name
}}
</div>
<div
class=
""
>
订货公司:
{{
infos
.
company_name
}}
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
""
>
订单状态:
{{
infos
.
status_val
}}
</div>
<div
class=
""
>
订单状态:
{{
infos
.
status_val
}}
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
""
>
收款状态:
{{
infos
.
pay_status_val
}}
</div>
<div
class=
""
>
收款状态:
{{
infos
.
pay_status_val
}}
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
""
>
发货状态:
{{
infos
.
shipping_status_val
}}
</div>
<div
class=
""
>
发货状态:
{{
infos
.
shipping_status_val
}}
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
""
>
订单来源:
{{
infos
.
source_type
}}
</div>
<div
class=
""
>
订单来源:
{{
infos
.
source_type
}}
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
""
>
订单人员:
{{
infos
.
purchase_name
}}
</div>
<div
class=
""
>
订单人员:
{{
infos
.
purchase_name
}}
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
""
>
订单总额:
{{
infos
.
purchase_amount
}}
</div>
<div
class=
""
>
订单总额:
{{
infos
.
purchase_amount
}}
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
""
>
币种:
{{
infos
.
currency_val
}}
</div>
<div
class=
""
>
币种:
{{
infos
.
currency_val
}}
</div>
</el-col>
</el-row>
<div
class=
"xktitle"
style=
"margin-bottom:20px;"
>
型号明细
</div>
...
...
@@ -44,44 +44,40 @@
</el-table>
</div>
</div>
<Menu
/>
<Menu
/>
</section>
</
template
>
<
script
>
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Table
,
TableColumn
,
Message
,
Pagination
,
Row
,
Col
}
from
'element-ui'
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Col
,
Message
,
Pagination
,
Row
,
Table
,
TableColumn
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
;
Vue
.
use
(
Pagination
);
Vue
.
use
(
TableColumn
).
use
(
Table
).
use
(
Row
).
use
(
Col
);
export
default
{
Vue
.
prototype
.
$message
=
Message
;
Vue
.
use
(
Pagination
);
Vue
.
use
(
TableColumn
).
use
(
Table
).
use
(
Row
).
use
(
Col
);
export
default
{
name
:
"orderTrackGoodsDetail"
,
data
()
{
return
{
infos
:
{},
infos
:
{},
tableData
:
""
};
},
created
()
{
this
.
getData
();
},
computed
:
{},
computed
:
{
id
:
function
()
{
return
this
.
$route
.
query
.
purchase_id
}
},
methods
:
{
getData
()
{
this
.
$http
(
'post'
,
"/api/purchase/purOrderDetail"
,
{
id
:
this
.
$route
.
query
.
purchase_id
id
:
this
.
id
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
infos
=
res
.
data
.
purchase_info
this
.
infos
=
res
.
data
.
purchase_info
;
this
.
tableData
=
res
.
data
.
purchase_item_list
||
[];
}
else
{
this
.
$message
({
...
...
@@ -95,8 +91,8 @@
components
:
{
Menu
}
};
};
</
script
>
<
style
scoped
>
@import
"../../assets/css/goods/goods.min.css"
;
@import
"../../assets/css/goods/goods.min.css"
;
</
style
>
\ No newline at end of file
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