| | |
| | | @keyup.enter.native="refreshTable"> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-button v-if="tabIndex === 3 || tabIndex === 4" :icon="!more?'el-icon-arrow-down':'el-icon-arrow-up'" style="color: #3A7BFA;" type="text" @click="more=!more">{{!more?'更多':'收起'}}</el-button> |
| | | <el-button size="small" icon="el-icon-search" type="primary" @click="refreshTable()">查 询</el-button> |
| | | <el-button size="small" @click="refresh()" icon="el-icon-refresh">重 置</el-button> |
| | | <el-form-item> |
| | | <el-button v-if="tabIndex === 3 || tabIndex === 4" :icon="!more?'el-icon-arrow-down':'el-icon-arrow-up'" style="color: #3A7BFA;" type="text" @click="more=!more">{{!more?'更多':'收起'}}</el-button> |
| | | <el-button size="mini" icon="el-icon-search" type="primary" @click="refreshTable()">查 询</el-button> |
| | | <el-button size="mini" @click="refresh()" icon="el-icon-refresh">重 置</el-button> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-row> |
| | | <el-form-item label="检验状态" prop="inspectStatus" v-if="(tabIndex === 3 || tabIndex === 4) && more"> |
| | |
| | | </div> |
| | | <!--待报检、待下单--> |
| | | <div class="table"> |
| | | <lims-table :tableData="tableData" :column="column" v-if="tabIndex === 0 || tabIndex === 1"> |
| | | <lims-table :tableData="tableData" :column="column" v-if="tabIndex === 0 || tabIndex === 1" |
| | | @pagination="pagination" :height="'calc(100vh - 290px)'" |
| | | :page="page" :tableLoading="tableLoading"></lims-table> |
| | | </div> |
| | |
| | | {label: '零件号', prop: 'partNo'}, |
| | | {label: '零件描述', prop: 'partDesc'}, |
| | | {label: '供应商名称', prop: 'supplierName'}, |
| | | {label: '物料类型', prop: 'isExpire'}, |
| | | { |
| | | dataType: 'tag', |
| | | label: '物料类型', |
| | | prop: 'isExpire', |
| | | formatData: (params) => { |
| | | if (params == 1) { |
| | | return '过期物料' |
| | | } else { |
| | | return '' |
| | | } |
| | | }, |
| | | formatType: (params) => { |
| | | if (params == 1) { |
| | | return 'info' |
| | | } else { |
| | | return '' |
| | | } |
| | | } |
| | | }, |
| | | {label: '单位', prop: 'buyUnitMeas'}, |
| | | {label: '接收时间', prop: 'receiverDate'}, |
| | | {label: '报检时间', prop: 'declareDate'}, |
| | |
| | | dataType: 'action', |
| | | fixed: 'right', |
| | | label: '操作', |
| | | width: '140px', |
| | | width: '150px', |
| | | operation: [ |
| | | { |
| | | name: '报检', |
| | |
| | | {label: '样品名称', prop: 'sampleName'}, |
| | | {label: '样品型号', prop: 'sampleModel'}, |
| | | {label: '检验人', prop: 'userName'}, |
| | | {label: '物料类型', prop: 'isExpire'}, |
| | | { |
| | | dataType: 'tag', |
| | | label: '物料类型', |
| | | prop: 'isExpire', |
| | | formatData: (params) => { |
| | | if (params == 1) { |
| | | return '过期物料' |
| | | } else { |
| | | return '' |
| | | } |
| | | }, |
| | | formatType: (params) => { |
| | | if (params == 1) { |
| | | return 'info' |
| | | } else { |
| | | return '' |
| | | } |
| | | } |
| | | }, |
| | | {label: '单位', prop: 'buyUnitMeas'}, |
| | | {label: '接收时间', prop: 'receiverDate'}, |
| | | {label: '报检时间', prop: 'declareDate'}, |