Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
electricVehicle-backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张宗旭
electricVehicle-backend
Commits
64106513
Commit
64106513
authored
Aug 29, 2025
by
张宗旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
67470005
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
index.vue
src/views/purchaseOrder/purchaseOrderList/index.vue
+14
-2
No files found.
src/views/purchaseOrder/purchaseOrderList/index.vue
View file @
64106513
...
...
@@ -74,7 +74,7 @@
label=
"序号"
>
</el-table-column>
<el-table-column
prop=
"orderNum"
label=
"采购单号"
></el-table-column>
<el-table-column
prop=
"customer"
<el-table-column
prop=
"customer
Name
"
label=
"客户名称"
>
</el-table-column>
<el-table-column
prop=
"productName"
label=
"产品名称"
>
</el-table-column>
...
...
@@ -145,6 +145,7 @@ import {
purchaseOrderEnableCar
,
purchaseOrderDisableCar
,
purchaseOrderDelete
,
getOneCustomer
,
}
from
"@/libs/common/constant"
;
import
{
selectListALL
}
from
"@/utils/json"
;
export
default
{
...
...
@@ -164,7 +165,7 @@ export default {
pageSize
:
10
,
},
total
:
0
,
tablekey
:
""
,
tablekey
:
123
,
loadings
:
true
,
isLoadProvinceId
:
true
,
// 产品 类型
...
...
@@ -204,8 +205,19 @@ export default {
this
.
total
=
dataList
.
total
;
this
.
dataList
=
dataList
.
list
;
this
.
loadings
=
false
;
await
this
.
adda
();
},
async
adda
()
{
for
(
var
i
=
0
;
i
<
this
.
dataList
.
length
;
i
++
)
{
this
.
dataList
[
i
].
customerName
=
await
this
.
getOneCustomer
(
this
.
dataList
[
i
].
customerOpenId
)
}
this
.
tablekey
=
456
},
async
getOneCustomer
(
openId
)
{
const
res
=
await
this
.
$api
.
GET
(
`
${
getOneCustomer
.
url
}${
openId
}
`
);
return
res
.
name
;
},
async
purchaseOrderFind
(
data
)
{
const
res
=
await
this
.
$api
.
GET
(
`
${
purchaseOrderFind
.
url
}
`
,
data
);
return
res
;
...
...
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