| | |
| | | <div class="app-container"> |
| | | <div> |
| | | <el-form :model="entity" ref="entity" size="small" :inline="true"> |
| | | <el-form-item label="批号" prop="updateBatchNo"> |
| | | <el-input v-model="entity.updateBatchNo" clearable placeholder="请输入" size="small" |
| | | @keyup.enter.native="refreshTable()"> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="委托编号" prop="entrustCode"> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="entity.entrustCode" |
| | | @keyup.enter.native="refreshTable()"></el-input> |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button icon="el-icon-refresh" size="mini" @click="refresh">重 置</el-button> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">查 询</el-button> |
| | | <el-button type="primary" size="mini" @click="refreshTable">查询</el-button> |
| | | <el-button size="mini" @click="refresh">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div class="page_total"> |
| | |
| | | tableData: [], |
| | | column: [ |
| | | { |
| | | label: "批号", |
| | | prop: "updateBatchNo", |
| | | width: "120px", |
| | | }, |
| | | { |
| | | label: "委托编号", |
| | | prop: "entrustCode", |
| | | width: "160px", |
| | |
| | | dataType: "tag", |
| | | formatData: (params) => { |
| | | if (params == 0) { |
| | | return "成品下单"; |
| | | } else { |
| | | return "外购下单"; |
| | | } else if(params==1) { |
| | | return "原材料下单"; |
| | | }else{ |
| | | return "委托下单"; |
| | | } |
| | | }, |
| | | }, |
| | |
| | | currentTime: null, |
| | | sonLaboratoryList: [], |
| | | typeSourceList: [ |
| | | { label: '成品下单', value: 0 }, |
| | | { label: '委托下单', value: -1 }, |
| | | { label: '外购下单', value: 0 }, |
| | | { label: '原材料下单', value: 1 }, |
| | | ], |
| | | isCopper: null, |
| | |
| | | case 0: |
| | | // 原材料 |
| | | this.$router.push({ |
| | | path: "/materialOrder/customsInspection", query: { |
| | | path: "/materialOrder/customsInspectionView", query: { |
| | | customsInspection: row, |
| | | active: this.activeFace, |
| | | currentId: this.currentId, |
| | |
| | | case null: |
| | | // 成品 |
| | | this.$router.push({ |
| | | path: "/productOrder/add", query: { |
| | | path: "/productOrder/addView", query: { |
| | | examine: this.examine, |
| | | active: this.activeFace, |
| | | currentId: this.currentId |
| | |
| | | case 1: |
| | | // 铜材 |
| | | this.$router.push({ |
| | | path: "/materialOrder/copperOrder", query: { |
| | | path: "/materialOrder/CopperView", query: { |
| | | active: this.activeFace, |
| | | currentId: this.currentId |
| | | } |
| | |
| | | <style scoped> |
| | | .page_total { |
| | | margin-bottom: 10px; |
| | | display: flex; |
| | | } |
| | | .page_total span:last-child { |
| | | color: #3a7bfa; |
| | | font-size: 23px; |
| | | font-weight: 400; |
| | | } |
| | | </style> |