From c6421e15ecc9df14dbb2f29ab76a73ce7aa7f603 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 25 十一月 2024 21:32:09 +0800 Subject: [PATCH] 预约小票 打印 --- src/views/ecg/checktype/CheckTypeForm.vue | 42 ++++++++++++++++++++++++++++++++++++++---- 1 files changed, 38 insertions(+), 4 deletions(-) diff --git a/src/views/ecg/checktype/CheckTypeForm.vue b/src/views/ecg/checktype/CheckTypeForm.vue index d3c5148..05fd45b 100644 --- a/src/views/ecg/checktype/CheckTypeForm.vue +++ b/src/views/ecg/checktype/CheckTypeForm.vue @@ -4,7 +4,7 @@ ref="formRef" :model="formData" :rules="formRules" - label-width="100px" + label-width="140px" v-loading="formLoading" > <el-form-item label="妫�鏌ョ被鍨嬪悕" prop="name"> @@ -23,6 +23,26 @@ :inactive-value="0" /> </el-form-item> + <el-form-item label="鍙彿鍒�" prop="callingColumn"> + <el-input v-model="formData.callingColumn" placeholder="璇疯緭鍏ュ彨鍙峰垪" /> + </el-form-item> + <el-form-item label="鏄剧ず鎮h�呮潯鐮�" prop="displayBarcode"> + <el-input v-model="formData.displayBarcode" placeholder="璇疯緭鍏ユ槸鍚︽樉绀烘偅鑰呮潯鐮�" /> + </el-form-item> + <el-form-item label="闇�瑕佺‘璐�" prop="expenseRecognition"> + <el-input v-model="formData.expenseRecognition" placeholder="璇疯緭鍏ユ槸鍚﹂渶瑕佺‘璐�" /> + </el-form-item> + <el-form-item label="鏃舵棰勭害瑙勫畾浜烘暟" prop="timeslotBookNum"> + <el-input v-model="formData.timeslotBookNum" placeholder="璇疯緭鍏ユ椂娈甸绾﹁瀹氫汉鏁�" /> + </el-form-item> + <el-form-item label="姣忔椂娈甸鐣欎汉鏁�" prop="timeslotReservedNum"> + <el-input v-model="formData.timeslotReservedNum" placeholder="璇疯緭鍏ユ瘡鏃舵棰勭暀浜烘暟" /> + </el-form-item> + <el-form-item label="浜插拰鐨勬鏌ョ被鍨�" prop="affinityCheckTypes"> + <el-checkbox-group v-model="formData.affinityCheckTypes"> + <el-checkbox v-for="checkTypeVO in checkTypeStore.getCheckTypeOptions()" :value="checkTypeVO.value" :key="checkTypeVO.value">{{checkTypeVO.label}}</el-checkbox> + </el-checkbox-group> + </el-form-item> </el-form> <template #footer> <el-button @click="submitForm" type="primary" :disabled="formLoading">纭� 瀹�</el-button> @@ -31,14 +51,16 @@ </Dialog> </template> <script setup lang="ts"> -import { getIntDictOptions, DICT_TYPE } from '@/utils/dict' import { CheckTypeApi, CheckTypeVO } from '@/api/ecg/checktype' +import {useCheckTypeStore} from "@/store/modules/checkType"; /** 妫�鏌ョ被鍨� 琛ㄥ崟 */ defineOptions({ name: 'CheckTypeForm' }) const { t } = useI18n() // 鍥介檯鍖� const message = useMessage() // 娑堟伅寮圭獥 + +const checkTypeStore = useCheckTypeStore(); const dialogVisible = ref(false) // 寮圭獥鐨勬槸鍚﹀睍绀� const dialogTitle = ref('') // 寮圭獥鐨勬爣棰� @@ -49,7 +71,13 @@ name: undefined, value: undefined, readyNum: undefined, - needDevReady: [] + needDevReady: undefined, + callingColumn: undefined, + displayBarcode: undefined, + expenseRecognition: undefined, + timeslotBookNum: undefined, + timeslotReservedNum: undefined, + affinityCheckTypes: [] }) const formRules = reactive({ }) @@ -104,7 +132,13 @@ name: undefined, value: undefined, readyNum: undefined, - needDevReady: [] + needDevReady: undefined, + callingColumn: undefined, + displayBarcode: undefined, + expenseRecognition: undefined, + timeslotBookNum: undefined, + timeslotReservedNum: undefined, + affinityCheckTypes: [] } formRef.value?.resetFields() } -- Gitblit v1.9.3