| | |
| | | repealEnterRawOrder, |
| | | repealQuarterRawOrder, |
| | | revokeInspectionReport, |
| | | updateEntrustCode |
| | | updateEntrustCode, |
| | | getOrderCountByIfsId |
| | | } from "@/api/business/rawMaterialOrder"; |
| | | import { getWarehouseSubmit } from "@/api/business/materialInspection"; |
| | | import {mapGetters} from "vuex"; |
| | |
| | | }, |
| | | // 下单 |
| | | playOrder(row) { |
| | | this.$router.push({ path: "/materialOrder/customsInspectionOrder", query: {isOutsourcing:'f', orderType: 0, customsInspection: row, active: 1 } }); |
| | | //查询当前批次是否已经下单 |
| | | getOrderCountByIfsId(row.id).then(res=>{ |
| | | if(res.code===200 && res.data>0){ |
| | | this.$message.warning('该批次已下单,请勿重复下单') |
| | | this.refreshTable('page') |
| | | return |
| | | } |
| | | this.$router.push({ path: "/materialOrder/customsInspectionOrder", query: {isOutsourcing:'f', orderType: 0, customsInspection: row, active: 1 } }); |
| | | }).catch(error=>{ |
| | | console.error(error) |
| | | }) |
| | | }, |
| | | // 季度检验下单 |
| | | playOrderSec(row) { |