modified: src/api/product/personboard.js
modified: src/views/product/workbench/feed-pane.vue
modified: vue.config.js
| | |
| | | }) |
| | | } |
| | | |
| | | export function getFeed2(query, workstationId) { |
| | | return request({ |
| | | url: '/mes/stock/getFeedingStock2/' + workstationId, |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | export function getTodoStock(query) { |
| | | return request({ |
| | | url: '/mes/stock/getToDealStockByWorkstationId', |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getStock, getFeed, getTodoStock, submitInsPart, inputHandle } from '@/api/product/personboard' |
| | | import { getStock, getFeed,getFeed2, getTodoStock, submitInsPart, inputHandle } from '@/api/product/personboard' |
| | | import { getMaterial } from '@/api/plan/operationtask' |
| | | import { |
| | | getERPStockListByPart, |
| | | fetchList |
| | | fetchList, |
| | | } from '@/api/warehouse/joinstockorder' |
| | | import feedFormDialog from './feed-form' |
| | | import returnMaterialFormDialog from './returnmaterial-form' |
| | |
| | | this.paramObject, |
| | | this.queryParamThree |
| | | ) |
| | | getFeed(query, stationId) |
| | | getFeed2(query, stationId) |
| | | .then((response) => { |
| | | var data = response.data |
| | | if (data.code === 0) { |
| | |
| | | getERPStockListByPart({ |
| | | partNo: part.partNo, |
| | | partBatchNo: part.partBatchNo |
| | | }) |
| | | .then((resp) => { |
| | | }).then((resp) => { |
| | | const respCode = resp.data.code |
| | | const respData = resp.data.data |
| | | if (respCode === 0) { |
| | |
| | | this.isSubmit = false |
| | | this.$message.error('库存列表查询失败') |
| | | } |
| | | }) |
| | | .catch(() => { |
| | | }).catch(() => { |
| | | this.isSubmit = false |
| | | console.log('查询零件对应的库存列表时,发生错误') |
| | | }) |
| | |
| | | * 配置参考: |
| | | * https://cli.vuejs.org/zh/config/ |
| | | */ |
| | | const url = 'http://192.168.0.23:9999' |
| | | // const url = 'http://192.168.0.23:9999' |
| | | |
| | | // const url = 'http://192.168.0.60:9999' |
| | | // const url = 'http://localhost:9999' |
| | | const url = 'http://localhost:9999' |
| | | |
| | | // const url = 'http://ztt-gateway:9999' |
| | | const localUrl = 'http://localhost:8089' |