Commit 55cf17ce by wangql

修改BUG

1 parent 72cf551e
......@@ -2,7 +2,8 @@
<template>
<div>
<el-dialog :title="title" :visible.sync="isVisible" :show-close="showClose" :before-close="handleClose" :close-on-click-modal="false" :modal-append-to-body="false" :width="width">
<el-scrollbar v-if="hasScroll">
<div style="height:60vh;overflow:auto">
<el-scrollbar v-if="hasScroll">
<span slot="title">
<span class="main-title">{{ title }}</span>
<span class="dialog-sub-title">
......@@ -20,6 +21,8 @@
</span>
<slot></slot>
</template>
</div>
<div slot="footer">
<slot name="btn-start"></slot>
......@@ -90,7 +93,7 @@ export default {
btnSize: {
type: String,
default: 'mini'
}
},
},
methods: {
......@@ -113,4 +116,8 @@ export default {
// border-bottom: 1px solid #e6e6e6;
// padding: 20px 25px;
// }
.el-dialog-div {
height: 60vh;
overflow: auto;
}
</style>
......@@ -139,6 +139,13 @@ export default {
handleMutiSelectConfirm() {
var selectedData = this.$refs.mutiProRef.mutiSelectArr[this.tableParams.mutiSelectName]
console.log(selectedData)
if(!selectedData){
this.$message({
message: '未选择商品',
type: 'error'
})
return
}
this.$emit('handleMutiSelectConfirm', selectedData)
},
handleMutiSelectClose() {
......
......@@ -14,6 +14,7 @@
end-placeholder="结束日期"
value-format="yyyy-MM-dd HH:mm:ss"
:picker-options="pickerOptions"
:default-time="['00:00:00', '23:59:59']"
:disabled="isDisabled" clearable>
</el-date-picker>
<!-- </el-form-item> -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!