|
@@ -5,7 +5,8 @@
|
|
|
:visible.sync="drawer"
|
|
|
direction="rtl"
|
|
|
append-to-body
|
|
|
- size="80%">
|
|
|
+ size="80%"
|
|
|
+ @close="onClose">
|
|
|
<div slot="title">
|
|
|
<div class="flex-align-center">
|
|
|
<p><span style="font-size:14px">合计:</span><span style="color:red;font-size:16px;"><b>¥ {{tool.formatAmount(data.amount,2)}}</b></span></p>
|
|
@@ -199,7 +200,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="fixed__btn__panel">
|
|
|
- <el-button size="small" @click="drawer = false" class="normal-btn-width">取 消</el-button>
|
|
|
+ <el-button size="small" @click="onClose" class="normal-btn-width">取 消</el-button>
|
|
|
<el-button size="small" type="primary" @click="onSubmit" class="normal-btn-width">保存修改</el-button>
|
|
|
</div>
|
|
|
</el-drawer>
|
|
@@ -361,6 +362,10 @@ export default {
|
|
|
},
|
|
|
addMoreProduct () {
|
|
|
this.setcol === 12?this.setcol = 24 : this.setcol = 12
|
|
|
+ },
|
|
|
+ onClose(){
|
|
|
+ this.drawer = false
|
|
|
+ this.$emit('onSuccess')
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|