Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-equity
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 f9e2b2eb
authored
Jul 06, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
富文本
1 parent
da4f8cdc
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
669 additions
and
44 deletions
package-lock.json
package.json
src/assets/css/tao.css
src/assets/css/tao.css.map
src/assets/css/tao.scss
src/base.js
src/components/table-tooltip/index.vue
src/views/tao/financialManagement/index.vue
src/views/tao/goods/addGoods/index.vue
src/views/tao/goods/index/index.vue
package-lock.json
View file @
f9e2b2e
...
@@ -3757,8 +3757,7 @@
...
@@ -3757,8 +3757,7 @@
"deep-equal"
:
{
"deep-equal"
:
{
"version"
:
"1.0.1"
,
"version"
:
"1.0.1"
,
"resolved"
:
"http://registry.npm.taobao.org/deep-equal/download/deep-equal-1.0.1.tgz"
,
"resolved"
:
"http://registry.npm.taobao.org/deep-equal/download/deep-equal-1.0.1.tgz"
,
"integrity"
:
"sha1-9dJgKStmDghO/0zbyfCK0yR0SLU="
,
"integrity"
:
"sha1-9dJgKStmDghO/0zbyfCK0yR0SLU="
"dev"
:
true
},
},
"deep-is"
:
{
"deep-is"
:
{
"version"
:
"0.1.3"
,
"version"
:
"0.1.3"
,
...
@@ -4602,8 +4601,7 @@
...
@@ -4602,8 +4601,7 @@
"extend"
:
{
"extend"
:
{
"version"
:
"3.0.2"
,
"version"
:
"3.0.2"
,
"resolved"
:
"http://registry.npm.taobao.org/extend/download/extend-3.0.2.tgz"
,
"resolved"
:
"http://registry.npm.taobao.org/extend/download/extend-3.0.2.tgz"
,
"integrity"
:
"sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo="
,
"integrity"
:
"sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo="
"dev"
:
true
},
},
"extend-shallow"
:
{
"extend-shallow"
:
{
"version"
:
"3.0.2"
,
"version"
:
"3.0.2"
,
...
@@ -4661,8 +4659,7 @@
...
@@ -4661,8 +4659,7 @@
"fast-diff"
:
{
"fast-diff"
:
{
"version"
:
"1.1.2"
,
"version"
:
"1.1.2"
,
"resolved"
:
"http://registry.npm.taobao.org/fast-diff/download/fast-diff-1.1.2.tgz"
,
"resolved"
:
"http://registry.npm.taobao.org/fast-diff/download/fast-diff-1.1.2.tgz"
,
"integrity"
:
"sha1-S2LEK44D3j+EhGC2OQeZIGldAVQ="
,
"integrity"
:
"sha1-S2LEK44D3j+EhGC2OQeZIGldAVQ="
"dev"
:
true
},
},
"fast-glob"
:
{
"fast-glob"
:
{
"version"
:
"2.2.2"
,
"version"
:
"2.2.2"
,
...
@@ -7766,8 +7763,7 @@
...
@@ -7766,8 +7763,7 @@
"object-assign"
:
{
"object-assign"
:
{
"version"
:
"4.1.1"
,
"version"
:
"4.1.1"
,
"resolved"
:
"http://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz"
,
"resolved"
:
"http://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz"
,
"integrity"
:
"sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
,
"integrity"
:
"sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
"dev"
:
true
},
},
"object-copy"
:
{
"object-copy"
:
{
"version"
:
"0.1.0"
,
"version"
:
"0.1.0"
,
...
@@ -8085,6 +8081,11 @@
...
@@ -8085,6 +8081,11 @@
"no-case"
:
"^2.2.0"
"no-case"
:
"^2.2.0"
}
}
},
},
"parchment"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz"
,
"integrity"
:
"sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
},
"parse-asn1"
:
{
"parse-asn1"
:
{
"version"
:
"5.1.1"
,
"version"
:
"5.1.1"
,
"resolved"
:
"http://registry.npm.taobao.org/parse-asn1/download/parse-asn1-5.1.1.tgz"
,
"resolved"
:
"http://registry.npm.taobao.org/parse-asn1/download/parse-asn1-5.1.1.tgz"
,
...
@@ -9507,6 +9508,41 @@
...
@@ -9507,6 +9508,41 @@
"integrity"
:
"sha1-+j7W5o6xUVlFfImze8ZHKDMZV1U="
,
"integrity"
:
"sha1-+j7W5o6xUVlFfImze8ZHKDMZV1U="
,
"dev"
:
true
"dev"
:
true
},
},
"quill"
:
{
"version"
:
"1.3.7"
,
"resolved"
:
"https://registry.npmjs.org/quill/-/quill-1.3.7.tgz"
,
"integrity"
:
"sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g=="
,
"requires"
:
{
"clone"
:
"^2.1.1"
,
"deep-equal"
:
"^1.0.1"
,
"eventemitter3"
:
"^2.0.3"
,
"extend"
:
"^3.0.2"
,
"parchment"
:
"^1.1.4"
,
"quill-delta"
:
"^3.6.2"
},
"dependencies"
:
{
"clone"
:
{
"version"
:
"2.1.2"
,
"resolved"
:
"https://registry.npmjs.org/clone/-/clone-2.1.2.tgz"
,
"integrity"
:
"sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18="
},
"eventemitter3"
:
{
"version"
:
"2.0.3"
,
"resolved"
:
"https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz"
,
"integrity"
:
"sha1-teEHm1n7XhuidxwKmTvgYKWMmbo="
}
}
},
"quill-delta"
:
{
"version"
:
"3.6.3"
,
"resolved"
:
"https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz"
,
"integrity"
:
"sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg=="
,
"requires"
:
{
"deep-equal"
:
"^1.0.1"
,
"extend"
:
"^3.0.2"
,
"fast-diff"
:
"1.1.2"
}
},
"randomatic"
:
{
"randomatic"
:
{
"version"
:
"3.1.0"
,
"version"
:
"3.1.0"
,
"resolved"
:
"http://registry.npm.taobao.org/randomatic/download/randomatic-3.1.0.tgz"
,
"resolved"
:
"http://registry.npm.taobao.org/randomatic/download/randomatic-3.1.0.tgz"
,
...
@@ -11729,6 +11765,15 @@
...
@@ -11729,6 +11765,15 @@
"vue-style-loader"
:
"^4.1.0"
"vue-style-loader"
:
"^4.1.0"
}
}
},
},
"vue-quill-editor"
:
{
"version"
:
"3.0.6"
,
"resolved"
:
"https://registry.npmjs.org/vue-quill-editor/-/vue-quill-editor-3.0.6.tgz"
,
"integrity"
:
"sha512-g20oSZNWg8Hbu41Kinjd55e235qVWPLfg4NvsLW6d+DhgBTFbEuMpcWlUdrD6qT3+Noim6DRu18VLM9lVShXOQ=="
,
"requires"
:
{
"object-assign"
:
"^4.1.1"
,
"quill"
:
"^1.3.4"
}
},
"vue-style-loader"
:
{
"vue-style-loader"
:
{
"version"
:
"4.1.2"
,
"version"
:
"4.1.2"
,
"resolved"
:
"http://registry.npm.taobao.org/vue-style-loader/download/vue-style-loader-4.1.2.tgz"
,
"resolved"
:
"http://registry.npm.taobao.org/vue-style-loader/download/vue-style-loader-4.1.2.tgz"
,
...
...
package.json
View file @
f9e2b2e
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
"vee-validate"
:
"^2.1.7"
,
"vee-validate"
:
"^2.1.7"
,
"vue"
:
"^2.5.17"
,
"vue"
:
"^2.5.17"
,
"vue-clipboard2"
:
"^0.2.1"
,
"vue-clipboard2"
:
"^0.2.1"
,
"vue-quill-editor"
:
"^3.0.6"
,
"xlsx"
:
"^0.16.9"
"xlsx"
:
"^0.16.9"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
...
...
src/assets/css/tao.css
View file @
f9e2b2e
...
@@ -3,7 +3,11 @@
...
@@ -3,7 +3,11 @@
padding
:
0
;
padding
:
0
;
}
}
.search-box
{
.layout
{
padding-bottom
:
20px
;
}
.layout
.search-box
{
display
:
-webkit-box
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
-ms-flexbox
;
display
:
flex
;
display
:
flex
;
...
@@ -18,7 +22,7 @@
...
@@ -18,7 +22,7 @@
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
#eee
;
}
}
.search-box
.top
{
.
layout
.
search-box
.top
{
display
:
-webkit-box
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
-ms-flexbox
;
display
:
flex
;
display
:
flex
;
...
@@ -31,7 +35,7 @@
...
@@ -31,7 +35,7 @@
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
.search-box
.top
.item
{
.
layout
.
search-box
.top
.item
{
display
:
-webkit-box
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
-ms-flexbox
;
display
:
flex
;
display
:
flex
;
...
@@ -41,17 +45,94 @@
...
@@ -41,17 +45,94 @@
font-size
:
14px
;
font-size
:
14px
;
}
}
.search-box
.bottom
{
.
layout
.
search-box
.bottom
{
margin-right
:
auto
;
margin-right
:
auto
;
}
}
.search-box
.top
,
.
layout
.
search-box
.top
,
.search-box
.bottom
{
.
layout
.
search-box
.bottom
{
width
:
100%
;
width
:
100%
;
}
}
.table-box
.table-btn
,
.
layout
.
table-box
.table-btn
,
.table-box
.table-custom
{
.
layout
.
table-box
.table-custom
{
margin
:
20px
0
;
margin
:
20px
0
;
position
:
relative
;
}
.layout
.table-box
.table-btn
.table-price-box
,
.layout
.table-box
.table-custom
.table-price-box
{
position
:
absolute
;
top
:
50%
;
-webkit-transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
left
:
600px
;
display
:
-ms-grid
;
display
:
grid
;
-ms-grid-columns
:
(
200px
)[
4
];
grid-template-columns
:
repeat
(
4
,
200px
);
text-align
:
center
;
}
.layout
.box
{
background-color
:
#fff
;
margin
:
20px
;
-webkit-box-shadow
:
0
4px
20px
0
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
4px
20px
0
rgba
(
0
,
0
,
0
,
0.1
);
padding
:
20px
;
}
.layout
.box
.title
{
padding
:
20px
0
;
font-weight
:
700
;
}
.layout
.box
.el-form-item
{
width
:
500px
;
}
.layout
.box
.el-form-item
.el-input-group__prepend
,
.layout
.box
.el-form-item
.el-input-group__append
{
background-color
:
transparent
;
border
:
none
;
}
.layout
.box
.el-form-item
.el-input--suffix
.el-input__inner
{
padding-right
:
45px
;
}
.layout
.box
.el-form-item
.el-input__suffix
{
right
:
20px
;
}
.layout
.box
.editor
{
width
:
800px
;
}
.layout
.box
.avatar-uploader
.el-upload
{
border
:
1px
dashed
#d9d9d9
;
border-radius
:
6px
;
cursor
:
pointer
;
position
:
relative
;
overflow
:
hidden
;
}
.layout
.box
.avatar-uploader
.el-upload
:hover
{
border-color
:
#409EFF
;
}
.layout
.box
.avatar-uploader-icon
{
font-size
:
28px
;
color
:
#8c939d
;
width
:
178px
;
height
:
178px
;
line-height
:
178px
;
text-align
:
center
;
}
.layout
.box
.avatar
{
width
:
178px
;
height
:
178px
;
display
:
block
;
}
}
/*# sourceMappingURL=tao.css.map */
/*# sourceMappingURL=tao.css.map */
\ No newline at end of file
\ No newline at end of file
src/assets/css/tao.css.map
View file @
f9e2b2e
{
{
"version": 3,
"version": 3,
"mappings": "AAAA,AAAA,CAAC,CAAC;EACA,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;CACX;;AAED,AAAA,
WAAW,CAAC;EACV,OAAO,EAAE,IAAI;EACb,WAAW,EAAE,MAAM;EACnB,cAAc,EAAE,MAAM;EACtB,cAAc,EAAE,IAAI;EACpB,aAAa,EAAE,cAAc;CAoB9B;;AAzBD,AAME,WANS,CAMT,IAAI,CAAC;EACH,OAAO,EAAE,IAAI;EACb,WAAW,EAAE,MAAM;E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AAC;EAChB,KAAK,EAAE,IAAI;CACZ;;AAjEP,AAmEI,OAnEG,CA4CL,IAAI,CAuBF,OAAO,CAAC;EACN,KAAK,EAAE,KAAK;CACb;;AArEL,AAsEI,OAtEG,CA4CL,IAAI,CA0BF,gBAAgB,CAAC,UAAU,CAAC;EAC1B,MAAM,EAAE,kBAAkB;EAC1B,aAAa,EAAE,GAAG;EAClB,MAAM,EAAE,OAAO;EACf,QAAQ,EAAE,QAAQ;EAClB,QAAQ,EAAE,MAAM;CACjB;;AA5EL,AA6EI,OA7EG,CA4CL,IAAI,CAiCF,gBAAgB,CAAC,UAAU,AAAA,MAAM,CAAC;EAChC,YAAY,EAAE,OAAO;CACtB;;AA/EL,AAgFI,OAhFG,CA4CL,IAAI,CAoCF,qBAAqB,CAAC;EACpB,SAAS,EAAE,IAAI;EACf,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,KAAK;EACZ,MAAM,EAAE,KAAK;EACb,WAAW,EAAE,KAAK;EAClB,UAAU,EAAE,MAAM;CACnB;;AAvFL,AAwFI,OAxFG,CA4CL,IAAI,CA4CF,OAAO,CAAC;EACN,KAAK,EAAE,KAAK;EACZ,MAAM,EAAE,KAAK;EACb,OAAO,EAAE,KAAK
;CACf",
"sources": [
"sources": [
"tao.scss"
"tao.scss"
],
],
...
...
src/assets/css/tao.scss
View file @
f9e2b2e
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
padding
:
0
;
padding
:
0
;
}
}
.search-box
{
.layout
{
padding-bottom
:
20px
;
.search-box
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -28,11 +30,71 @@
...
@@ -28,11 +30,71 @@
.bottom
{
.bottom
{
width
:
100%
;
width
:
100%
;
}
}
}
}
.table-box
{
.table-box
{
.table-btn
,
.table-btn
,
.table-custom
{
.table-custom
{
margin
:
20px
0
;
margin
:
20px
0
;
position
:
relative
;
.table-price-box
{
position
:
absolute
;
top
:
50%
;
transform
:
translateY
(
-50%
);
left
:
600px
;
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
200px
);
text-align
:
center
;
}
}
}
.box
{
background-color
:
#fff
;
margin
:
20px
;
box-shadow
:
0
4px
20px
0
rgba
(
0
,
0
,
0
,
0
.1
);
padding
:
20px
;
.title
{
padding
:
20px
0
;
font-weight
:
700
;
}
.el-form-item
{
width
:
500px
;
.el-input-group__prepend
,
.el-input-group__append
{
background-color
:
transparent
;
border
:
none
;
}
.el-input--suffix
.el-input__inner
{
padding-right
:
45px
;
}
.el-input__suffix
{
right
:
20px
;
}
}
.editor
{
width
:
800px
;
}
.avatar-uploader
.el-upload
{
border
:
1px
dashed
#d9d9d9
;
border-radius
:
6px
;
cursor
:
pointer
;
position
:
relative
;
overflow
:
hidden
;
}
.avatar-uploader
.el-upload
:hover
{
border-color
:
#409EFF
;
}
.avatar-uploader-icon
{
font-size
:
28px
;
color
:
#8c939d
;
width
:
178px
;
height
:
178px
;
line-height
:
178px
;
text-align
:
center
;
}
.avatar
{
width
:
178px
;
height
:
178px
;
display
:
block
;
}
}
}
}
}
\ No newline at end of file
\ No newline at end of file
src/base.js
View file @
f9e2b2e
...
@@ -12,15 +12,22 @@ import Vue from 'vue'
...
@@ -12,15 +12,22 @@ import Vue from 'vue'
import
GlsxVueComponents
from
'glsx-vue-components'
import
GlsxVueComponents
from
'glsx-vue-components'
import
'glsx-vue-components/dist/glsx-vue-components.css'
import
'glsx-vue-components/dist/glsx-vue-components.css'
import
'./styles/index.css'
import
'./styles/index.css'
// import zh_CN from 'vee-validate/dist/locale/zh_CN'
//引用富文本编辑器
// const {
import
VueQuillEditor
from
'vue-quill-editor'
// Validator
//引入富文本css
// } = VeeValidate
import
'quill/dist/quill.core.css'
// import VueI18n from 'vue-i18n'
import
'quill/dist/quill.snow.css'
// Vue.use(VueI18n)
import
'quill/dist/quill.bubble.css'
// const i18n = new VueI18n({
Vue
.
use
(
VueQuillEditor
)
// locale: 'zh_CN'
// import zh_CN from 'vee-validate/dist/locale/zh_CN'
// })
// const {
// Validator
// } = VeeValidate
// import VueI18n from 'vue-i18n'
// Vue.use(VueI18n)
// const i18n = new VueI18n({
// locale: 'zh_CN'
// })
import
'@/components'
import
'@/components'
Vue
.
use
(
GlsxVueComponents
)
Vue
.
use
(
GlsxVueComponents
)
var
mixin
=
{
var
mixin
=
{
...
@@ -61,8 +68,8 @@ const getConfig = (url = URL + '/oss_rightsAndInterests') => {
...
@@ -61,8 +68,8 @@ const getConfig = (url = URL + '/oss_rightsAndInterests') => {
xhr
.
open
(
'GET'
,
url
)
xhr
.
open
(
'GET'
,
url
)
xhr
.
send
()
xhr
.
send
()
})
})
}
}
/* eslint-disable no-new */
/* eslint-disable no-new */
const
render
=
App
=>
{
const
render
=
App
=>
{
new
Vue
({
new
Vue
({
el
:
'#app'
,
el
:
'#app'
,
...
...
src/components/table-tooltip/index.vue
View file @
f9e2b2e
...
@@ -28,15 +28,15 @@ export default {
...
@@ -28,15 +28,15 @@ export default {
</
script
>
</
script
>
<
style
>
<
style
scope
>
.el-button
{
.
table-tooltip
.
el-button
{
border
:
none
!important
;
border
:
none
!important
;
}
}
.el-button.is-circle
{
.
table-tooltip
.
el-button.is-circle
{
padding
:
0
!important
;
padding
:
0
!important
;
}
}
.el-button
:focus
,
.
table-tooltip
.
el-button
:focus
,
.el-button
:hover
{
.
table-tooltip
.
el-button
:hover
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/tao/financialManagement/index.vue
View file @
f9e2b2e
<
template
>
<
template
>
<div>
<div
class=
"layout"
>
财务管理
<div
class=
"search-box"
>
<div
class=
"top"
>
<div
class=
"item"
>
日期:
<el-date-picker
v-model=
"searchObj.date"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
size=
"small"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</div>
<div
class=
"item"
>
品牌名称:
<el-select>
<el-option
label=
"团油"
value=
"0"
>
</el-option>
</el-select>
</div>
<div
class=
"item"
>
商品名称:
<div
class=
"input"
>
<el-input
v-model=
"searchObj.no"
placeholder=
""
size=
"small"
></el-input>
</div>
</div>
<div
class=
"item"
>
商品形态:
<el-select
v-model=
"searchObj.status"
placeholder=
"请选择"
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</div>
<div
class=
"item"
>
渠道:
<el-select
v-model=
"searchObj.status"
placeholder=
"请选择"
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</div>
<div
class=
"item"
>
门店名称:
<div
class=
"input"
>
<el-input
v-model=
"searchObj.no"
placeholder=
""
size=
"small"
></el-input>
</div>
</div>
<div
class=
"item"
>
订单状态:
<el-select
v-model=
"searchObj.status"
placeholder=
"请选择"
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</div>
</div>
<div
class=
"bottom"
>
<el-button-group>
<el-button
type=
"primary"
>
查询
</el-button>
<el-button
type=
"default"
>
重置
</el-button>
</el-button-group>
</div>
</div>
<div
class=
"table-box"
>
<div
class=
"table-btn"
>
账户余额:
23139.34元
<el-button
type=
"primary"
>
刷新余额
</el-button>
</div>
<d2-table
:searchForm=
"searchObj"
:tableParams=
"tableParams"
:hasNum=
"false"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<el-button
type=
"text"
@
click=
"startcollectiondetails(scope.scope)"
>
查看详情
</el-button>
</span>
<template
slot=
'custom'
>
<div
class=
"table-custom"
>
<el-button
type=
"primary"
>
导出
</el-button>
<div
class=
"table-price-box"
>
<div
class=
"table-price-label"
>
合计:
</div>
<template
v-for=
"(i,index) in priceItem"
>
<div
:key=
"index"
class=
"table-price"
>
{{
i
}}
元
</div>
</
template
>
</div>
</div>
</template>
</d2-table>
</div>
</div>
</div>
</template>
</template>
...
@@ -9,6 +146,91 @@ export default {
...
@@ -9,6 +146,91 @@ export default {
name
:
''
,
name
:
''
,
data
()
{
data
()
{
return
{
return
{
priceItem
:
[
22.22
,
11.25
,
9527
],
searchObj
:
{
status
:
1
},
statusList
:
[{
label
:
'待收货'
,
value
:
1
},
{
label
:
'已完成'
,
value
:
2
},
{
label
:
'已退款'
,
value
:
3
},
{
label
:
'售后中'
,
value
:
4
}],
tableParams
:
{
listName
:
'list'
,
tableColumns
:
[
{
label
:
'订单编号'
,
prop
:
'cardNo'
,
minWidth
:
'200'
},
{
label
:
'品牌名称'
,
prop
:
'activationCode'
,
minWidth
:
'200'
,
},
{
label
:
'商品形态'
,
prop
:
'sn'
,
minWidth
:
'200'
,
},
{
label
:
'商品名称'
,
prop
:
'memberName'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
memberCardDefine
.
memberName
}
},
{
label
:
'订单成本金额'
,
prop
:
'updatedDate'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
date_format
(
cellValue
.
updatedDate
)
}
},
{
label
:
'订单支付金额'
,
prop
:
'cardNo'
,
minWidth
:
'200'
},
{
label
:
'销售差额'
,
prop
:
'activationCode'
,
minWidth
:
'200'
,
},
{
label
:
'下单渠道'
,
prop
:
'sn'
,
minWidth
:
'200'
,
},
{
label
:
'订单状态'
,
prop
:
'memberName'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
memberCardDefine
.
memberName
}
},
{
label
:
'下单时间'
,
prop
:
'updatedDate'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
date_format
(
cellValue
.
updatedDate
)
}
},
]
}
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -18,5 +240,6 @@ export default {
...
@@ -18,5 +240,6 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
>
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/tao/goods/addGoods/index.vue
View file @
f9e2b2e
<
template
>
<
template
>
<div>
<div
class=
"layout"
>
商品列表
<div
class=
"box"
>
<div
class=
"title"
>
商品类型
</div>
<el-radio-group
v-model=
"radio1"
>
<el-radio-button
label=
"1"
>
品牌商品
</el-radio-button>
<el-radio-button
label=
"2"
>
门店服务
</el-radio-button>
</el-radio-group>
</div>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"150px"
class=
"demo-ruleForm"
size=
"medium"
>
<div
class=
"box"
>
<el-form-item
label=
"产品提供方"
required
>
<el-select>
<el-option
label=
"海威"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"商品形态"
required
>
<el-radio-group
v-model=
"radio1"
>
<el-radio-button
label=
"1"
>
卡券
</el-radio-button>
<el-radio-button
label=
"2"
>
直充
</el-radio-button>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"品牌名称"
required
>
<el-select>
<template
v-for=
"(i,index) in list"
>
<el-option
:label=
"i.label"
:key=
"index"
></el-option>
</
template
>
</el-select>
</el-form-item>
<el-form-item
label=
"商品名称"
prop=
"name"
required
>
<el-input
v-model=
"ruleForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"商品编码"
prop=
"name"
required
>
<el-input
v-model=
"ruleForm.name"
placeholder=
"365淘券所对应的商品编码"
></el-input>
</el-form-item>
<el-form-item
label=
"商品图片"
required
>
<el-upload
class=
"avatar-uploader"
action=
"https://jsonplaceholder.typicode.com/posts/"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"imageUrl"
:src=
"imageUrl"
class=
"avatar"
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</el-form-item>
</div>
<div
class=
"box"
>
<div
class=
"title"
>
价格信息
</div>
<el-form-item
label=
"销售价"
prop=
"name"
required
>
<el-input
v-model
.
number=
"ruleForm.name"
>
<span
slot=
"suffix"
>
元
</span>
</el-input>
</el-form-item>
<el-form-item
label=
"成本含税价"
prop=
"name"
required
>
<el-input
v-model
.
number=
"ruleForm.name"
>
<span
slot=
"suffix"
>
元
</span>
</el-input>
</el-form-item>
<el-form-item
label=
"官方价/划线价"
prop=
"name"
required
>
<el-input
v-model
.
number=
"ruleForm.name"
>
<span
slot=
"suffix"
>
元
</span>
</el-input>
</el-form-item>
<el-form-item
label=
"商品质保期"
prop=
"name"
required
>
<el-input
v-model
.
number=
"ruleForm.name"
>
<
template
slot=
"append"
>
小时
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"商品有效期"
prop=
"name"
>
<el-input
v-model
.
number=
"ruleForm.name"
>
<
template
slot=
"prepend"
>
兑换到账户内
</
template
>
<
template
slot=
"append"
>
天有效
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"商品库存"
prop=
"name"
required
>
<el-input
v-model
.
number=
"ruleForm.name"
>
<
template
slot=
"append"
>
保存或上架商品后将自动检查库存
</
template
>
</el-input>
</el-form-item>
<el-form-item
class=
"editor"
label=
"购买页使用须知"
prop=
"name"
required
>
<quill-editor
v-model=
"ruleForm.goods"
:options=
"editorOption"
>
</quill-editor>
</el-form-item>
<el-form-item
class=
"editor"
label=
"直充使用须知"
prop=
"name"
>
<quill-editor
v-model=
"ruleForm.goods"
:options=
"editorOption"
>
</quill-editor>
</el-form-item>
<el-form-item
size=
"large"
>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
提交
</el-button>
<el-button>
保存
</el-button>
</el-form-item>
</div>
</el-form>
</div>
</div>
</template>
</template>
...
@@ -9,6 +189,26 @@ export default {
...
@@ -9,6 +189,26 @@ export default {
name
:
''
,
name
:
''
,
data
()
{
data
()
{
return
{
return
{
editorOption
:
{
modules
:
{
toolbar
:
[
[
'bold'
,
'italic'
,
'underline'
,
'strike'
],
[{
'list'
:
'ordered'
}],
[{
'script'
:
'sub'
},
{
'script'
:
'super'
}],
[{
'size'
:
[
'small'
,
false
,
'large'
,
'huge'
]
}],
[{
'color'
:
[]
},
{
'background'
:
[]
}],
[{
'align'
:
[]
}],
[
'link'
,
'image'
]
]
}
},
radio1
:
'1'
,
ruleForm
:
{
region
:
'1'
},
list
:
[
{
label
:
'恒河猴'
}
]
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -17,6 +217,6 @@ export default {
...
@@ -17,6 +217,6 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
scoped
>
<
style
scoped
>
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/tao/goods/index/index.vue
View file @
f9e2b2e
...
@@ -70,7 +70,10 @@
...
@@ -70,7 +70,10 @@
</div>
</div>
<div
class=
"table-box"
>
<div
class=
"table-box"
>
<div
class=
"table-btn"
>
<div
class=
"table-btn"
>
<el-button
type=
"primary"
>
新增商品
</el-button>
<el-button
type=
"primary"
@
click=
"jump"
>
新增商品
</el-button>
</div>
</div>
<d2-table
<d2-table
:searchForm=
"searchObj"
:searchForm=
"searchObj"
...
@@ -179,6 +182,9 @@ export default {
...
@@ -179,6 +182,9 @@ export default {
mounted
()
{
mounted
()
{
},
},
methods
:
{
methods
:
{
jump
()
{
window
.
location
.
href
=
'./addGoods.html'
}
}
}
}
}
</
script
>
</
script
>
...
...
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