| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-button @click="submitForm" type="primary" :disabled="formLoading">领用完成</el-button> |
| | | <el-button @click="resetForm()">重 置</el-button> |
| | | <el-checkbox style="margin-left:10px" label="自动 " v-model="autoPrint" /> |
| | | <el-button @click="printBill(formData.patId)">打印小票</el-button> |
| | | <el-button @click="printBill(formData.patId, 8)">打印小票2</el-button> |
| | | <el-button @click="cancelInstall" :disabled="formLoading">放弃装机</el-button> |
| | | <el-button @click="resetForm()">重 置</el-button> |
| | | |
| | | <!-- 医生装机列表 --> |
| | | <ContentWrap> |
| | |
| | | |
| | | const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用 |
| | | |
| | | const autoPrint = ref<boolean>(true); |
| | | |
| | | const checkTypeStore = useCheckTypeStoreWithOut() |
| | | |
| | | const formData = ref<DevRentVO>({ |
| | |
| | | const result = await DevRentApi.devReady(data) |
| | | formData.value.id = result |
| | | message.success(t('操作完成')) |
| | | if (autoPrint.value) |
| | | printBill( data.patId) |
| | | } else { |
| | | await DevRentApi.devReady(data) |
| | | message.success(t('更新完成')) |