条件控制确定按钮
This commit is contained in:
parent
c958c8d59c
commit
1459b979a4
|
@ -9,7 +9,7 @@
|
||||||
<el-button type="primary" @click="handleReset" v-if="resetButton">重 置</el-button>
|
<el-button type="primary" @click="handleReset" v-if="resetButton">重 置</el-button>
|
||||||
<el-button @click="handleClose">取 消</el-button>
|
<el-button @click="handleClose">取 消</el-button>
|
||||||
<!-- <el-button v-if="orderCenter" @click="handleCancel">取消下单</el-button> -->
|
<!-- <el-button v-if="orderCenter" @click="handleCancel">取消下单</el-button> -->
|
||||||
<el-button type="primary" @click="handleConfirmClick">确 定</el-button>
|
<el-button type="primary" v-if="submitButton" @click="handleConfirmClick">确 定</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
@ -87,6 +87,11 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
default: '30%',
|
default: '30%',
|
||||||
},
|
},
|
||||||
|
// 重置按钮
|
||||||
|
submitButton: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue