Commit a70226bc by 张立顺

第二轮bug修复

1 parent ab4ebbf2
......@@ -28,7 +28,7 @@
<!-- prop="goodsCost" @input="handleInput($event,'goodsCost')"-->
<el-form-item label="手续费:"
required>
<el-input :value="serviceChargeValue"
<el-input :value="categoryTableData.serviceCharge"
disabled>
<!-- <i slot="suffix"
class="suffix">%</i> -->
......@@ -137,10 +137,10 @@ export default {
set(val) {
this.$emit('update:visible', false)
}
},
serviceChargeValue() {
return this.form.totalPrice ? (this.form.totalPrice * 0.006).toFixed(2) : 0
}
// serviceChargeValue() {
// return this.form.totalPrice ? (this.form.totalPrice * 0.006).toFixed(2) : 0
// }
},
// data() {
// return {
......
......@@ -136,10 +136,10 @@ export default {
},
watch: {
imgUrl(val) {
if (val) {
// this.yqMerchantConfigDetail()
this.formData.imgUrl = val
}
this.formData.imgUrl = val
// if (val) {
// // this.yqMerchantConfigDetail()
// }
}
},
mounted() {
......@@ -164,6 +164,7 @@ export default {
async handleAddConfirm() {
this.$refs.elForm.validate(async (valid) => {
console.log(valid)
// return
if (valid) {
const params = {
yqMerchantId: this.merchantInfo.yqMerchantId,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!