Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
c28a0e29
Commit
c28a0e29
authored
Mar 11, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
d88209af
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
4117 additions
and
6 deletions
+4117
-6
ChooseImg.vue
src/components/coffeeManage/componemt/ChooseImg.vue
+426
-0
Choosevideo.vue
src/components/coffeeManage/componemt/Choosevideo.vue
+473
-0
zc.vue
src/components/coffeeManage/componemt/zc.vue
+100
-0
orderDetails.vue
src/components/coffeeManage/orderDetails.vue
+974
-0
orderList.vue
src/components/coffeeManage/orderList.vue
+2125
-0
orderList.vue
src/components/orderMan/orderList.vue
+2
-2
index.js
src/plug/index.js
+7
-4
index.js
src/router/index.js
+10
-0
No files found.
src/components/coffeeManage/componemt/ChooseImg.vue
0 → 100644
View file @
c28a0e29
This diff is collapsed.
Click to expand it.
src/components/coffeeManage/componemt/Choosevideo.vue
0 → 100644
View file @
c28a0e29
This diff is collapsed.
Click to expand it.
src/components/coffeeManage/componemt/zc.vue
0 → 100644
View file @
c28a0e29
<
template
>
<div>
<el-dialog
title=
"选择资产"
:visible
.
sync=
"show"
width=
"800px"
:before-close=
"handleClose"
>
<div
class=
"search"
>
<el-input
v-model=
"msg.Name"
placeholder=
"请输入资产名称"
@
keyup
.
native
.
enter=
"getData"
size=
"small"
style=
"margin-right:25px"
></el-input>
<el-button
type=
"primary"
size=
"small"
@
click=
"getData"
>
搜索
</el-button>
</div>
<div>
<el-table
:data=
"tableData"
style=
"width: 100%"
height=
"50vh"
>
<el-table-column
width=
"80"
label=
"Id"
align=
'center'
fixed
>
<template
slot-scope=
"scope"
>
<el-radio
v-model=
"radio"
:label=
"scope.row.Id"
></el-radio>
</
template
>
</el-table-column>
<el-table-column
prop=
"Name"
label=
"名称"
width=
"180"
align=
'center'
></el-table-column>
<el-table-column
prop=
"SuppliesNum"
label=
"资产编码"
width=
"120"
align=
'center'
></el-table-column>
<el-table-column
prop=
"CategoryName"
label=
"分类"
width=
"120"
align=
'center'
></el-table-column>
<el-table-column
prop=
"BrandName"
label=
"品牌"
width=
"120"
align=
'center'
>
</el-table-column>
<el-table-column
prop=
"SuppliesModel"
label=
"型号"
width=
"120"
align=
'center'
>
</el-table-column>
<el-table-column
prop=
"Units"
label=
"单位"
width=
"80"
align=
'center'
>
</el-table-column>
<el-table-column
prop=
"Money"
label=
"单价"
width=
"120"
align=
'center'
>
</el-table-column>
<el-table-column
prop=
"InventoryNum"
label=
"库存"
width=
"80"
align=
'center'
></el-table-column>
</el-table>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"close"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确 定
</el-button
>
</span>
</el-dialog>
</div>
</template>
<
script
>
export
default
{
model
:
{
prop
:
"show"
,
event
:
"change"
},
props
:
{
show
:
{
type
:
Boolean
,
default
:
false
}
},
data
()
{
return
{
tableData
:
[],
radio
:
""
,
msg
:
{
RB_Group_Id
:
0
,
Name
:
""
}
};
},
methods
:
{
close
()
{
this
.
$emit
(
"change"
,
false
);
},
confirm
(){
let
res
=
this
.
tableData
.
find
(
e
=>
e
.
Id
===
this
.
radio
)
if
(
res
){
this
.
close
()
this
.
$emit
(
"confirm"
,
res
);
}
else
{
this
.
$message
.
error
(
"请选择资产"
);
}
},
getData
()
{
if
(
!
this
.
msg
.
Name
)
{
this
.
$message
.
error
(
"请输入资产名称"
);
return
;
}
this
.
i_post
(
"/api/Property/GetEduGoodsMaterialList"
,
this
.
msg
,
res
=>
{
this
.
tableData
=
res
.
data
.
data
;
});
},
handleClose
(
done
)
{
this
.
close
()
}
},
mounted
()
{
let
apiData
=
JSON
.
parse
(
localStorage
.
getItem
(
"iframeData"
));
this
.
msg
.
RB_Group_Id
=
apiData
.
GroupId
;
}
};
</
script
>
<
style
scoped
>
.search
{
display
:
flex
;
align-items
:
center
;
flex-wrap
:
nowrap
;
}
</
style
>
src/components/coffeeManage/orderDetails.vue
0 → 100644
View file @
c28a0e29
This diff is collapsed.
Click to expand it.
src/components/coffeeManage/orderList.vue
0 → 100644
View file @
c28a0e29
This diff is collapsed.
Click to expand it.
src/components/orderMan/orderList.vue
View file @
c28a0e29
...
...
@@ -173,7 +173,7 @@
align-items: center;
font-size: 12px;
"
v-if=
"TenantId == 1"
v-if=
"TenantId == 1
||TenantId == 15
"
>
<div
class=
"fkbox"
>
<div
class=
"fkbox_item"
style=
"background: #00ffff"
></div>
...
...
@@ -656,7 +656,7 @@
v-if=
"
(list.SFinanceList.length > 0 ||
list.ZFinanceList.length > 0) &&
TenantId == 1
(TenantId == 1||TenantId == 15)
"
>
<div
...
...
src/plug/index.js
View file @
c28a0e29
...
...
@@ -589,9 +589,9 @@ export default {
})
.
then
(
res
=>
{
if
(
res
.
data
.
resultCode
==
10000
||
res
.
data
.
resultCode
==
10001
)
{
this
.
$router
.
push
({
path
:
'/login'
});
//
this.$router.push({
//
path: '/login'
//
});
}
else
if
(
res
.
resultCode
==
10005
)
{
this
.
$router
.
go
(
-
1
);
}
else
{
...
...
@@ -604,7 +604,10 @@ export default {
msg
=
{}
}
var
timestamp
=
(
new
Date
()).
valueOf
();
let
apiData
=
JSON
.
parse
(
localStorage
.
getItem
(
'iframeData'
))
let
apiData
=
{}
if
(
localStorage
.
getItem
(
'iframeData'
))
{
apiData
=
JSON
.
parse
(
localStorage
.
getItem
(
'iframeData'
))
}
var
token
=
apiData
.
token
;
var
key
=
""
;
var
TenantId
=
"0"
;
//商户Id
...
...
src/router/index.js
View file @
c28a0e29
...
...
@@ -1753,5 +1753,15 @@ export default new Router({
path
:
'/coffeeManage/edit'
,
component
:
resolve
=>
require
([
'@/components/coffeeManage/edit'
],
resolve
),
},
{
path
:
'/coffeeManage/order'
,
name
:
"/coffeeManage/order"
,
component
:
resolve
=>
require
([
'@/components/coffeeManage/orderList'
],
resolve
),
},
{
path
:
'/coffeeManage/orderDetails'
,
name
:
"/coffeeManage/orderDetails"
,
component
:
resolve
=>
require
([
'@/components/coffeeManage/orderDetails'
],
resolve
),
},
]
})
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