You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
797 B
34 lines
797 B
<template>
|
|
<el-form :model="form" ref="formRef" label-width="auto">
|
|
<el-form-item label="采购申请自动通过">
|
|
<el-radio-group v-model="form.autoAuditPurchase">
|
|
<el-radio :label="true"> 是 </el-radio>
|
|
<el-radio :label="false"> 否 </el-radio>
|
|
</el-radio-group>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-button type="primary" @click="onSubmit">保存</el-button>
|
|
<el-button @click="getData">刷新</el-button>
|
|
</el-form-item>
|
|
</el-form>
|
|
</template>
|
|
|
|
<script setup name="BasicSettingMall">
|
|
const message = useMessage()
|
|
|
|
const form = ref({
|
|
autoAuditPurchase: 0
|
|
})
|
|
|
|
function getData() {
|
|
form.value = {
|
|
autoAuditPurchase: 1
|
|
}
|
|
}
|
|
|
|
function onSubmit() {
|
|
message.success('保存成功')
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|
|
|