Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-purchase
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a1b71bd6
authored
Apr 17, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
f6faac36
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
8 deletions
src/views/purchaseOrder/add.vue
src/views/purchaseOrder/index.vue
src/views/purchaseOrder/add.vue
View file @
a1b71bd
...
@@ -209,7 +209,7 @@ export default {
...
@@ -209,7 +209,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
::v-deep
.mallContainer
{
::v-deep
.mallContainer
{
//
max-width
:
1350px
;
max-width
:
1350px
;
margin
:
0
auto
;
margin
:
0
auto
;
overflow
:
scroll
;
overflow
:
scroll
;
.bg
{
.bg
{
...
...
src/views/purchaseOrder/index.vue
View file @
a1b71bd
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
<div
class=
"container"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"table-header"
>
<div
class=
"table-header"
>
<GLButton
type=
"primary"
size=
"small"
@
click=
"handleCreatePurchase"
fn=
"创建采购"
>
创建采购
</GLButton>
<GLButton
type=
"primary"
class=
"glbtn"
size=
"small"
@
click=
"handleCreatePurchase"
fn=
"创建采购"
>
创建采购
</GLButton>
<!--
<el-button
type=
"primary"
size=
"small"
@
click=
"handleCreatePurchase"
>
创建采购
</el-button>
-->
<!--
<el-button
type=
"primary"
size=
"small"
@
click=
"handleCreatePurchase"
>
创建采购
</el-button>
-->
<el-button
type=
"primary"
size=
"small"
@
click=
"exportExcel"
>
导出
</el-button>
<el-button
type=
"primary"
class=
"btn"
size=
"small"
@
click=
"exportExcel"
>
导出
</el-button>
</div>
</div>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看
</el-button>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看
</el-button>
<GLButton
type=
"text"
size=
"small"
v-show=
"scope.scope.status == 1"
@
click=
"handleCancel(scope.scope)"
fn=
"取消"
>
取消
</GLButton>
<GLButton
type=
"text"
size=
"small"
v-show=
"scope.scope.status == 1"
@
click=
"handleCancel(scope.scope)"
fn=
"取消"
>
取消
</GLButton>
<GLButton
type=
"text"
size=
"small"
v-show=
"scope.scope.putStatus == 1
&&
scope.scope.deliveryStatus == 2"
@
click=
"handleWarehousing(scope.scope)"
fn=
"入库"
>
入库
</GLButton>
<GLButton
type=
"text"
size=
"small"
v-show=
"scope.scope.putStatus == 1
&&
scope.scope.deliveryStatus == 2"
@
click=
"handleWarehousing(scope.scope)"
fn=
"入库"
>
入库
</GLButton>
<!-- <el-button type="text" v-show="scope.scope.status == 1" @click="handleCancel(scope.scope)">取消</el-button> -->
<!-- <el-button type="text" v-show="scope.scope.status == 1" @click="handleCancel(scope.scope)">取消</el-button> -->
</div>
</div>
</GLTable>
</GLTable>
...
@@ -193,7 +193,7 @@ export default {
...
@@ -193,7 +193,7 @@ export default {
return
cellValue
.
deliveryNumber
||
'--'
return
cellValue
.
deliveryNumber
||
'--'
},
},
width
:
120
,
width
:
120
,
line
:
1
line
:
1
},
},
{
{
label
:
'入库状态'
,
label
:
'入库状态'
,
...
@@ -207,7 +207,7 @@ export default {
...
@@ -207,7 +207,7 @@ export default {
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
putTime
?
dayjs
(
cellValue
.
putTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'--'
return
cellValue
.
putTime
?
dayjs
(
cellValue
.
putTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'--'
},
},
width
:
180
width
:
180
},
},
{
{
label
:
'入库门店'
,
label
:
'入库门店'
,
...
@@ -394,8 +394,23 @@ export default {
...
@@ -394,8 +394,23 @@ export default {
@import
'@/assets/css/mixin.scss'
;
@import
'@/assets/css/mixin.scss'
;
.purchase
{
.purchase
{
.table-header
{
.table-header
{
@include
space-between_center;
display
:
flex
;
margin-bottom
:
10px
;
align-items
:
center
;
margin-bottom
:
25px
;
margin-top
:
20px
;
h2
{
font-weight
:
600
;
font-size
:
16px
;
color
:
#333
;
}
.glbtn
{
left
:
46px
;
position
:
absolute
;
}
.btn
{
right
:
47px
;
position
:
absolute
;
}
}
}
.greenSpot
{
.greenSpot
{
@include
dot;
@include
dot;
...
...
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