Commit 117d05c4 by chenwq

众筹

1 parent e6d28f4b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<template> <template>
<div class="marketing p-t-20"> <div class="marketing p-t-20">
<div class="m-b-20"> <div class="m-b-20">
<GLButton :size="size" class="default-blue-btn el-icon-plus" type="default" @click="handleEdit('add')" fn="新建众筹" mode="el-button">新建众筹</GLButton> <GLButton :size="size" class="default-blue-btn el-icon-plus" type="default" @click="handleEdit('add')" fn="新增众筹" mode="el-button">新建众筹</GLButton>
<el-button :size="size" type="default" class="default-blue-btn" @click="handleJump">订单管理</el-button> <el-button :size="size" type="default" class="default-blue-btn" @click="handleJump">订单管理</el-button>
</div> </div>
<div class="container"> <div class="container">
......
...@@ -499,7 +499,7 @@ export default { ...@@ -499,7 +499,7 @@ export default {
this.getGoodInfo(info.goodsId) this.getGoodInfo(info.goodsId)
if (info.activityPrice != null && info.goodsStock != null) { if (info.activityPrice != null && info.goodsStock != null) {
form.activityPrice = (info.activityPrice / 100).toFixed(2) form.activityPrice = (info.activityPrice / 100).toFixed(2)
form.goodsStock = info.goodsStock form.goodsStock = info.goodsStock + ''
} }
this.$nextTick(() => { this.$nextTick(() => {
this.editStatus = false this.editStatus = false
......
...@@ -227,7 +227,7 @@ export default { ...@@ -227,7 +227,7 @@ export default {
} }
], ],
goodsStock: [ goodsStock: [
{ required: true, message: '请设置活动库存', trigger: 'change' }, { required: true, message: '请设置活动库存', trigger: 'change' }
// { // {
// validator: (rule, value, callback) => { // validator: (rule, value, callback) => {
// return value > this.selectedProInfo.goodsStock ? callback(new Error('活动库存不能大于商品库存')) : callback() // return value > this.selectedProInfo.goodsStock ? callback(new Error('活动库存不能大于商品库存')) : callback()
...@@ -749,7 +749,7 @@ export default { ...@@ -749,7 +749,7 @@ export default {
this.getGoodInfo(info.goodsId) this.getGoodInfo(info.goodsId)
if (info.activityPrice != null && info.goodsStock != null) { if (info.activityPrice != null && info.goodsStock != null) {
this.editForm.activityPrice = (info.activityPrice / 100).toFixed(2) this.editForm.activityPrice = (info.activityPrice / 100).toFixed(2)
this.editForm.goodsStock = info.goodsStock this.editForm.goodsStock = info.goodsStock + ''
} }
// 地图 // 地图
if (info.activityAddressProvinceName || info.activityAddressCityName) { if (info.activityAddressProvinceName || info.activityAddressCityName) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!