Compare commits

...

12 Commits

10 changed files with 317 additions and 313 deletions

View File

@ -140,7 +140,7 @@ export default {
itemCode: undefined,
itemName: undefined,
itemTypeId: 0,
itemOrProduct: "ITEM"
itemOrProduct: ""
},
//
columns: [

View File

@ -171,9 +171,9 @@
<!-- 添加或修改出库计划管理对话框 -->
<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 == '修改出库计划管理'"/>
</el-form-item>
<!-- <el-form-item label="计划编号" prop="planCode">-->
<!-- <el-input v-model="form.planCode" placeholder="请输入计划编号" :readonly="title == '修改出库计划管理'"/>-->
<!-- </el-form-item>-->
<el-form-item label="出库类型" prop="wmsBusinessTypeId">
<el-select v-model="form.wmsBusinessTypeId" placeholder="请选择出库类型">
<el-option

View File

@ -222,11 +222,23 @@
</el-row>
<el-row>
<el-col :span="24">
<el-col :span="16">
<el-form-item label="物料名称" prop="itemName">
<el-input v-model="form.itemName" maxlength="255" readonly="readonly" v-if="optType=='view'"/>
<el-input v-model="form.itemName" placeholder="请输入物料名称" maxlength="255" v-else/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label-width="80">
<el-switch v-model="form.attr3"
active-color="#13ce66"
active-text="大号物料"
:active-value="1"
:inactive-value="0">
</el-switch>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col :span="24">

View File

@ -78,7 +78,8 @@
size="mini"
@click="handleAdd"
v-hasPermi="['mes:wm:area:add']"
>新增</el-button>
>新增
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
@ -89,7 +90,8 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['mes:wm:area:edit']"
>修改</el-button>
>修改
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
@ -100,7 +102,8 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['mes:wm:area:remove']"
>删除</el-button>
>删除
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@ -113,7 +116,8 @@
type="text"
@click="handleView(scope.row)"
v-hasPermi="['mes:wm:area:query']"
>{{scope.row.areaCode}}</el-button>
>{{ scope.row.areaCode }}
</el-button>
</template>
</el-table-column>
<el-table-column label="库位名称" align="center" prop="areaName"/>
@ -131,14 +135,16 @@
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['mes:wm:area:edit']"
>修改</el-button>
>修改
</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['mes:wm:area:remove']"
>删除</el-button>
>删除
</el-button>
</template>
</el-table-column>
</el-table>
@ -174,10 +180,22 @@
</el-row>
<el-row>
<el-col :span="24">
<el-col :span="16">
<el-form-item label="库位名称" prop="areaName">
<el-input v-model="form.areaName" placeholder="请输入库位名称"/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label-width="80">
<el-switch v-model="form.attr3"
active-color="#13ce66"
active-text="大号库位"
:active-value="1"
:inactive-value="0">
</el-switch>
</el-form-item>
</el-col>
</el-col>
<el-col :span="24">
<div style="display: flex">
<el-form-item label="库区" prop="locationId">
@ -189,6 +207,18 @@
</div>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="是否禁用">
<el-switch v-model="form.attr4"
active-color="#13ce66"
active-text="禁用"
:active-value="1"
:inactive-value="0">
</el-switch>
</el-form-item>
</el-col>
</el-row>
<el-row>
<!-- <el-col :span="24">-->
<!-- <div style="display: flex">-->
@ -463,7 +493,8 @@ export default {
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
}).catch(() => {
});
},
/** 导出按钮操作 */
handleExport() {

View File

@ -139,10 +139,22 @@
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-row>
<el-col :span="24">
<el-col :span="16">
<el-form-item label="料箱编码" prop="code">
<el-input v-model="form.code" placeholder="请输入料箱编码"/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label-width="80">
<el-switch v-model="form.attr3"
active-color="#13ce66"
active-text="大号料箱"
:active-value="1"
:inactive-value="0">
</el-switch>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col :span="24">

View File

@ -24,53 +24,22 @@
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['wm:PLAN:add']"
>新增
@click="handleAdd('CGRK')"
>采购入库
</el-button>
<!-- <el-button-->
<!-- type="primary"-->
<!-- plain-->
<!-- icon="el-icon-plus"-->
<!-- size="mini"-->
<!-- @click="knifeBackVisible=true"-->
<!-- >整刀回库-->
<!-- </el-button>-->
</el-col>
<el-col :span="1.5">
<!-- <el-button-->
<!-- type="success"-->
<!-- plain-->
<!-- icon="el-icon-edit"-->
<!-- size="mini"-->
<!-- :disabled="single"-->
<!-- @click="handleUpdate"-->
<!-- v-hasPermi="['wm:PLAN:edit']"-->
<!-- >修改-->
<!-- </el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- type="danger"-->
<!-- plain-->
<!-- icon="el-icon-delete"-->
<!-- size="mini"-->
<!-- :disabled="multiple"-->
<!-- @click="handleDelete"-->
<!-- v-hasPermi="['wm:PLAN:remove']"-->
<!-- >删除-->
<!-- </el-button>-->
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd('GJHK')"
>工具回库
</el-button>
</el-col>
<el-col :span="1.5">
<!-- <el-button-->
<!-- type="warning"-->
<!-- plain-->
<!-- icon="el-icon-download"-->
<!-- size="mini"-->
<!-- @click="handleExport"-->
<!-- v-hasPermi="['wm:PLAN:export']"-->
<!-- >导出-->
<!-- </el-button>-->
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@ -81,7 +50,7 @@
<el-table-column label="计划编码" align="center" prop="planCode"/>
<el-table-column label="入库类型" align="center" prop="planTypeId">
<template slot-scope="scope">
{{ filterInPlanType(scope.row.planTypeId) }}
{{ filterInPlanType(scope.row.planTypeCode) }}
</template>
</el-table-column>
<el-table-column label="计划类型" align="center" prop="sourceType">
@ -145,19 +114,12 @@
/>
<!-- 添加或修改入库计划对话框 -->
<div v-if="!isKnifeBack">
<el-dialog :title="title" :visible.sync="open" width="50%" append-to-body :close-on-click-modal="false">
<!--状态为1已执行 则禁用-->
<el-dialog :title="dialogTitle" :visible.sync="open" width="50%" append-to-body :close-on-click-modal="false">
<!--状态为 1 已执行 则禁用表单-->
<el-form ref="form" :model="form" :rules="rules" label-width="80px" inline :disabled="form.state === '1'">
<el-form-item label="计划编码" prop="planCode">
<el-input v-model="form.planCode" placeholder="请输入计划编码"></el-input>
</el-form-item>
<el-form-item label="入库类型" prop="planTypeId">
<el-select v-model="form.planTypeId" placeholder="请选择入库类型" @change="handlePlanTypeSelectChange">
<el-option :label="item.name" :value="item.typeId" v-for="item in inPlanTypeList"
:key="item.typeId"/>
</el-select>
</el-form-item>
<!-- <el-form-item label="计划编码" prop="planCode">-->
<!-- <el-input v-model="form.planCode" placeholder="请输入计划编码"></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="源头单据" prop="relBillCode">
<el-input v-model="form.relBillCode" placeholder="请输入源头单据"></el-input>
</el-form-item>
@ -178,7 +140,7 @@
<div>
<el-table :data="wmsInPlanDetailsList" :row-class-name="rowWmsInPlanDetailsIndex"
@selection-change="handleWmsInPlanDetailsSelectionChange" ref="wmsInPlanDetails"
:highlight-current-row="isKnifeBack" @current-change="handleWmsInPlanDetailsCurrentChange">
@current-change="handleWmsInPlanDetailsCurrentChange">
<el-table-column type="selection" width="55" align="center"/>
<el-table-column label="序号" align="center" prop="index" width="50"/>
<el-table-column label="物品" prop="materialId" width="170">
@ -198,18 +160,18 @@
<el-input v-model="scope.row.batch" plcaeholder="请输入批次"></el-input>
</template>
</el-table-column>
<el-table-column label="计划数量" prop="quantity" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.quantity" plcaeholder="请输入计划数量" type="number" :min="0"></el-input>
</template>
</el-table-column>
<!-- <el-table-column label="计划数量" prop="quantity" width="150">-->
<!-- <template slot-scope="scope">-->
<!-- <el-input v-model="scope.row.quantity" plcaeholder="请输入计划数量" type="number" :min="0"></el-input>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="入库数量" prop="quantityIn" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.quantityIn" plcaeholder="请输入入库数量" type="number" :min="0"
@change="handleQuantityIn($event,scope.row)" :disabled="isKnifeBack"></el-input>
@change="handleQuantityIn($event,scope.row)"></el-input>
</template>
</el-table-column>
<el-table-column label="库位" prop="cellId" width="150">
<el-table-column label="库位" prop="cellId" width="190">
<template slot-scope="scope">
<el-select v-model="scope.row.cellId" placeholder="请选择库位" filterable remote
:remote-method="getMdItemList" clearable>
@ -241,26 +203,26 @@
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
<!-- 添加或修改入库计划对话框 整刀回库 -->
<div v-if="isKnifeBack">
<wms-in-plan-knife-back-form-cmps :data-form.sync="form" :visible.sync="open" @confirm="getList"
<wms-in-plan-knife-back-form-cmps v-if="knifeBackVisible" :data-form.sync="form" :visible.sync="knifeBackVisible"
@confirm="getList"
@planTypeSelectChange="handlePlanTypeSelectChange"
></wms-in-plan-knife-back-form-cmps>
</div>
</div>
</template>
<script>
import {listPLAN, getPLAN, delPLAN, addPLAN, updatePLAN, isDuplicatePlanCode,} from "@/api/wm/PLAN";
import {listPLAN, getPLAN, delPLAN, addPLAN, updatePLAN, isDuplicatePlanCode, syncInBound,} from "@/api/wm/PLAN";
import {listTYPE} from "@/api/md/TYPE";
import {listMdItem} from "@/api/mes/md/mdItem"
import {listArea} from "@/api/mes/wm/area"
import {addWmsInTask} from "@/api/mes/wm/wmsInTask"
import WmsInPlanDetailEntityTableCmps from "@/views/mes/wm/inPlan/wmsInPlanDetailEntityTableCmps.vue";
import WmsInPlanKnifeBackFormCmps from "@/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue";
import plan from "@/views/mes/cal/plan/index.vue";
//
const planCodeValidator = (rule, value, callback) => {
@ -307,7 +269,7 @@ export default {
//
areaList: [],
//
title: "",
dialogTitle: "",
//
open: false,
//
@ -360,12 +322,7 @@ export default {
}
};
},
computed: {
/** 控制弹窗类型 */
isKnifeBack() {
return this.form.planTypeId == 19;
}
},
computed: {},
created() {
this.getList();
},
@ -402,7 +359,6 @@ export default {
* @param itemName
*/
getMdItemList(itemName = "") {
this.loading = true;
const params = {
pageNum: 1,
pageSize: 100,
@ -418,7 +374,6 @@ export default {
* @param areaName
*/
getAreaList(areaName = "") {
this.loading = true;
const params = {
pageNum: 1,
pageSize: 100,
@ -431,15 +386,15 @@ export default {
},
/**
* 过滤出入库类型
* @param id 出入库类型ID
* @param code 出入库类型 编码
* @returns {*}
*/
filterInPlanType(id) {
const filter = this.inPlanTypeList.filter(item => item.typeId === id);
filterInPlanType(code) {
const filter = this.inPlanTypeList.filter(item => item.code === code);
if (filter.length) {
return filter[0].name
}
return id
return code
},
/** 入库类型选择器回调 */
handlePlanTypeSelectChange(typeId) {
@ -501,6 +456,7 @@ export default {
isDelete: null,
planCode: null,
planTypeId: null,
planTypeCode: null,
wmsInPlanDetailsList: []
};
this.wmsInPlanDetailsList = [];
@ -522,11 +478,32 @@ export default {
this.single = selection.length !== 1
this.multiple = !selection.length
},
handleSync() {
syncInBound().then(res => {
this.getList();
this.$message.success("数据同步成功");
})
},
/** 新增按钮操作 */
handleAdd() {
handleAdd(planTypeCode) {
this.reset();
//
const filter = this.inPlanTypeList.filter(item => item.code === planTypeCode);
if (filter.length) {
this.form.planTypeId = filter[0].typeId;
this.form.planTypeCode = filter[0].code;
this.form.planTypeName = filter[0].name;
} else {
this.$message.error("系统错误,请联系管理员");
console.error("计划类型查找失败")
return;
}
if (planTypeCode === "DPRK") {
this.open = true;
this.title = "添加入库计划";
} else {
this.knifeBackVisible = true;
}
this.dialogTitle = "新增" + filter[0].name;
},
/** 执行按钮操作 */
async handleIssue(row) {
@ -561,6 +538,7 @@ export default {
materialId: planForm.materialId,
materialCode: material[0].itemCode,
planTypeId: planForm.planTypeId,
planTypeCode: planForm.planTypeCode,
//
planInStatus: 0,
// ID
@ -599,7 +577,7 @@ export default {
this.form = response.data;
this.wmsInPlanDetailsList = response.data.wmsInPlanDetailsList;
this.open = true;
this.title = "修改入库计划";
this.dialogTitle = "修改入库计划";
});
},
/** 提交按钮 */

View File

@ -14,6 +14,10 @@ export default {
planTypeId: {
type: String,
require: true
},
planTypeCode: {
type: String,
require: true
}
},
data() {
@ -61,6 +65,7 @@ export default {
selectBaseKnifeChange(e) {
if (this.selectIndex !== -1) {
this.localEntityList[this.selectIndex].knifeId = e.baseKnifeId
this.localEntityList[this.selectIndex].rfid = e.rfid
this.localEntityList[this.selectIndex].baseKnifeInfo = e
//
listMdItem({itemCode: e.knifeCode}).then(res => {
@ -97,8 +102,8 @@ export default {
</el-button>
</el-col>
</el-row>
<!--整刀回库-->
<el-table :data="localEntityList" v-if="planTypeId==19" @selection-change="handleSelectionChange">
<!--工具回库-->
<el-table :data="localEntityList" v-if="planTypeCode==='GJHK'" @selection-change="handleSelectionChange">
<el-table-column label="台账ID" align="center" prop="knifeId">
<template slot-scope="scope">
<el-input v-model="scope.row.knifeId" @change="updateEntityList">
@ -129,8 +134,8 @@ export default {
</template>
</el-table-column>
</el-table>
<!--刀柄入库-->
<el-table :data="localEntityList" v-if="planTypeId==7" @selection-change="handleSelectionChange">
<!--采购入库-->
<el-table :data="localEntityList" v-if="planTypeCode==='CGRK'" @selection-change="handleSelectionChange">
<el-table-column label="RFID" align="center" prop="rfid">
<template slot-scope="scope">
<el-input v-model="scope.row.rfid" @change="updateEntityList"></el-input>
@ -149,35 +154,8 @@ export default {
</template>
</el-table-column>
</el-table>
<!--拆刀回库-->
<el-table :data="localEntityList" v-if="planTypeId==15" @selection-change="handleSelectionChange">
<el-table-column label="台账ID" align="center" prop="knifeId">
<template slot-scope="scope">
<el-input v-model="scope.row.knifeId" @change="updateEntityList">
<el-button slot="append" icon="el-icon-search" @click="showBaseKnifeDialog(scope)"></el-button>
</el-input>
</template>
</el-table-column>
<el-table-column label="来源" align="center" prop="source">
<template slot-scope="scope">
<el-input v-model="scope.row.source" @change="updateEntityList"></el-input>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope)"
v-hasPermi="['wm:wmsInPlanDetailsEntity:remove']"
>删除
</el-button>
</template>
</el-table-column>
</el-table>
<base-knife-select-cmps :visible.sync="baseKnifeVisible"
<base-knife-select-cmps :visible.sync="baseKnifeVisible" :knife-type="getKnifeType"
@change="selectBaseKnifeChange"></base-knife-select-cmps>
</div>
</template>

View File

@ -29,7 +29,6 @@ export default {
wmsInPlanDetailEntityList: [],
//
rules: {
planCode: [{required: true}],
relBillCode: [{required: true}],
},
localVisible: this.visible,
@ -40,7 +39,7 @@ export default {
},
computed: {
title() {
return this.localDataForm.planId ? "修改入库计划" : "新增入库计划"
return (this.localDataForm.planId ? "修改" : "新增") + this.dataForm.planTypeName
},
},
methods: {
@ -63,18 +62,19 @@ export default {
this.$emit("update:visible", false)
},
async validateRfid() {
const rfidList = this.wmsInPlanDetailEntityList.map(entity => entity.rfid);
if (rfidList.length === 0) return
const rfidList = this.wmsInPlanDetailEntityList.filter(entity => entity.rfid && entity.rfid.trim().length > 0).map(entity => entity.rfid);
console.log(rfidList)
if (!Array.isArray(rfidList) || rfidList.length === 0) return
const res = await isDuplicateRfid(rfidList.join(","));
return res.data
},
/** 提交按钮 */
async submitForm() {
const validateRfidResult = await this.validateRfid();
if (validateRfidResult.length > 0) {
this.$modal.msgError(`RFID重复${validateRfidResult}`);
return;
}
// const validateRfidResult = await this.validateRfid();
// if (Array.isArray(validateRfidResult) && validateRfidResult.length > 0) {
// this.$modal.msgError(`RFID${validateRfidResult}`);
// return;
// }
await this.$refs["form"].validate(valid => {
if (valid) {
this.localDataForm.wmsInPlanDetailsList = []
@ -199,24 +199,12 @@ export default {
<!--状态为1已执行 则禁用-->
<el-form ref="form" :model="localDataForm" :rules="rules" label-width="80px" inline
:disabled="localDataForm.state === '1'">
<el-form-item label="计划编码" prop="planCode">
<el-input v-model="localDataForm.planCode" placeholder="请输入计划编码"></el-input>
</el-form-item>
<el-form-item label="入库类型" prop="planTypeId">
<el-select v-model="localDataForm.planTypeId" placeholder="请选择入库类型" @change="handlePlanTypeSelectChange">
<el-option :label="item.name" :value="item.typeId" v-for="item in inPlanTypeList"
:key="item.typeId"/>
</el-select>
</el-form-item>
<el-form-item label="源头单据" prop="relBillCode">
<el-input v-model="localDataForm.relBillCode" placeholder="请输入源头单据"></el-input>
</el-form-item>
<!-- <el-form-item label="计划编码" prop="planCode">-->
<!-- <el-input v-model="localDataForm.planCode" placeholder="请输入计划编码"></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="备注" prop="remark">
<el-input v-model="localDataForm.remark" placeholder="请输入备注"></el-input>
</el-form-item>
<el-form-item label="批次" prop="batch">
<el-input v-model="wmsInPlanDetailForm.batch" plcaeholder="请输入批次"></el-input>
</el-form-item>
<el-form-item label="库位" prop="cellId">
<el-select v-model="wmsInPlanDetailForm.cellId" placeholder="请选择库位" filterable remote
:remote-method="getAreaList" clearable>
@ -227,7 +215,7 @@ export default {
</el-option>
</el-select>
</el-form-item>
<el-form-item label="物品" prop="materialId" v-if="localDataForm.planTypeId==7">
<el-form-item label="物品" prop="materialId" v-if="localDataForm.planTypeCode==='CGRK'">
<el-select v-model="wmsInPlanDetailForm.materialId" placeholder="请选择物料" filterable remote
:remote-method="getMdItemList" clearable>
<el-option :label="item.itemName" :value="item.itemId.toString()" v-for="item in mdItemList"
@ -238,10 +226,11 @@ export default {
</el-select>
</el-form-item>
<el-divider content-position="center">整刀实例</el-divider>
<el-divider content-position="center">台账实例</el-divider>
<wms-in-plan-detail-entity-table-cmps
:entityList.sync="wmsInPlanDetailEntityList"
:planTypeId="localDataForm.planTypeId"
:planTypeCode="localDataForm.planTypeCode"
></wms-in-plan-detail-entity-table-cmps>
</el-form>
<div slot="footer" class="dialog-footer">

View File

@ -90,29 +90,22 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
<template slot-scope="scope">
<!-- <el-button-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- icon="el-icon-edit"-->
<!-- @click="openTaskDetailDialog(scope.row)"-->
<!-- >详情-->
<!-- </el-button>-->
<!--下发按钮禁用逻辑状态为已执行 or 库位编码为自动分配-->
<el-button
size="mini"
type="text"
icon="el-icon-edit"
:disabled="scope.row.planInStatus === '1'"
:disabled="scope.row.planInStatus === '1' || scope.row.cellCode==='TEMP'"
@click="handleIssue(scope.row)"
>下发
</el-button>
<!-- <el-button-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- icon="el-icon-delete"-->
<!-- @click="handleDelete(scope.row)"-->
<!-- v-hasPermi="['wm:wmsInTask:remove']"-->
<!-- >删除-->
<!-- </el-button>-->
<el-button
size="mini"
type="text"
:disabled="scope.row.planInStatus === '1'"
@click="manualIssue(scope.row)"
>手动入库
</el-button>
</template>
</el-table-column>
</el-table>
@ -287,10 +280,10 @@ export default {
//
warehouseTypeCode: "DDJ",
//
materialId: task.materialId,
materialCode: task.materialCode,
materialName: task.materialName,
materialCount: task.actualInQuantity,
// materialId: task.materialId,
// materialCode: task.materialCode,
// materialName: task.materialName,
// materialCount: task.actualInQuantity,
rfid: "",
// OR
type: "RK",
@ -305,6 +298,15 @@ export default {
// this.getList();
// });
},
/**
* 手动执行入库任务
*/
manualIssue(task) {
issueBatchWmsInTask([task.id.toString()]).then(response => {
this.$modal.msgSuccess("执行成功");
this.getList();
});
},
//
cancel() {
this.open = false;

View File

@ -193,6 +193,7 @@
{{scope.row.standardDosage * form.productIdQty}}
</template>
</el-table-column>
<el-table-column label="当前库存" prop="currentInventory" min-width="150" />
</el-table>
</el-form>
<div slot="footer" class="dialog-footer">
@ -243,6 +244,7 @@
{{scope.row.standardDosage * form.productIdQty}}
</template>
</el-table-column>
<el-table-column label="当前库存" prop="currentInventory" min-width="150" />
</el-table>
</el-form>
<div slot="footer" class="dialog-footer">