| | |
| | | </div> |
| | | <lims-table :tableData="tableData0" :column="column0" |
| | | :page="page0" :tableLoading="tableLoading" |
| | | height="560" @pagination="pagination0"></lims-table> |
| | | height="500" @pagination="pagination0"></lims-table> |
| | | <span slot="footer" class="dialog-footer" v-if="insState == 99"> |
| | | <el-button @click="editInspectionDia = false">取 消</el-button> |
| | | <el-button type="primary" @click="handleSubmit">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="editAskDia" title="修改" width="50%"> |
| | | <el-form ref="form" :model="editForm" label-width="100px"> |
| | |
| | | orderId: 0, |
| | | inspectionItem: '' |
| | | }, |
| | | insState: 0, |
| | | tableData0: [], |
| | | tableLoading: false, |
| | | column0: [ |
| | |
| | | clickFun: (row) => { |
| | | this.editIns(row); |
| | | }, |
| | | disabled: (row) => { |
| | | return this.insState == 3 || this.insState == 5 || this.insState == 99 |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | }, |
| | | // 方法集合 |
| | | methods: { |
| | | showDialog(id) { |
| | | showDialog(id, insState) { |
| | | this.insState = insState |
| | | this.editInspectionDia = true; |
| | | this.entity.orderId = id; |
| | | this.getList0(); |
| | |
| | | this.handleEditLoading = false; |
| | | }); |
| | | }, |
| | | // 确认工时 |
| | | handleSubmit () { |
| | | this.editInspectionDia = false; |
| | | this.$emit("submit"); |
| | | }, |
| | | pagination0({ page, limit }) { |
| | | this.page0.current = page; |
| | | this.page0.size = limit; |