| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-button @click="submitForm" type="primary" :disabled="formLoading">装机完成</el-button> |
| | | <el-button @click="cancelInstall" type="primary" :disabled="formLoading">放弃装机</el-button> |
| | | <el-button @click="resetForm()">重 置</el-button> |
| | | <el-button @click="printBill()">打印小票</el-button> |
| | | <el-button @click="cancelInstall" :disabled="formLoading">放弃装机</el-button> |
| | | |
| | | |
| | | <!-- 医生拆机列表 --> |
| | | <ContentWrap> |
| | | <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" @current-change="onCurChange" > |
| | | <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" @row-click="onRowClick" > |
| | | <el-table-column label="id" align="center" prop="id" /> |
| | | <el-table-column label="--" align="center" prop="cancelled" > |
| | | <el-table-column label="装机情况" align="center" prop="cancelled" > |
| | | <template #default="scope"> |
| | | {{scope.row.cancelled == 1 ? "放弃" : ""}} |
| | | {{scope.row.cancelled == 1 ? "放弃" : "完成"}} |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="作业类型" align="center" prop="jobType" />--> |
| | |
| | | label="作业时间" |
| | | align="center" |
| | | prop="jobTime" |
| | | :formatter="timeFormatter" |
| | | :formatter="dateFormatter" |
| | | width="180px" |
| | | /> |
| | | <!-- <el-table-column label="作业概要" align="center" prop="summary" />--> |
| | | <el-table-column label="备注" align="center" prop="remark" /> |
| | |
| | | } |
| | | } |
| | | |
| | | const onCurChange = (cur) => { |
| | | const onRowClick = (cur) => { |
| | | if (cur !== null) |
| | | getSelectedRent( cur.rentId ) |
| | | } |
| | |
| | | formData.value = await DevRentApi.getDevRent(rentId) |
| | | } |
| | | |
| | | const printBill = async () => { |
| | | ElNotification({ |
| | | title: '温馨提示', |
| | | message: '待实现!', |
| | | type: 'warning' |
| | | }) |
| | | } |
| | | |
| | | /** 初始化 **/ |
| | | onMounted(() => { |
| | | getList() |