|
|
|
@ -386,7 +386,7 @@
|
|
|
|
|
ref="oldColumnListNode" |
|
|
|
|
class="columnList" |
|
|
|
|
:columnList="details.columnList" |
|
|
|
|
:tableData="tableData" |
|
|
|
|
:tableData="details.data" |
|
|
|
|
@inputTxt="inputsc" |
|
|
|
|
:loading="loadingObj.oldListLoading" |
|
|
|
|
@selection="selectionChange" |
|
|
|
@ -1059,7 +1059,7 @@ const initOriginWarehouseOrder = debounce(async (params = {}) => {
|
|
|
|
|
const res = await postFindAllOrderList(submitData); |
|
|
|
|
const { code, data } = res.data; |
|
|
|
|
if (code !== 200) return; |
|
|
|
|
tableData.value = data.records; |
|
|
|
|
details.data = data.records; |
|
|
|
|
details.page.total = data.total; |
|
|
|
|
} catch (error) { |
|
|
|
|
console.log('error :>> ', error); |
|
|
|
@ -1630,7 +1630,7 @@ const handleAddNode = async (index: number) => {
|
|
|
|
|
// details.nodeInfoData.push(); |
|
|
|
|
details.nodeInfoData = handleEditForbidden(details.nodeInfoData); |
|
|
|
|
// 始发仓没有数据时, 请求数据 |
|
|
|
|
if (tableData.value.length === 0) initOriginWarehouseOrder(); |
|
|
|
|
if (details.data.length === 0) initOriginWarehouseOrder(); |
|
|
|
|
setTabelHeight(); |
|
|
|
|
handleComputedNum(); |
|
|
|
|
|
|
|
|
|