Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-shop-manage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
陈峰
2017-07-21 10:09:08 +0800
Commit
7f3b437f042d16701824744abc5062849729a742
2 parents
83678a74
efd56363
Merge branch 'master' into release/3.0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
1 deletions
app/components/global/layout-user-info.vue
app/components/table/table-good-size.vue
app/pages/product/edit/edit.vue
package.json
server/public/kpgg.docx
app/components/global/layout-user-info.vue
View file @
7f3b437
...
...
@@ -8,6 +8,7 @@
<ul class="notice">
<li><span>|<a href="/rules.pdf" target="_blank">平台规则</a></span></li>
<li><span>|<a href="/user-guide.pdf" target="_blank">使用手册</a></span></li>
<li><span>|<a href="/kpgg.docx" target="_blank">开票公告(重要)</a></span></li>
<li><span>|</span></li>
</ul>
</Col>
...
...
app/components/table/table-good-size.vue
View file @
7f3b437
...
...
@@ -191,6 +191,25 @@ export default {
}
},
{
title: '库存',
render: (h, params) => {
if (!params.index) {
return <span>库存</span>;
}
return (
<div class={{'prod-sku': true}}>
{params.row.sizeId.map(size => {
return (
<div class={{'row-span': true}}>
{size.storageNum || '-'}
</div>
);
})}
</div>
);
}
},
{
title: '操作',
key: 'operator',
render: (h, params) => {
...
...
app/pages/product/edit/edit.vue
View file @
7f3b437
...
...
@@ -407,6 +407,7 @@ export default {
return;
}
newGoods.sizeId[index].productSku = s.productSku;
newGoods.sizeId[index].storageNum = s.storageNum;
if (s.factoryCode) {
newGoods.sizeCode[index].name = s.factoryCode;
newGoods.operator[index].value = true;
...
...
package.json
View file @
7f3b437
{
"name"
:
"yoho-shop-manage"
,
"version"
:
"1.0.
19
"
,
"version"
:
"1.0.
20
"
,
"description"
:
""
,
"main"
:
"app.js"
,
"scripts"
:
{
...
...
server/public/kpgg.docx
0 → 100644
View file @
7f3b437
No preview for this file type
Please
register
or
login
to post a comment