This commit is contained in:
liumingxiy 2024-11-14 17:17:35 +08:00
parent eada1f3f27
commit 0e250c8d9f
2 changed files with 15 additions and 11 deletions

View File

@ -179,7 +179,7 @@
/>
<!-- 添加或修改出库计划管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="60%" append-to-body>
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" append-to-body width="60%">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="计划编号" prop="planCode">
<el-input v-model="form.planCode" placeholder="请输入计划编号" :readonly="title == '修改出库计划管理'"/>
@ -296,7 +296,8 @@
</el-table>
<ItemSelect ref="childItemSelect" @onSelected="onChildItemSelected"></ItemSelect>
<el-dialog :visible.sync="selecAreaVisible" title="选择库位" :modal="false" center>
<el-dialog :close-on-click-modal="false" :modal="false" :visible.sync="selecAreaVisible" center
title="选择库位">
<selec-area-cmps @selectArea="handleAreaSelect"></selec-area-cmps>
</el-dialog>
</el-form>
@ -307,7 +308,7 @@
</el-dialog>
<!-- 查看出库计划管理对话框 -->
<el-dialog :title="title" :visible.sync="openLook" width="60%" append-to-body>
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="openLook" append-to-body width="60%">
<el-form ref="form" :model="form" label-width="80px">
<el-form-item label="计划编号" prop="planCode">
<el-input v-model="form.planCode" placeholder="请输入计划编号" readonly="readonly"/>

View File

@ -197,7 +197,7 @@
/>
<!-- 添加或修改出库任务对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" append-to-body width="500px">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="出库计划ID" prop="wmsOutPlanId">
<el-input v-model="form.wmsOutPlanId" placeholder="请输入出库计划ID"/>
@ -261,14 +261,18 @@
</div>
</el-dialog>
<el-dialog title="出库物品清单" :visible.sync="openLook" width="60%" append-to-body>
<el-dialog :close-on-click-modal="false" :visible.sync="openLook" append-to-body title="出库物品清单" width="60%">
<el-table :data="outInfoList" :row-style="tableRowStyle">
<el-table-column label="计划状态" align="center" prop="planStatus" :show-overflow-tooltip="true"/>
<el-table-column label="计划类型" align="center" prop="planType" :show-overflow-tooltip="true"/>
<el-table-column label="出库类型编码" align="center" prop="planTypeCode" :show-overflow-tooltip="true"/>
<el-table-column align="center" label="计划类型" prop="planType">
<template slot-scope="scope">
<dict-tag :options="dict.type.plan_source_type" :value="scope.row.planType"/>
</template>
</el-table-column>
<!-- <el-table-column label="出库类型编码" align="center" prop="planTypeCode" :show-overflow-tooltip="true"/>-->
<el-table-column label="出库类型名称" align="center" prop="planTypeName" :show-overflow-tooltip="true"/>
<el-table-column label="明细批次" align="center" prop="detailBatchNum" :show-overflow-tooltip="true"/>
<el-table-column label="台账ID" align="center" prop="baseKnifeId" :show-overflow-tooltip="true"/>
<el-table-column :show-overflow-tooltip="true" align="center" label="台账编码" prop="baseKnifeId"/>
<el-table-column label="物料编码" align="center" prop="mdItemCode" :show-overflow-tooltip="true"/>
<el-table-column label="物料名称" align="center" prop="mdItemName" :show-overflow-tooltip="true"/>
<el-table-column label="库位编码" align="center" prop="wmStorageAreaCode" :show-overflow-tooltip="true"/>
@ -283,12 +287,11 @@
</template>
<script>
import {listTASK, getTASK, delTASK, addTASK, updateTASK, runTASK, autoRunTASK} from "@/api/md/TASK";
import {rgb} from "chalk";
import {addTASK, autoRunTASK, delTASK, getTASK, listTASK, runTASK, updateTASK} from "@/api/md/TASK";
export default {
name: "TASK",
dicts: ['in_plan_state'],
dicts: ['in_plan_state', 'plan_source_type'],
data() {
return {
//