|
|
|
@ -593,15 +593,20 @@
|
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
title="配置目的仓" |
|
|
|
|
v-model="details.popUpShow.editPlanNumberVisited" |
|
|
|
|
width="40%" |
|
|
|
|
v-model="details.popUpShow.problemDataVisited" |
|
|
|
|
width="80%" |
|
|
|
|
append-to-body |
|
|
|
|
class="packageDetailColumnListVisited" |
|
|
|
|
class="problemDataVisited" |
|
|
|
|
> |
|
|
|
|
<div class="edit_title">订单号: {{ details.editInfo.orderCode }}</div> |
|
|
|
|
<div class="title"> |
|
|
|
|
<span class="mr20">目的仓: </span> |
|
|
|
|
|
|
|
|
|
<el-select></el-select> |
|
|
|
|
</div> |
|
|
|
|
<!-- <el-form-item label="目的仓:"></el-form-item> --> |
|
|
|
|
|
|
|
|
|
<tablecmt |
|
|
|
|
class="columnList" |
|
|
|
|
class="columnList mt20" |
|
|
|
|
ref="newColumnListNode" |
|
|
|
|
:columnList="details.newColumnList" |
|
|
|
|
:tableData="details.problemData" |
|
|
|
@ -609,16 +614,16 @@
|
|
|
|
|
@selection="list => selectionChange(list)" |
|
|
|
|
> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
<template v-if="slotProps.scope.column.label === '计划数'"> |
|
|
|
|
<!-- <template v-if="slotProps.scope.column.label === '计划数'"> |
|
|
|
|
<el-text size="small" text @click="handleEditplanNum(slotProps.scope, item)">{{ |
|
|
|
|
slotProps.scope.row.planNum |
|
|
|
|
}}</el-text> |
|
|
|
|
</template> |
|
|
|
|
</template> --> |
|
|
|
|
</template> |
|
|
|
|
</tablecmt> |
|
|
|
|
|
|
|
|
|
<div class="flex-c-c"> |
|
|
|
|
<el-button @click="details.popUpShow.editPlanNumberVisited = false">取消</el-button> |
|
|
|
|
<el-button @click="details.popUpShow.problemDataVisited = false">取消</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
:loading="btnLoadingObj.editPlanNumBtn" |
|
|
|
@ -820,6 +825,8 @@ const details = reactive<any>({
|
|
|
|
|
popUpShow: { |
|
|
|
|
/** 修改计划数量 */ |
|
|
|
|
editPlanNumberVisited: false, |
|
|
|
|
/** 未挂载目的仓的数据 */ |
|
|
|
|
problemDataVisited: true, |
|
|
|
|
}, |
|
|
|
|
/** 列表Dom节点 */ |
|
|
|
|
listNode: '', |
|
|
|
@ -905,6 +912,9 @@ const details = reactive<any>({
|
|
|
|
|
nodeCloneInfoData: [], |
|
|
|
|
/** 挂载在配载任务中, 但未挂载目的仓的数据 */ |
|
|
|
|
problemData: [], |
|
|
|
|
problemForm: {}, |
|
|
|
|
/** 节点 */ |
|
|
|
|
nodeList: [], |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const btnLoadingObj = reactive({ |
|
|
|
@ -1719,7 +1729,23 @@ const handleSubmitEdit = async () => {
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** 显示未挂载目的仓的数据 */ |
|
|
|
|
const handleShowProblemData = () => {}; |
|
|
|
|
const handleShowProblemData = () => { |
|
|
|
|
console.log('details.nodeInfoData :>> ', details.nodeInfoData); |
|
|
|
|
console.log('details.active :>> ', details.active); |
|
|
|
|
details.nodeList = []; |
|
|
|
|
for (let i = 0; i < details.nodeInfoData.length; i++) { |
|
|
|
|
const item = details.nodeInfoData[i]; |
|
|
|
|
|
|
|
|
|
if (i <= details.active || !item.nodeId) continue; |
|
|
|
|
|
|
|
|
|
details.nodeList.push({ |
|
|
|
|
nodeName: item.nodeName, |
|
|
|
|
nodeId: item.nodeId, |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
details.popUpShow; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** 关闭页面 */ |
|
|
|
|
const back = () => { |
|
|
|
@ -2290,4 +2316,17 @@ const handleSubmit = (formEl: FormInstance | undefined) => {
|
|
|
|
|
border: none; |
|
|
|
|
color: #fff; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.mr20 { |
|
|
|
|
margin-right: 20px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 配置目的仓弹窗 |
|
|
|
|
.problemDataVisited { |
|
|
|
|
.title { |
|
|
|
|
font-size: 18px; |
|
|
|
|
font-weight: bold; |
|
|
|
|
display: flex; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|