Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
yimu
h5-admin
Commits
3d5918c8
Commit
3d5918c8
authored
Feb 22, 2022
by
王伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发布商品
parent
d23b951c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
14 deletions
+16
-14
index.vue
src/view/good-mgr/add-good/index.vue
+13
-9
sale-info.vue
src/view/good-mgr/add-good/sale-info.vue
+0
-0
vue.config.js
vue.config.js
+3
-5
No files found.
src/view/good-mgr/add-good/index.vue
View file @
3d5918c8
...
...
@@ -9,16 +9,15 @@
<label>
{{
title
}}
</label>
</div>
<base-info
:data=
"form.baseInfo"
:isDetail=
"isDetail"
:isEdit=
"isEdit"
:isAgain=
"isAgain"
/>
<!--
<sale-info
<decipt-info
:data=
"form.deciptInfo"
:isDetail=
"isDetail"
:status=
"status"
/>
<sale-info
:data=
"form.saleInfo"
:isDetail=
"isDetail"
:isEdit=
"isEdit"
:isAgain=
"isAgain"
:isSelf=
"isSelf"
:status=
"status"
v-if=
"form.baseInfo.type!=6 && form.baseInfo.type!=5"
/>
-->
<decipt-info
:data=
"form.deciptInfo"
:isDetail=
"isDetail"
:status=
"status"
/>
/>
<info-con
title=
"资源信息"
class=
"base-info-con"
v-if=
"form.baseInfo.type==5"
>
<div
class=
"series-info"
>
<label
class=
"label"
>
打包价格:
</label>
...
...
@@ -91,7 +90,7 @@
<Input
v-model=
"form.packageDTO.stock"
:disabled=
'isDetail'
placeholder=
"请输入库存"
style=
"width: 400px"
@
on-blur=
"stockBlur(form.packageDTO.stock)"
/>
</div>
</info-con>
<info-con
title=
"规格信息"
class=
"base-info-con"
v-if=
"form.baseInfo.type==6"
>
<
!--
<
info-con
title=
"规格信息"
class=
"base-info-con"
v-if=
"form.baseInfo.type==6"
>
<div
class=
"series-info"
>
<label
class=
"label"
>
商品价格:
</label>
<Input
v-model=
"form.nftdto.price"
:readonly=
"isDetail"
placeholder=
"请输入商品价格"
style=
"width: 400px"
/>
...
...
@@ -133,7 +132,7 @@
>
</Select>
</div>
</info-con>
</info-con>
-->
<info-con
title=
"销售信息:"
class=
"base-info-con"
>
<div
class=
"series-info"
v-if=
"(form.baseInfo.type==1||form.baseInfo.type==3)&&form.saleInfo.commodityPass!=0"
>
<label
class=
"label"
>
是否允许延后提货:
</label>
...
...
@@ -308,7 +307,13 @@ export default {
saleInfo
:
{
sku
:
[],
imgObj
:
{},
commodityPass
:
''
commodityPass
:
''
,
number
:
''
,
// 发行数量:只有商户选择“可拷贝”时,才会出现
price
:
''
,
// 商品价格
type
:
''
,
// NFT类型(1.单个,不可考贝 2.可拷贝)
tzType
:
''
,
// 1.内部发行 2.外部绑定
tokenId
:
''
,
// 绑定的外部通证id
salesType
:
''
// 销售模式
// statu:this.status
},
deciptInfo
:
{
...
...
@@ -355,7 +360,6 @@ export default {
tzType
:
''
,
// 1.内部发行 2.外部绑定
tokenId
:
''
// 绑定的外部通证id
}
},
skuNumber
:
''
,
loading
:
true
,
...
...
@@ -1096,7 +1100,7 @@ export default {
},
mounted
()
{
this
.
getNftList
()
//
this.getNftList()
this
.
requestOptionData
()
this
.
initData
()
this
.
getDelayDelivery
()
...
...
src/view/good-mgr/add-good/sale-info.vue
View file @
3d5918c8
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
3d5918c8
...
...
@@ -45,11 +45,9 @@ module.exports = {
pathRewrite
:
{
'^/root'
:
'/'
},
// target: 'http://146.56.197.85:12023',
// target: 'http://172.22.17.174:8088'
target
:
'http://172.22.17.108:8088'
// target: 'http://10.144.38.159:8088'
// target: 'http://10.144.156.186:8088'
target
:
'http://172.22.17.174:8088'
// target: 'http://172.22.17.108:8088'
},
'/contact'
:
{
...
...
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