| | |
| | | @keyup.enter.native="refreshTable"> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="委托编号" prop="entrustCode"> |
| | | <el-form-item label="委托编号" prop="entrustCode" v-if="tabIndex !== 0"> |
| | | <el-input v-model="entity.entrustCode" clearable placeholder="请输入" size="small" |
| | | @keyup.enter.native="refreshTable"> |
| | | </el-input> |
| | |
| | | updateEntrustCode |
| | | } from "@/api/business/rawMaterialOrder"; |
| | | import { getWarehouseSubmit } from "@/api/business/materialInspection"; |
| | | import {mapGetters} from "vuex"; |
| | | // import Inspection from "../do/b1-inspect-order-plan/Inspection.vue"; |
| | | |
| | | export default { |
| | |
| | | outLoading: false |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters(['nickName']) |
| | | }, |
| | | mounted() { |
| | | this.refreshTable() |
| | | }, |
| | |
| | | if (row.userName) { |
| | | inspectorList = row.userName.split(',') |
| | | } |
| | | let user = JSON.parse(localStorage.getItem('user')) |
| | | if (user) { |
| | | inspectorList.push(user.name) |
| | | } |
| | | inspectorList.push(this.nickName) |
| | | this.inspectorList = inspectorList |
| | | this.insInfo = row |
| | | this.InspectInfoDialog = true |
| | |
| | | }).catch(() => { }) |
| | | }, |
| | | viewInsInfo0() { |
| | | this.state = 3; |
| | | this.typeSource = this.insInfo.typeSource |
| | | this.orderId = this.insInfo.enterOrderId |
| | | let inspectorList = [] |
| | | inspectorList.push(this.nickName) |
| | | this.InspectInfoDialog = false |
| | | this.$router.push({ |
| | | path: "/inspectionTask/inspection", |
| | | query: { |
| | | sonLaboratory: '原材料', |
| | | state: 3, |
| | | typeSource: this.insInfo.typeSource, |
| | | orderId: this.insInfo.enterOrderId, |
| | | inspectorList: inspectorList, |
| | | }, |
| | | }) |
| | | }, |
| | | viewInsInfo1() { |
| | | this.state = 3; |
| | | this.typeSource = this.insInfo.typeSource |
| | | this.orderId = this.insInfo.quarterOrderId |
| | | let inspectorList = [] |
| | | inspectorList.push(this.nickName) |
| | | this.InspectInfoDialog = false |
| | | this.$router.push({ |
| | | path: "/inspectionTask/inspection", |
| | | query: { |
| | | sonLaboratory: '原材料', |
| | | state: 3, |
| | | typeSource: this.insInfo.typeSource, |
| | | orderId: this.insInfo.quarterOrderId, |
| | | inspectorList: inspectorList, |
| | | }, |
| | | }) |
| | | }, |
| | | goback() { |
| | | this.state = 0 |