Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 772c2a47
authored
May 19, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
代码冲突解决
2 parents
bc989bd5
417afd4f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
21 deletions
src/views/purchase/constant/index.js
src/views/purchase/procurementReview.vue
src/views/purchase/purchaseAndDelivery.vue
src/views/purchase/purchaseOrder.vue
src/views/purchase/constant/index.js
View file @
772c2a4
...
@@ -26,7 +26,7 @@ export const defaultDeliveryStatusOptions = [
...
@@ -26,7 +26,7 @@ export const defaultDeliveryStatusOptions = [
},
},
{
{
id
:
2
,
id
:
2
,
label
:
"
已
发货"
label
:
"
全部
发货"
},
},
{
{
id
:
3
,
id
:
3
,
...
@@ -42,7 +42,11 @@ export const defaultPutStatusOptions = [
...
@@ -42,7 +42,11 @@ export const defaultPutStatusOptions = [
},
},
{
{
id
:
2
,
id
:
2
,
label
:
"已入库"
label
:
"全部入库"
},
{
id
:
3
,
label
:
"部分入库"
}
}
]
]
...
...
src/views/purchase/procurementReview.vue
View file @
772c2a4
<!-- 采购审核 -->
<!-- 采购审核 -->
<
template
>
<
template
>
<d2-container
class=
"container"
>
<d2-container
class=
"container"
>
<div
class=
"header"
slot=
"header"
>
<div
class=
"header"
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
@
handleChangeSelect=
"handleChangeSelect"
slot=
"header"
>
:form-data=
"showFormData"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
@
handleChangeSelect=
"handleChangeSelect"
:form-data=
"showFormData"
>
</d2-search>
</d2-search>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
handle
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
handle
>
查询
查询
</el-button>
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
重置
</el-button>
</el-button>
</div>
</div>
...
@@ -21,18 +29,31 @@
...
@@ -21,18 +29,31 @@
<auth-button
category=
"Button"
/>
<auth-button
category=
"Button"
/>
</span>
</span>
<span>
<span>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
导出
导出
</el-button>
</el-button>
</span>
</span>
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"purchasementReviewTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
<d2-table
ref=
"purchasementReviewTable"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
:search-form=
"tableSearchForm"
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
:table-params=
"tableParams"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
</d2-table>
</d2-table>
</div>
</div>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
v-if=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
<rejectDialog
:reject-visible=
"rejectVisible"
v-if=
"rejectVisible"
:params-obj=
"paramsObj"
@
dialogClose=
"dialogClose"
>
v-if=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<rejectDialog
:reject-visible=
"rejectVisible"
v-if=
"rejectVisible"
:params-obj=
"paramsObj"
@
dialogClose=
"dialogClose"
>
</rejectDialog>
</rejectDialog>
</d2-container>
</d2-container>
</
template
>
</
template
>
...
@@ -191,9 +212,9 @@ export default {
...
@@ -191,9 +212,9 @@ export default {
},
},
className
:
(
cellValue
)
=>
{
className
:
(
cellValue
)
=>
{
return
{
return
{
1
:
'
yellow
Spot'
,
1
:
'
ash
Spot'
,
2
:
'greenSpot'
,
2
:
'greenSpot'
,
3
:
'
ash
Spot'
3
:
'
yellow
Spot'
}[
cellValue
.
deliveryStatus
]
}[
cellValue
.
deliveryStatus
]
}
}
},
},
...
...
src/views/purchase/purchaseAndDelivery.vue
View file @
772c2a4
...
@@ -241,9 +241,9 @@ export default {
...
@@ -241,9 +241,9 @@ export default {
},
},
className
:
(
cellValue
)
=>
{
className
:
(
cellValue
)
=>
{
return
{
return
{
1
:
'
yellow
Spot'
,
1
:
'
ash
Spot'
,
2
:
'greenSpot'
,
2
:
'greenSpot'
,
3
:
'
ash
Spot'
3
:
'
yellow
Spot'
}[
cellValue
.
deliveryStatus
]
}[
cellValue
.
deliveryStatus
]
}
}
},
},
...
...
src/views/purchase/purchaseOrder.vue
View file @
772c2a4
...
@@ -237,9 +237,9 @@ export default {
...
@@ -237,9 +237,9 @@ export default {
},
},
className
:
(
cellValue
)
=>
{
className
:
(
cellValue
)
=>
{
return
{
return
{
1
:
'
yellow
Spot'
,
1
:
'
ash
Spot'
,
2
:
'greenSpot'
,
2
:
'greenSpot'
,
3
:
'
ash
Spot'
3
:
'
yellow
Spot'
}[
cellValue
.
deliveryStatus
]
}[
cellValue
.
deliveryStatus
]
}
}
},
},
...
@@ -265,8 +265,9 @@ export default {
...
@@ -265,8 +265,9 @@ export default {
},
},
className
:
(
cellValue
)
=>
{
className
:
(
cellValue
)
=>
{
return
{
return
{
1
:
'yellowSpot'
,
1
:
'ashSpot'
,
2
:
'greenSpot'
2
:
'greenSpot'
,
3
:
'yellowSpot'
}[
cellValue
.
putStatus
]
}[
cellValue
.
putStatus
]
}
}
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment