master
fanfan 4 months ago
parent 8eff76cd2a
commit 2d75de9547
  1. 1365
      src/views/goods/Create.vue
  2. 4
      src/views/goods/distributionPrice/Index.vue
  3. 4
      src/views/goods/memberPrice/Index.vue
  4. 2
      src/views/goods/modules/Update.vue

File diff suppressed because it is too large Load Diff

@ -181,7 +181,7 @@ export default {
return
}
if (list[index_1].price_list[index_2].min && list[index_1].price_list[index_2].max) {
let rate = Number(list[index_1].price_list[index_2].add_price_rate)
let rate =list[index_1].price_list[index_2].add_price_rate
list[index_1].price_list[index_2].startProfit = Number(
(list[index_1].price_list[index_2].min * (rate / 100)).toFixed(2)
)
@ -199,7 +199,7 @@ export default {
onRate(e, index_1, index_2) {
const { form } = this
const list = form.getFieldValue('list')
let rate = Number(list[index_1].price_list[index_2].add_price_rate)
let rate = list[index_1].price_list[index_2].add_price_rate
let min = list[index_1].price_list[index_2].min
let max = list[index_1].price_list[index_2].max
if (!min) {

@ -178,7 +178,7 @@ export default {
return
}
if (list[index_1].price_list[index_2].min && list[index_1].price_list[index_2].max) {
let rate = Number(list[index_1].price_list[index_2].add_price_rate)
let rate =list[index_1].price_list[index_2].add_price_rate
list[index_1].price_list[index_2].startProfit = Number(
(list[index_1].price_list[index_2].min * (rate / 100)).toFixed(2)
)
@ -196,7 +196,7 @@ export default {
onRate(e, index_1, index_2) {
const { form } = this
const list = form.getFieldValue('list')
let rate = Number(list[index_1].price_list[index_2].add_price_rate)
let rate = list[index_1].price_list[index_2].add_price_rate
let min = list[index_1].price_list[index_2].min
let max = list[index_1].price_list[index_2].max
if (!min) {

@ -245,7 +245,7 @@
</div>
</a-form-item>
<a-form-item label="下单须知" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入下单须知" v-decorator="['remark']" />
<a-textarea v-decorator="['remark']" placeholder="请输入下单须知" :autoSize="{ minRows: 4, maxRows: 6 }" autocomplete="off" />
</a-form-item>
<a-form-item label="初始销量" :labelCol="labelCol" :wrapperCol="wrapperCol" extra="用户端展示的销量 = 初始销量 + 实际销量">
<a-input-number v-decorator="['sales_initial', { initialValue: 0 }]" />

Loading…
Cancel
Save