条件控制确定按钮

This commit is contained in:
caorui 2025-05-09 14:23:03 +08:00
parent c958c8d59c
commit 1459b979a4
1 changed files with 6 additions and 1 deletions

View File

@ -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 {