领料出库细节优化

This commit is contained in:
jjLv 2024-11-15 14:30:49 +08:00
parent ad1108ae23
commit 8e2381ce29
2 changed files with 541 additions and 616 deletions

View File

@ -374,7 +374,7 @@
<el-table-column <el-table-column
label="待出库数量" label="待出库数量"
align="center" align="center"
prop="roleName" prop="outNum"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <el-table-column
@ -383,37 +383,14 @@
prop="alNum" prop="alNum"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column
label="操作"
align="center"
class-name="small-padding fixed-width"
>
<template slot-scope="scope">
<el-button
size="mini"
@click="codeOut(scope.row)"
v-if="scope.row.manageType == 0"
>
编码出库
</el-button>
<el-button
size="mini"
type="primary"
v-if="scope.row.manageType == 1"
@click="numOut(scope.row)"
>
数量出库
</el-button>
</template>
</el-table-column>
</el-table> </el-table>
<!-- <pagination <pagination
v-show="ViewTotal > 0" v-show="ViewTotal > 0"
:total="ViewTotal" :total="ViewTotal"
:page.sync="queryOutView.pageNum" :page.sync="queryOutView.pageNum"
:limit.sync="queryOutView.pageSize" :limit.sync="queryOutView.pageSize"
@pagination="getListView" @pagination="getListView"
/> --> />
</el-dialog> </el-dialog>
<!-- 编码出库 --> <!-- 编码出库 -->
@ -931,6 +908,14 @@ export default {
this.getDialogList(); this.getDialogList();
}, },
getListView() {
outInfoList(this.queryOutView.id).then((response) => {
this.getListOutInfo = response.data.leaseApplyDetailsList;
// this.dialogTotal = response.
// this.loading = false;
});
},
/** 出库查询列表 */ /** 出库查询列表 */
getDialogList() { getDialogList() {
outInfoList(this.queryOutInfo.id).then((response) => { outInfoList(this.queryOutInfo.id).then((response) => {
@ -945,6 +930,11 @@ export default {
handleView(row) { handleView(row) {
this.title = "查看"; this.title = "查看";
this.showOutView = true; this.showOutView = true;
this.queryOutView.id = row.id;
outInfoList(row.id).then((response) => {
this.getListOutInfo = response.data.leaseApplyDetailsList;
// this.loading = false;
});
}, },
/** 出库按钮操作 */ /** 出库按钮操作 */
handleOut(row) { handleOut(row) {

File diff suppressed because it is too large Load Diff