| | |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'scrapQty', |
| | | label: '报废数量', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'remark', |
| | |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | /* { |
| | | minWidth: '100', |
| | | prop: 'checkStatus', |
| | | label: '检测状态', |
| | |
| | | optList: () => { |
| | | return this.checkStatusOptions |
| | | } |
| | | }, |
| | | { |
| | | }, */ |
| | | /* { |
| | | minWidth: '140', |
| | | prop: 'isQualified', |
| | | label: '检测是否合格', |
| | |
| | | optList: () => { |
| | | return this.booleanOptions |
| | | } |
| | | }, |
| | | }, */ |
| | | { |
| | | minWidth: '140', |
| | | prop: 'remark', |
| | |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '100', |
| | | prop: 'scrapQty', |
| | | label: '报废数量', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '80', |
| | | prop: 'unit', |
| | | label: '单位', |
| | |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | /* { |
| | | minWidth: '100', |
| | | prop: 'checkStatus', |
| | | label: '检测状态', |
| | |
| | | optList: () => { |
| | | return this.booleanOptions |
| | | } |
| | | }, |
| | | }, */ |
| | | { |
| | | minWidth: '140', |
| | | prop: 'remark', |
| | |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button v-show="!scope.row.canEdit" type="text" :disabled="scope.row.detailExistState" |
| | | @click="scope.row.canEdit = true">编辑</el-button> |
| | | <el-button v-show="scope.row.canEdit" type="text" :disabled="scope.row.detailExistState" |
| | | @click="updateMaterial(scope.row)">保存</el-button> |
| | | <!-- <el-button v-show="!scope.row.canEdit" type="text" :disabled="scope.row.detailExistState" |
| | | @click="scope.row.canEdit = true">编辑</el-button> --> |
| | | <!-- <el-button v-show="scope.row.canEdit" type="text" :disabled="scope.row.detailExistState" |
| | | @click="updateMaterial(scope.row)">保存</el-button> --> |
| | | <el-button type="text" :disabled="scope.row.detailExistState" |
| | | @click="delMaterial(scope.row)">删除</el-button> |
| | | </template> |
| | |
| | | * https://cli.vuejs.org/zh/config/ |
| | | */ |
| | | // const url = 'http://192.168.2.7:9999' |
| | | const url = 'http://192.168.2.7:9999' |
| | | //const url = 'http://192.168.2.7:9999' |
| | | //const url = 'http://192.168.32.45:9999' |
| | | // const url = 'http://192.168.0.23:9999' |
| | | |