Commit a70226bc by 张立顺

第二轮bug修复

1 parent ab4ebbf2
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!-- prop="goodsCost" @input="handleInput($event,'goodsCost')"--> <!-- prop="goodsCost" @input="handleInput($event,'goodsCost')"-->
<el-form-item label="手续费:" <el-form-item label="手续费:"
required> required>
<el-input :value="serviceChargeValue" <el-input :value="categoryTableData.serviceCharge"
disabled> disabled>
<!-- <i slot="suffix" <!-- <i slot="suffix"
class="suffix">%</i> --> class="suffix">%</i> -->
...@@ -137,10 +137,10 @@ export default { ...@@ -137,10 +137,10 @@ export default {
set(val) { set(val) {
this.$emit('update:visible', false) 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() { // data() {
// return { // return {
......
...@@ -136,10 +136,10 @@ export default { ...@@ -136,10 +136,10 @@ export default {
}, },
watch: { watch: {
imgUrl(val) { imgUrl(val) {
if (val) {
// this.yqMerchantConfigDetail()
this.formData.imgUrl = val this.formData.imgUrl = val
} // if (val) {
// // this.yqMerchantConfigDetail()
// }
} }
}, },
mounted() { mounted() {
...@@ -164,6 +164,7 @@ export default { ...@@ -164,6 +164,7 @@ export default {
async handleAddConfirm() { async handleAddConfirm() {
this.$refs.elForm.validate(async (valid) => { this.$refs.elForm.validate(async (valid) => {
console.log(valid) console.log(valid)
// return
if (valid) { if (valid) {
const params = { const params = {
yqMerchantId: this.merchantInfo.yqMerchantId, 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!