| | |
| | | @click="handleSW" |
| | | :disabled=SWbuttonDistable |
| | | type="primary" |
| | | v-has="'dailyInspectionOrder:SW'" |
| | | >开工</a-button> |
| | | <a-button |
| | | :style="{marginRight: '8px'}" |
| | | @click="handleReport" |
| | | :disabled="buttonDistable" |
| | | type="primary" |
| | | v-has="'dailyInspectionOrder:report'" |
| | | >报工</a-button> |
| | | <a-button |
| | | :style="{marginRight: '8px'}" |
| | | @click="handleReset" |
| | | :disabled="revocationDistable" |
| | | type="primary" |
| | | v-has="'dailyInspectionOrder:reset'" |
| | | >撤销</a-button> |
| | | </a-row> |
| | | </div> |
| | |
| | | style="max-width:80px;font-size: 12px;font-style: italic;" |
| | | /> |
| | | <a-select |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '2'" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '2'" |
| | | :value="text" |
| | | :options="record.inspectionCycles" |
| | | @change="(e) => handleChange(e, record.key, col, index)" |
| | |
| | | /> |
| | | <a-input-number |
| | | :value="text" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '1'" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '1'" |
| | | :min="0" |
| | | :max="200" |
| | | :max="20000" |
| | | @change="(e)=>handleChange(e, record.key, col, index,record)" |
| | | style="width: 100%" |
| | | :disabled="record.disabled" |
| | |
| | | @click="handleTS" |
| | | :disabled="buttonDistable" |
| | | type="primary" |
| | | v-has="'dailyInspectionOrder:TS'" |
| | | >暂存</a-button> |
| | | <a-button |
| | | @click="handleOk" |
| | | :disabled="buttonDistable" |
| | | type="primary" |
| | | v-has="'dailyInspectionOrder:save'" |
| | | >保存</a-button> |
| | | </a-row> |
| | | </div> |
| | |
| | | dataIndex: 'abnormalDesc', |
| | | scopedSlots: { customRender: 'abnormalDesc' }, |
| | | }, |
| | | { |
| | | title: '异常拍照', |
| | | align: 'center', |
| | | dataIndex: 'abnormalPhoto', |
| | | scopedSlots: { customRender: 'abnormalPhoto' }, |
| | | // dataIndex: 'action', |
| | | // scopedSlots: { customRender: 'action' }, |
| | | }, |
| | | // { |
| | | // title: '异常拍照', |
| | | // align: 'center', |
| | | // dataIndex: 'abnormalPhoto', |
| | | // scopedSlots: { customRender: 'abnormalPhoto' }, |
| | | // }, |
| | | { |
| | | title: '*异常处置', |
| | | align: 'center', |
| | |
| | | if (target) { |
| | | |
| | | if (column.dataIndex == 'inspectionProjectResult') { |
| | | if (target.analysisMethod === "1") { |
| | | if (target.testValueType === "1") { |
| | | target[column.dataIndex] = value; |
| | | let maxValue = target.maxValue |
| | | let minValue = target.minValue |