| | |
| | | v-hasPermi="['om:productionOrde:export']" |
| | | >导出</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | | icon="el-icon-download" |
| | | size="mini" |
| | | @click="getWorkOrders" |
| | | >接收</el-button> |
| | | </el-col> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | |
| | | </el-table-column> |
| | | <!-- <el-table-column label="订单编号" width="140" align="center" prop="salesOrderCode">--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column :show-overflow-tooltip='true' label="pack码" width="160" align="center" prop="productNum"> |
| | | </el-table-column> |
| | | <el-table-column :show-overflow-tooltip='true' label="小车码" width="160" align="center" prop="trolleyYard"> |
| | | </el-table-column> |
| | | <el-table-column label="产品编号" width="110" align="center" prop="productCode"> |
| | | </el-table-column> |
| | | <el-table-column label="产品名称" width="120" align="center" prop="productName"> |
| | |
| | | import { listProductBom } from "@/api/main/bs/ProductBom/ProductBom"; |
| | | import { listTechnologyRoute} from "@/api/main/bs/technologyRoute/technologyRoute"; |
| | | import ItemSelect from "@/components/itemSelect/single.vue"; |
| | | import { importTemplate, upDownMove, listProductionOrde, getProductionOrde, delProductionOrde, addProductionOrde, updateProductionOrde } from "@/api/main/om/productionOrde/productionOrde"; |
| | | import { |
| | | importTemplate, |
| | | upDownMove, |
| | | listProductionOrde, |
| | | getProductionOrde, |
| | | delProductionOrde, |
| | | addProductionOrde, |
| | | updateProductionOrde, |
| | | receivingWorkOrders |
| | | } from "@/api/main/om/productionOrde/productionOrde"; |
| | | |
| | | export default { |
| | | name: "ProductionOrde", |
| | |
| | | this.initWorkshop(); |
| | | }, |
| | | methods: { |
| | | getWorkOrders(){ |
| | | receivingWorkOrders().then(response => { |
| | | this.$modal.msgSuccess(response.msg); |
| | | this.getList() |
| | | }); |
| | | }, |
| | | /** 导入按钮操作 */ |
| | | handleImport() { |
| | | this.upload.title = "订单信息导入"; |
| | |
| | | marketAreaCode: null, |
| | | softwareVersionCode: null, |
| | | productCompanyCode: null, |
| | | spareField1: null, |
| | | trolleyYard: null, |
| | | spareField2: null, |
| | | spareField3: null, |
| | | spareField4: null, |