|
@@ -32,7 +32,7 @@
|
|
:formConfig="formConfig"
|
|
:formConfig="formConfig"
|
|
:formOption="formOption"
|
|
:formOption="formOption"
|
|
v-model="formData.data"
|
|
v-model="formData.data"
|
|
- :rules="rules"
|
|
|
|
|
|
+ :rules="submitType == 5 ? rulesOne : rules"
|
|
ref="byform"
|
|
ref="byform"
|
|
>
|
|
>
|
|
<template #products>
|
|
<template #products>
|
|
@@ -40,11 +40,20 @@
|
|
<el-table :data="formData.data.jdOrderDetailsList">
|
|
<el-table :data="formData.data.jdOrderDetailsList">
|
|
<el-table-column prop="productCode" label="物品编码" />
|
|
<el-table-column prop="productCode" label="物品编码" />
|
|
<el-table-column prop="productName" label="物品名称" />
|
|
<el-table-column prop="productName" label="物品名称" />
|
|
- <el-table-column prop="productSpec" label="规格型号" />
|
|
|
|
- <el-table-column prop="waitQuantity" label="待出库数量" />
|
|
|
|
|
|
+ <!-- <el-table-column
|
|
|
|
+ prop="productSpec"
|
|
|
|
+ label="规格型号"
|
|
|
|
+ v-if="submitType == 5"
|
|
|
|
+ /> -->
|
|
|
|
+ <el-table-column prop="waitQuantity" label="应出库" />
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="receiptQuantity"
|
|
|
|
+ label="已出库"
|
|
|
|
+ v-if="submitType != 5"
|
|
|
|
+ />
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="quantity"
|
|
prop="quantity"
|
|
- label="出库数量"
|
|
|
|
|
|
+ label="本次出库"
|
|
min-width="150"
|
|
min-width="150"
|
|
v-if="submitType != 5"
|
|
v-if="submitType != 5"
|
|
>
|
|
>
|
|
@@ -163,6 +172,27 @@ let rules = ref({
|
|
{ required: true, message: "请选择调入仓库", trigger: "change" },
|
|
{ required: true, message: "请选择调入仓库", trigger: "change" },
|
|
],
|
|
],
|
|
quantity: [{ required: true, message: "请输入数量", trigger: "blur" }],
|
|
quantity: [{ required: true, message: "请输入数量", trigger: "blur" }],
|
|
|
|
+ logisticsCompanyCode: [
|
|
|
|
+ { required: true, message: "请选择物流/快递公司", trigger: "change" },
|
|
|
|
+ ],
|
|
|
|
+ logisticsCode: [
|
|
|
|
+ { required: true, message: "请输入物流/快递单号", trigger: "blur" },
|
|
|
|
+ ],
|
|
|
|
+});
|
|
|
|
+let rulesOne = ref({
|
|
|
|
+ type: [
|
|
|
|
+ { required: true, message: "请选择仓库类型", trigger: ["blur", "change"] },
|
|
|
|
+ ],
|
|
|
|
+ warehouseId: [
|
|
|
|
+ { required: true, message: "请选择仓库名称", trigger: "change" },
|
|
|
|
+ ],
|
|
|
|
+ outWarehouseId: [
|
|
|
|
+ { required: true, message: "请选择调出仓库", trigger: "change" },
|
|
|
|
+ ],
|
|
|
|
+ inWarehouseId: [
|
|
|
|
+ { required: true, message: "请选择调入仓库", trigger: "change" },
|
|
|
|
+ ],
|
|
|
|
+ quantity: [{ required: true, message: "请输入数量", trigger: "blur" }],
|
|
});
|
|
});
|
|
const { proxy } = getCurrentInstance();
|
|
const { proxy } = getCurrentInstance();
|
|
const selectConfig = reactive([
|
|
const selectConfig = reactive([
|
|
@@ -207,51 +237,20 @@ const config = computed(() => {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
attrs: {
|
|
attrs: {
|
|
- label: "单号",
|
|
|
|
|
|
+ label: "关联单号",
|
|
prop: "businessCode",
|
|
prop: "businessCode",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
-
|
|
|
|
- {
|
|
|
|
- attrs: {
|
|
|
|
- label: "物品类型",
|
|
|
|
- prop: "productDefinition",
|
|
|
|
- },
|
|
|
|
- render(definition) {
|
|
|
|
- return definition == 1 ? "产品" : definition == 2 ? "物料" : "";
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- attrs: {
|
|
|
|
- label: "物品编码",
|
|
|
|
- prop: "productCustomCode",
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- attrs: {
|
|
|
|
- label: "物品名称",
|
|
|
|
- prop: "productName",
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- attrs: {
|
|
|
|
- label: "型号规格",
|
|
|
|
- prop: "productSpec",
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
attrs: {
|
|
attrs: {
|
|
- label: "单位",
|
|
|
|
- prop: "productUnit",
|
|
|
|
- },
|
|
|
|
- render(unit) {
|
|
|
|
- return proxy.dictValueLabel(unit, productUnit.value);
|
|
|
|
|
|
+ label: "操作人",
|
|
|
|
+ prop: "operatorName",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
attrs: {
|
|
attrs: {
|
|
- label: "待出库",
|
|
|
|
- prop: "quantity",
|
|
|
|
|
|
+ label: "操作时间",
|
|
|
|
+ prop: "createTime",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -312,48 +311,41 @@ const configData = computed(() => [
|
|
[
|
|
[
|
|
{
|
|
{
|
|
type: "title",
|
|
type: "title",
|
|
- title: "待出库信息",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- type: "select",
|
|
|
|
- prop: "warehouseId",
|
|
|
|
- label: "仓库名称",
|
|
|
|
- itemWidth: 30,
|
|
|
|
- data: warehouseList.value,
|
|
|
|
|
|
+ title: "基础信息",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
type: "select",
|
|
type: "select",
|
|
prop: "businessType",
|
|
prop: "businessType",
|
|
- label: "出库类型",
|
|
|
|
|
|
+ label: "数据来源",
|
|
required: true,
|
|
required: true,
|
|
disabled: true,
|
|
disabled: true,
|
|
- itemWidth: 30,
|
|
|
|
|
|
+ itemWidth: 25,
|
|
data: businessType,
|
|
data: businessType,
|
|
},
|
|
},
|
|
- // {
|
|
|
|
- // type: "input",
|
|
|
|
- // prop: "businessCode",
|
|
|
|
- // label: "单号",
|
|
|
|
- // required: true,
|
|
|
|
- // disabled: true,
|
|
|
|
- // itemWidth: 40,
|
|
|
|
- // },
|
|
|
|
{
|
|
{
|
|
- type: "title",
|
|
|
|
- title: "待出库明细",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- type: "slot",
|
|
|
|
- slotName: "products",
|
|
|
|
|
|
+ type: "input",
|
|
|
|
+ prop: "businessCode",
|
|
|
|
+ label: "关联单号",
|
|
|
|
+ required: true,
|
|
|
|
+ disabled: true,
|
|
|
|
+ itemWidth: 30,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- type: "title",
|
|
|
|
- title: "物流信息",
|
|
|
|
|
|
+ type: "select",
|
|
|
|
+ prop: "warehouseId",
|
|
|
|
+ label: "仓库名称",
|
|
|
|
+ itemWidth: 100,
|
|
|
|
+ data: warehouseList.value,
|
|
|
|
+ style: {
|
|
|
|
+ width: "53%",
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
type: "select",
|
|
type: "select",
|
|
prop: "logisticsCompanyCode",
|
|
prop: "logisticsCompanyCode",
|
|
- itemWidth: 50,
|
|
|
|
|
|
+ label: "物流/快递信息",
|
|
|
|
+ placeholder: "物流/快递公司",
|
|
|
|
+ itemWidth: 25,
|
|
style: {
|
|
style: {
|
|
width: "100%",
|
|
width: "100%",
|
|
},
|
|
},
|
|
@@ -363,8 +355,17 @@ const configData = computed(() => [
|
|
{
|
|
{
|
|
type: "input",
|
|
type: "input",
|
|
prop: "logisticsCode",
|
|
prop: "logisticsCode",
|
|
|
|
+ label: " ",
|
|
placeholder: "物流/快递单号",
|
|
placeholder: "物流/快递单号",
|
|
- itemWidth: 50,
|
|
|
|
|
|
+ itemWidth: 30,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ type: "title",
|
|
|
|
+ title: "出库明细",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ type: "slot",
|
|
|
|
+ slotName: "products",
|
|
},
|
|
},
|
|
],
|
|
],
|
|
[
|
|
[
|
|
@@ -403,21 +404,11 @@ const configData = computed(() => [
|
|
disabled: false,
|
|
disabled: false,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- type: "title",
|
|
|
|
- title: "调仓明细",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- type: "slot",
|
|
|
|
- slotName: "products",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- type: "title",
|
|
|
|
- title: "物流信息",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
type: "select",
|
|
type: "select",
|
|
prop: "logisticsCompanyCode",
|
|
prop: "logisticsCompanyCode",
|
|
itemWidth: 50,
|
|
itemWidth: 50,
|
|
|
|
+ label: "物流/快递信息",
|
|
|
|
+ placeholder: "物流/快递公司",
|
|
style: {
|
|
style: {
|
|
width: "100%",
|
|
width: "100%",
|
|
},
|
|
},
|
|
@@ -427,16 +418,25 @@ const configData = computed(() => [
|
|
{
|
|
{
|
|
type: "input",
|
|
type: "input",
|
|
prop: "logisticsCode",
|
|
prop: "logisticsCode",
|
|
|
|
+ label: " ",
|
|
placeholder: "物流/快递单号",
|
|
placeholder: "物流/快递单号",
|
|
itemWidth: 50,
|
|
itemWidth: 50,
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ type: "title",
|
|
|
|
+ title: "调仓明细",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ type: "slot",
|
|
|
|
+ slotName: "products",
|
|
|
|
+ },
|
|
],
|
|
],
|
|
]);
|
|
]);
|
|
const getList = async (req) => {
|
|
const getList = async (req) => {
|
|
sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
|
|
sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
|
|
loading.value = true;
|
|
loading.value = true;
|
|
proxy
|
|
proxy
|
|
- .post("/stockWaitDetails/page", sourceList.value.pagination)
|
|
|
|
|
|
+ .post("/stockWait/pageByWdly", sourceList.value.pagination)
|
|
.then((message) => {
|
|
.then((message) => {
|
|
sourceList.value.data = message.rows.map((x) => ({
|
|
sourceList.value.data = message.rows.map((x) => ({
|
|
...x,
|
|
...x,
|
|
@@ -459,43 +459,38 @@ const openModal = () => {
|
|
const submitForm = () => {
|
|
const submitForm = () => {
|
|
byform.value.handleSubmit((valid) => {
|
|
byform.value.handleSubmit((valid) => {
|
|
if (submitType.value == 4) {
|
|
if (submitType.value == 4) {
|
|
- const data = {
|
|
|
|
- id: formData.data.id,
|
|
|
|
- businessType: formData.data.businessType,
|
|
|
|
- warehouseId: formData.data.warehouseId,
|
|
|
|
- };
|
|
|
|
- if (
|
|
|
|
- formData.data.jdOrderDetailsList &&
|
|
|
|
- formData.data.jdOrderDetailsList.length > 0
|
|
|
|
- ) {
|
|
|
|
- data.quantity = formData.data.jdOrderDetailsList[0].quantity;
|
|
|
|
- data.waitQuantity = formData.data.jdOrderDetailsList[0].waitQuantity;
|
|
|
|
- }
|
|
|
|
- if (!(data.quantity > 0)) {
|
|
|
|
|
|
+ const list = formData.data.jdOrderDetailsList;
|
|
|
|
+ const total = list.reduce((total, x) => (total += Number(x.quantity)), 0);
|
|
|
|
+ if (total > 0) {
|
|
|
|
+ const data = {
|
|
|
|
+ id: formData.data.id,
|
|
|
|
+ businessType: formData.data.businessType,
|
|
|
|
+ warehouseId: formData.data.warehouseId,
|
|
|
|
+ stockWaitDetailsList: list.map((x) => ({
|
|
|
|
+ id: x.id,
|
|
|
|
+ quantity: x.quantity,
|
|
|
|
+ productId: x.productId,
|
|
|
|
+ })),
|
|
|
|
+ };
|
|
|
|
+ submitLoading.value = true;
|
|
|
|
+ proxy.post("/purchaseBack/backOuts", data).then(
|
|
|
|
+ (res) => {
|
|
|
|
+ ElMessage({
|
|
|
|
+ message: "操作成功",
|
|
|
|
+ type: "success",
|
|
|
|
+ });
|
|
|
|
+ dialogVisible.value = false;
|
|
|
|
+ submitLoading.value = false;
|
|
|
|
+ getList();
|
|
|
|
+ },
|
|
|
|
+ (err) => (submitLoading.value = false)
|
|
|
|
+ );
|
|
|
|
+ } else {
|
|
return ElMessage({
|
|
return ElMessage({
|
|
message: "出库数量不能为0!",
|
|
message: "出库数量不能为0!",
|
|
type: "info",
|
|
type: "info",
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- if (data.quantity > data.waitQuantity) {
|
|
|
|
- return ElMessage({
|
|
|
|
- message: "出库数量不能大于待出库数量!",
|
|
|
|
- type: "info",
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
- submitLoading.value = true;
|
|
|
|
- proxy.post("/purchaseBack/backOut", data).then(
|
|
|
|
- (res) => {
|
|
|
|
- ElMessage({
|
|
|
|
- message: "操作成功",
|
|
|
|
- type: "success",
|
|
|
|
- });
|
|
|
|
- dialogVisible.value = false;
|
|
|
|
- submitLoading.value = false;
|
|
|
|
- getList();
|
|
|
|
- },
|
|
|
|
- (err) => (submitLoading.value = false)
|
|
|
|
- );
|
|
|
|
} else if (submitType.value == 5) {
|
|
} else if (submitType.value == 5) {
|
|
if (formData.data.inWarehouseId === formData.data.outWarehouseId) {
|
|
if (formData.data.inWarehouseId === formData.data.outWarehouseId) {
|
|
return ElMessage({
|
|
return ElMessage({
|
|
@@ -514,7 +509,7 @@ const submitForm = () => {
|
|
}
|
|
}
|
|
if (e.quantity > e.waitQuantity) {
|
|
if (e.quantity > e.waitQuantity) {
|
|
return ElMessage({
|
|
return ElMessage({
|
|
- message: "调仓数量不能大于待出库数量!",
|
|
|
|
|
|
+ message: "调仓数量不能大于应出库数量!",
|
|
type: "info",
|
|
type: "info",
|
|
});
|
|
});
|
|
}
|
|
}
|
|
@@ -533,44 +528,40 @@ const submitForm = () => {
|
|
(err) => (submitLoading.value = false)
|
|
(err) => (submitLoading.value = false)
|
|
);
|
|
);
|
|
} else if (submitType.value == 6) {
|
|
} else if (submitType.value == 6) {
|
|
- const data = {
|
|
|
|
- id: formData.data.id,
|
|
|
|
- businessType: formData.data.businessType,
|
|
|
|
- warehouseId: formData.data.warehouseId,
|
|
|
|
- };
|
|
|
|
-
|
|
|
|
- if (
|
|
|
|
- formData.data.jdOrderDetailsList &&
|
|
|
|
- formData.data.jdOrderDetailsList.length > 0
|
|
|
|
- ) {
|
|
|
|
- data.quantity = formData.data.jdOrderDetailsList[0].quantity;
|
|
|
|
- data.waitQuantity = formData.data.jdOrderDetailsList[0].waitQuantity;
|
|
|
|
- }
|
|
|
|
- if (!(data.quantity > 0)) {
|
|
|
|
|
|
+ const list = formData.data.jdOrderDetailsList;
|
|
|
|
+ const total = list.reduce((total, x) => (total += Number(x.quantity)), 0);
|
|
|
|
+ if (total > 0) {
|
|
|
|
+ const data = {
|
|
|
|
+ id: formData.data.id,
|
|
|
|
+ businessId: formData.data.businessId,
|
|
|
|
+ businessType: formData.data.businessType,
|
|
|
|
+ warehouseId: formData.data.warehouseId,
|
|
|
|
+ type: "2", //2是出库
|
|
|
|
+ stockWaitDetailsList: list.map((x) => ({
|
|
|
|
+ id: x.id,
|
|
|
|
+ quantity: x.quantity,
|
|
|
|
+ productId: x.productId,
|
|
|
|
+ })),
|
|
|
|
+ };
|
|
|
|
+ submitLoading.value = true;
|
|
|
|
+ proxy.post("/stockWait/addByWdly", data).then(
|
|
|
|
+ (res) => {
|
|
|
|
+ ElMessage({
|
|
|
|
+ message: "操作成功",
|
|
|
|
+ type: "success",
|
|
|
|
+ });
|
|
|
|
+ dialogVisible.value = false;
|
|
|
|
+ submitLoading.value = false;
|
|
|
|
+ getList();
|
|
|
|
+ },
|
|
|
|
+ (err) => (submitLoading.value = false)
|
|
|
|
+ );
|
|
|
|
+ } else {
|
|
return ElMessage({
|
|
return ElMessage({
|
|
message: "出库数量不能为0!",
|
|
message: "出库数量不能为0!",
|
|
type: "info",
|
|
type: "info",
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- if (data.quantity > data.waitQuantity) {
|
|
|
|
- return ElMessage({
|
|
|
|
- message: "出库数量不能大于待出库数量!",
|
|
|
|
- type: "info",
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
- submitLoading.value = true;
|
|
|
|
- proxy.post("/stockWaitDetails/add", data).then(
|
|
|
|
- (res) => {
|
|
|
|
- ElMessage({
|
|
|
|
- message: "操作成功",
|
|
|
|
- type: "success",
|
|
|
|
- });
|
|
|
|
- dialogVisible.value = false;
|
|
|
|
- submitLoading.value = false;
|
|
|
|
- getList();
|
|
|
|
- },
|
|
|
|
- (err) => (submitLoading.value = false)
|
|
|
|
- );
|
|
|
|
}
|
|
}
|
|
});
|
|
});
|
|
};
|
|
};
|
|
@@ -580,61 +571,50 @@ const outBound = (row) => {
|
|
if (row.businessType == 4) {
|
|
if (row.businessType == 4) {
|
|
modalType.value = "other";
|
|
modalType.value = "other";
|
|
formConfig.value = configData.value[0];
|
|
formConfig.value = configData.value[0];
|
|
- formData.data = {
|
|
|
|
- id: row.id,
|
|
|
|
- warehouseId: "",
|
|
|
|
- businessType: row.businessType + "",
|
|
|
|
- businessCode: row.businessCode,
|
|
|
|
- jdOrderDetailsList: [
|
|
|
|
- {
|
|
|
|
- waitQuantity: row.quantity,
|
|
|
|
- quantity: undefined,
|
|
|
|
- productCode: row.productCode,
|
|
|
|
- productName: row.productName,
|
|
|
|
- productSpec: row.productSpec,
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- };
|
|
|
|
- dialogVisible.value = true;
|
|
|
|
|
|
+ proxy.post("/stockWait/detailByWdly", { id: row.id }).then((res) => {
|
|
|
|
+ res.jdOrderDetailsList = res.stockWaitDetailsList.map((x) => ({
|
|
|
|
+ ...x,
|
|
|
|
+ waitQuantity: x.quantity,
|
|
|
|
+ quantity: undefined,
|
|
|
|
+ }));
|
|
|
|
+ res.businessType = res.businessType + "";
|
|
|
|
+ formData.data = res;
|
|
|
|
+ dialogVisible.value = true;
|
|
|
|
+ });
|
|
} else if (row.businessType == 5) {
|
|
} else if (row.businessType == 5) {
|
|
modalType.value = "add";
|
|
modalType.value = "add";
|
|
formConfig.value = configData.value[1];
|
|
formConfig.value = configData.value[1];
|
|
proxy.post("/jdOrder/detail", { id: row.businessId }).then((res) => {
|
|
proxy.post("/jdOrder/detail", { id: row.businessId }).then((res) => {
|
|
|
|
+ res.jdOrderDetailsList = res.jdOrderDetailsList.map((x) => ({
|
|
|
|
+ waitQuantity: x.quantity,
|
|
|
|
+ quantity: undefined,
|
|
|
|
+ productId: x.productId,
|
|
|
|
+ id: x.id,
|
|
|
|
+ productCode: x.productCode,
|
|
|
|
+ productName: x.productName,
|
|
|
|
+ productSpec: x.productSpec,
|
|
|
|
+ }));
|
|
formData.data = {
|
|
formData.data = {
|
|
id: row.businessId,
|
|
id: row.businessId,
|
|
outWarehouseId: "",
|
|
outWarehouseId: "",
|
|
inWarehouseId: "",
|
|
inWarehouseId: "",
|
|
- jdOrderDetailsList: res.jdOrderDetailsList.map((x) => ({
|
|
|
|
- waitQuantity: row.quantity,
|
|
|
|
- quantity: row.quantity,
|
|
|
|
- productId: x.productId,
|
|
|
|
- id: x.id,
|
|
|
|
- productCode: x.productCode,
|
|
|
|
- productName: x.productName,
|
|
|
|
- productSpec: x.productSpec,
|
|
|
|
- })),
|
|
|
|
|
|
+ jdOrderDetailsList: res.jdOrderDetailsList,
|
|
};
|
|
};
|
|
dialogVisible.value = true;
|
|
dialogVisible.value = true;
|
|
});
|
|
});
|
|
} else if (row.businessType == 6) {
|
|
} else if (row.businessType == 6) {
|
|
modalType.value = "edit";
|
|
modalType.value = "edit";
|
|
formConfig.value = configData.value[0];
|
|
formConfig.value = configData.value[0];
|
|
- formData.data = {
|
|
|
|
- id: row.id,
|
|
|
|
- warehouseId: "",
|
|
|
|
- businessType: row.businessType + "",
|
|
|
|
- businessCode: row.businessCode,
|
|
|
|
- jdOrderDetailsList: [
|
|
|
|
- {
|
|
|
|
- waitQuantity: row.quantity,
|
|
|
|
- quantity: undefined,
|
|
|
|
- productCode: row.productCode,
|
|
|
|
- productName: row.productName,
|
|
|
|
- productSpec: row.productSpec,
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- };
|
|
|
|
- dialogVisible.value = true;
|
|
|
|
|
|
+ proxy.post("/stockWait/detailByWdly", { id: row.id }).then((res) => {
|
|
|
|
+ res.jdOrderDetailsList = res.stockWaitDetailsList.map((x) => ({
|
|
|
|
+ ...x,
|
|
|
|
+ waitQuantity: x.quantity,
|
|
|
|
+ quantity: undefined,
|
|
|
|
+ }));
|
|
|
|
+ res.businessType = res.businessType + "";
|
|
|
|
+ formData.data = res;
|
|
|
|
+ dialogVisible.value = true;
|
|
|
|
+ });
|
|
}
|
|
}
|
|
};
|
|
};
|
|
const warehouseType = ref([]);
|
|
const warehouseType = ref([]);
|