【类 型】:factor

【原  因】:小程序端在结算的时候 从商铺信息里面调用 默认的运费 打包费
【过  程】:商铺设置里增加 运费 打包费字段缺省值
【影  响】:
This commit is contained in:
sszdot 2024-12-12 14:26:36 +08:00
parent 8a59e75e29
commit 9be9d04a91

View File

@ -41,6 +41,16 @@
<template slot="append"></template> <template slot="append"></template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="运费缺省">
<el-input v-model="form.default_transport_price" placeholder="送货运费缺省值">
<template slot="append"></template>
</el-input>
</el-form-item>
<el-form-item label="打包费缺省">
<el-input v-model="form.default_pack_price" placeholder="打包服务费缺省值">
<template slot="append"></template>
</el-input>
</el-form-item>
<el-form-item label="营业时间"> <el-form-item label="营业时间">
<el-time-picker is-range v-model="form.intervalTime" range-separator="" start-placeholder="开始时间" <el-time-picker is-range v-model="form.intervalTime" range-separator="" start-placeholder="开始时间"
end-placeholder="结束时间" placeholder="选择时间范围"> end-placeholder="结束时间" placeholder="选择时间范围">
@ -167,6 +177,8 @@ export default {
this.form.email = data.email this.form.email = data.email
this.form.price_min = data.price_min this.form.price_min = data.price_min
this.form.weight_max = data.weight_max this.form.weight_max = data.weight_max
this.form.default_transport_price = data.default_transport_price
this.form.default_pack_price = data.default_pack_price
this.form.oldFile = data.oldFile this.form.oldFile = data.oldFile
this.form.upFile = data.upFile this.form.upFile = data.upFile
this.form.desc = data.desc this.form.desc = data.desc
@ -191,6 +203,8 @@ export default {
email: this.shop.email, email: this.shop.email,
price_min: this.shop.price_min, price_min: this.shop.price_min,
weight_max: this.shop.weight_max, weight_max: this.shop.weight_max,
default_transport_price: this.shop.default_transport_price,
default_pack_price: this.shop.default_pack_price,
oldFile: this.shop.logo, oldFile: this.shop.logo,
upFile: '', upFile: '',
intervalTime: [this.parseTimeString(this.shop.opening_time), this.parseTimeString(this.shop.closeing_time)] intervalTime: [this.parseTimeString(this.shop.opening_time), this.parseTimeString(this.shop.closeing_time)]