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 f9729322
authored
Aug 14, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修改 部分ui走查修改
1 parent
622c8302
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
34 additions
and
28 deletions
src/assets/css/public.scss
src/views/DeliverList/index.vue
src/views/purchaseCheck/index.vue
src/views/purchaseGrounding/add.vue
src/views/purchaseGrounding/detail.vue
src/views/purchaseGrounding/index.vue
src/views/purchaseOrder/index.vue
src/assets/css/public.scss
View file @
f972932
...
...
@@ -10,7 +10,7 @@ html {
.purchase
.container
{
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
//
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
padding
:
20px
;
}
...
...
src/views/DeliverList/index.vue
View file @
f972932
...
...
@@ -2,7 +2,7 @@
<
template
>
<div
class=
"purchase"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"
1
"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"
2
"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"table-header"
>
<h2>
发货单列表
</h2>
<div>
...
...
src/views/purchaseCheck/index.vue
View file @
f972932
...
...
@@ -2,11 +2,11 @@
<
template
>
<div
class=
"purchase"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"
1
"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"
2
"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"table-header"
>
<h2>
采购审核列表
</h2>
<div>
<GLButton
type=
"primary"
plain
size=
"small"
@
click=
"handleExport"
fn=
"导出"
>
导出
</GLButton>
<GLButton
size=
"small"
@
click=
"handleExport"
fn=
"导出"
>
导出
</GLButton>
</div>
</div>
...
...
@@ -174,7 +174,8 @@ export default {
{
label
:
'下单商户'
,
prop
:
'merchantName'
,
width
:
100
width
:
150
,
line
:
1
,
},
{
label
:
'收货人'
,
...
...
@@ -189,7 +190,8 @@ export default {
{
label
:
'收货地址'
,
prop
:
'contactAddress'
,
width
:
180
width
:
180
,
line
:
1
},
{
label
:
'商品来源'
,
...
...
@@ -202,22 +204,26 @@ export default {
{
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
,
width
:
100
width
:
100
,
line
:
1
},
{
label
:
'商品编码'
,
prop
:
'type'
,
width
:
150
width
:
150
,
line
:
1
},
{
label
:
'系列'
,
prop
:
'goodsName'
,
width
:
100
width
:
150
,
line
:
1
},
{
label
:
'所属分类'
,
prop
:
'goodsTypeName'
,
width
:
150
width
:
150
,
line
:
1
},
{
label
:
'采购数量'
,
...
...
@@ -262,7 +268,8 @@ export default {
{
label
:
'审核人'
,
prop
:
'reviewedBy'
,
width
:
100
width
:
150
,
line
:
1
},
{
label
:
'审核时间'
,
...
...
@@ -279,7 +286,7 @@ export default {
},
{
label
:
'操作'
,
width
:
'
18
0px'
,
width
:
'
20
0px'
,
addHtml
:
'auth-button'
,
fixed
:
'right'
}
...
...
src/views/purchaseGrounding/add.vue
View file @
f972932
...
...
@@ -264,7 +264,7 @@ export default {
)
SELECTWRAP_DOM
.
addEventListener
(
'scroll'
,
function
()
{
const
condition
=
this
.
scrollHeight
-
this
.
scrollTop
<=
this
.
clientHeight
this
.
scrollHeight
-
this
.
scrollTop
<=
this
.
clientHeight
+
40
if
(
condition
)
{
binding
.
value
()
}
...
...
src/views/purchaseGrounding/detail.vue
View file @
f972932
...
...
@@ -156,6 +156,12 @@ export default {
if
(
this
.
membraneTypeList
?.
includes
(
res
?.
goodsInfo
?.
goodsType
))
{
// 膜类商品 单位是卷
if
(
index
>
-
1
)
this
.
editFormData
[
index
].
label
=
'门店采购价(元)/卷'
}
if
(
res
?.
goodsSource
==
1
)
{
// 自营
let
index
=
this
.
goodsDetailForm
.
findIndex
(
val
=>
val
.
value
==
'purchasePrice'
)
if
(
index
>
-
1
)
{
this
.
goodsDetailForm
.
splice
(
index
,
1
)
}
}
res
.
groundingGoodsInfo
=
{
...
res
.
goodsInfo
,
...
res
.
upgradeGoods
...
...
src/views/purchaseGrounding/index.vue
View file @
f972932
...
...
@@ -2,12 +2,12 @@
<
template
>
<div
class=
"purchase"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"
1
"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"
2
"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"table-header"
>
<h2>
采购上架列表
</h2>
<div>
<GLButton
type=
"primary"
size=
"small"
@
click=
"handleEdit('add')"
fn=
"新增上架"
>
新增上架
</GLButton>
<GLButton
type=
"primary"
plain
size=
"small"
@
click=
"exportExcel"
fn=
"导出"
>
导出
</GLButton>
<GLButton
type=
"primary"
plain
size=
"small"
@
click=
"handleEdit('add')"
fn=
"新增上架"
>
新增上架
</GLButton>
<GLButton
size=
"small"
@
click=
"exportExcel"
fn=
"导出"
>
导出
</GLButton>
</div>
</div>
...
...
@@ -210,7 +210,7 @@ export default {
},
{
label
:
'商品名称'
,
prop
:
'
upgradeGoodsNam
e'
,
prop
:
'
createdDat
e'
,
formatter
:
cellValue
=>
{
return
cellValue
?.
upgradeGoods
?.
upgradeGoodsName
||
cellValue
?.
upgradeGoodsName
}
...
...
@@ -260,17 +260,9 @@ export default {
prop
:
''
,
addHtml
:
'status'
},
// {
// label: '创建时间',
// prop: 'createdDate',
// formatter: cellValue => {
// return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss')
// },
// width: 180
// },
{
label
:
'操作'
,
width
:
'
18
0px'
,
width
:
'
20
0px'
,
addHtml
:
'auth-button'
}
]
...
...
@@ -355,7 +347,8 @@ export default {
handleEdit
(
editType
,
row
)
{
let
params
=
{
editType
,
id
:
row
?.
id
id
:
row
?.
id
,
$title
:
encodeURI
(
editType
==
'add'
?
'新增上架'
:
'编辑上架'
)
}
this
.
$router
.
push
({
path
:
'/purchaseGrounding/add'
,
...
...
src/views/purchaseOrder/index.vue
View file @
f972932
...
...
@@ -2,7 +2,7 @@
<
template
>
<div
class=
"purchase"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"
1
"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"
2
"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"table-header"
>
<h2>
采购订单列表
</h2>
<div>
...
...
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