|
@@ -41,6 +41,9 @@
|
|
|
<el-option label="小柜" value="小柜" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="压包数量" v-if="formParam.packtype == 0">
|
|
|
+ <el-input-number v-model="formParam.packqty" :min="0" :max="1000" />
|
|
|
+ </el-form-item>
|
|
|
</el-form>
|
|
|
<template #footer>
|
|
|
<div class="dialog-footer">
|
|
@@ -92,7 +95,9 @@ const deptEnum = ref([]);
|
|
|
const formParam = ref({
|
|
|
deptid: 0,
|
|
|
area: "维持原状",
|
|
|
- cabinet_type: "维持原状"
|
|
|
+ cabinet_type: "维持原状",
|
|
|
+ packtype: 0,
|
|
|
+ packqty: 0
|
|
|
});
|
|
|
|
|
|
const getData = (params: any) => {
|
|
@@ -497,6 +502,9 @@ const openDeptChoosen = async curRecords => {
|
|
|
|
|
|
if (deptEnum.value.length > 0) {
|
|
|
formParam.value.deptid = curRecords[0].deptid;
|
|
|
+ formParam.value.packtype = curRecords[0].packtype;
|
|
|
+ formParam.value.packqty = curRecords[0].packqty;
|
|
|
+
|
|
|
dialogFormVisible.value = true;
|
|
|
} else {
|
|
|
console.error("获取部门列表为空");
|
|
@@ -520,7 +528,9 @@ const BatchCopyMattressAudited = () => {
|
|
|
mattressid: Number(item.mattressid),
|
|
|
deptid: formParam.value.deptid,
|
|
|
area: formParam.value.area,
|
|
|
- cabinet_type: formParam.value.cabinet_type
|
|
|
+ cabinet_type: formParam.value.cabinet_type,
|
|
|
+ packtype: formParam.value.packtype,
|
|
|
+ packqty: formParam.value.packqty
|
|
|
};
|
|
|
});
|
|
|
ElMessageBox.confirm(`是否确定要批复制${curRecords.length}张床垫报价单吗?`, "询问", {
|