修改生产界面

master
夜笙歌 8 months ago
parent cd75a5272b
commit bc6f67a32a

@ -43,3 +43,28 @@ export function getPlanDrawings(query) {
params: query
})
}
export function applyRawOutstock(query) {
return request({
url: '/wms/api/applyRawOutstock',
method: 'post',
data: query
})
}
export function getStockTotal(query) {
return request({
url: '/wms/api/getStockTotal',
method: 'get',
params: query
})
}
export function getWarehouses(query) {
return request({
url: '/wms/api/getWarehouses',
method: 'get',
params: query
})
}

@ -166,7 +166,7 @@
</el-row>
</div>
<el-dialog title="板材领料" :visible.sync="getMaterialsModel">
<el-dialog :visible.sync="getMaterialsModel" title="板材领料">
<el-form :model="form">
<el-form-item label="库位码" label-width="120px">
<el-input v-model="form.name" autocomplete="off"></el-input>
@ -236,8 +236,8 @@
>
<template slot-scope="scope">
<el-input-number
:min="0"
v-model="scope.row.planAmount"
:min="0"
controls-position="right"
style="width: 100%"
>
@ -272,9 +272,11 @@ import {
getNewestProductPlanDetail,
getProductPlans,
startNextProductPlanDetail,
getPlanDrawings
getPlanDrawings,
applyRawOutstock,
getStockTotal,
getWarehouses
} from "@/api/board/fifthFloor";
import {applyRawOutstock, getStockTotal, getWarehouses} from "@/api/board/firstFloor";
const setState = (e) => {
if (e === '1') {
@ -945,7 +947,7 @@ export default {
},
receiveMaterial() {
applyRawOutstock(this.form).then(e => {
applyRawOutstock(this.form1).then(e => {
if (e.code === 200) {
this.dialogVisible = false
this.$message({
@ -1111,6 +1113,7 @@ export default {
border-radius: 0;
}
}
.roundBorder {
position: absolute;
transform: translate(-50%, -50%);

Loading…
Cancel
Save