update 临时出库(补过账),修改出库按钮

This commit is contained in:
18110972313 2025-05-27 18:02:23 +08:00
parent a91ae7971f
commit cbacfe4d78

View File

@ -119,12 +119,14 @@
row-key="id" style="width: 100%;min-height:50px" @selection-change="handleSelectionChange"> row-key="id" style="width: 100%;min-height:50px" @selection-change="handleSelectionChange">
<el-table-column fixed="left" type="selection" width="50" /> <el-table-column fixed="left" type="selection" width="50" />
<el-table-column type="index" width="50" /> <el-table-column type="index" width="50" />
<!--
<el-table-column prop="MATERIALQUANTITY2" label="本次发货数量" width="140"> <el-table-column prop="MATERIALQUANTITY2" label="本次发货数量" width="140">
<template #default="scope"> <template #default="scope">
<el-input v-model="scope.row.MATERIALQUANTITY2" min = 0 type =number style="width: 140px"> <el-input v-model="scope.row.MATERIALQUANTITY2" min = 0 type =number style="width: 140px">
</el-input> </el-input>
</template> </template>
</el-table-column> </el-table-column>
-->
<template v-for="(col, index) in column2" :key="index"> <template v-for="(col, index) in column2" :key="index">
<el-table-column v-if="!col.hide" :label="col.header" show-overflow-tooltip> <el-table-column v-if="!col.hide" :label="col.header" show-overflow-tooltip>
<template #default="scope"> <template #default="scope">
@ -133,12 +135,13 @@
</el-table-column> </el-table-column>
</template> </template>
<!--
<el-table-column fixed="right" label="操作" width="180"> <el-table-column fixed="right" label="操作" width="180">
<template #default="scope"> <template #default="scope">
<el-button @click="UpdateQty(scope.row)" type="primary" size="small">修改数量</el-button> <el-button @click="UpdateQty(scope.row)" type="primary" size="small">修改数量</el-button>
</template> </template>
</el-table-column> </el-table-column>
-->
</el-table> </el-table>
</div> </div>
</el-col> </el-col>
@ -185,7 +188,7 @@ import {
DeAssignShipRequest, DeAssignShipRequest,
UpdateOutQty, UpdateOutQty,
RejectsAndExpCheck, RejectsAndExpCheck,
CompleteShipRequestStockUp CompleteShipRequestStockUp, CompleteShipRequestRepairStockOut
} from '@/api/StockOut' } from '@/api/StockOut'
import { Edit } from "@element-plus/icons-vue/dist/types"; import { Edit } from "@element-plus/icons-vue/dist/types";
import { bTableHeight } from "../../../composables/calcTableHeight"; import { bTableHeight } from "../../../composables/calcTableHeight";
@ -1052,7 +1055,7 @@ function handleStockOut() {
state.buttonOut_loading = true; state.buttonOut_loading = true;
//state.buttonOut_state = true; //state.buttonOut_state = true;
CompleteShipRequestStockUp(params).then((res: any) => { CompleteShipRequestRepairStockOut(params).then((res: any) => {
if (res.success) { if (res.success) {
ElMessageBox.alert("出库成功", '', { ElMessageBox.alert("出库成功", '', {