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
8b015be6
authored
Sep 29, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单追踪/已采购订单:查看订单明细会保留之前查看的明细
parent
9a7397a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
13 deletions
src/views/List/inquireDetail.vue
src/views/OrderTrack/goodsDetail.vue
src/views/List/inquireDetail.vue
View file @
8b015be6
...
...
@@ -100,8 +100,7 @@
<el-table
:key=
"2"
:data=
"tableData"
border
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
label=
"操作"
width=
"108"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span
class=
"dcg"
:class=
"
{'disabled':scope.row.disabled}"
@click="handle(scope.$index, scope.row)">确认
</span>
<span
class=
"dcg"
:class=
"
{'disabled':scope.row.disabled}" @click="handle(scope.$index, scope.row)">确认
</span>
</
template
>
</el-table-column>
<el-table-column
fixed
prop=
"goods_name"
label=
"型号"
width=
"180"
></el-table-column>
...
...
@@ -156,8 +155,7 @@
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next,jumper"
:page-size=
"limit"
:total=
"total"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
<el-pagination
layout=
"prev, pager, next,jumper"
:page-size=
"limit"
:total=
"total"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</template>
<!--历史报价-->
<
template
v-else
>
...
...
@@ -577,7 +575,10 @@ export default {
}
this
.
checkBind
(
id_arr
.
join
(
","
))
}
else
{
this
.
$message
(
res
.
msg
);
this
.
$message
({
message
:
res
.
msg
,
type
:
'warning'
});
}
})
},
...
...
@@ -868,15 +869,13 @@ export default {
message
:
'已绑定,不能重复操作'
,
type
:
'warning'
});
return
return
;
}
if
(
this
.
active
==
1
)
{
this
.
currentDataId
=
row
.
id
}
else
{
this
.
currentDataId
=
row
.
goods_id
}
this
.
title
=
this
.
active
==
1
?
'确认-历史报价'
:
'确认-匹配库存'
;
this
.
dialogVisible
=
true
;
this
.
ruleForm
.
quote_id
=
''
;
...
...
@@ -898,7 +897,10 @@ export default {
this
.
ruleForm
.
mpq
=
datap_
.
mpq
;
this
.
ruleForm
.
quote_number
=
datap_
.
quote_number
;
}
else
{
this
.
$message
(
res
.
msg
);
this
.
$message
({
message
:
res
.
msg
,
type
:
'warning'
});
}
})
...
...
src/views/OrderTrack/goodsDetail.vue
View file @
8b015be6
...
...
@@ -60,11 +60,19 @@ export default {
data
()
{
return
{
infos
:
{},
tableData
:
""
tableData
:
""
,
purchase_id
:
""
};
},
created
()
{
this
.
getData
();
this
.
getData
(
this
.
$route
.
query
.
purchase_id
);
},
watch
:
{
$route
(
to
,
from
)
{
if
(
to
.
path
==
'/orderTrackGoodsDetail'
)
{
this
.
getData
(
to
.
query
.
purchase_id
);
}
}
},
computed
:
{
id
:
function
()
{
...
...
@@ -72,9 +80,9 @@ export default {
}
},
methods
:
{
getData
()
{
getData
(
id
)
{
this
.
$http
(
'post'
,
"/api/purchase/purOrderDetail"
,
{
id
:
this
.
id
id
:
id
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
infos
=
res
.
data
.
purchase_info
;
...
...
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