|
@ -58,11 +58,12 @@ |
|
|
ref="importFormRef" |
|
|
ref="importFormRef" |
|
|
:url="importUrl" |
|
|
:url="importUrl" |
|
|
@success="importSuccess" |
|
|
@success="importSuccess" |
|
|
:isShowDownloadBtn="false" |
|
|
:isShowDownloadBtn="true" |
|
|
:formSchema="ExtendColumn.allSchemas.formSchema" |
|
|
:formSchema="ExtendColumn.allSchemas.formSchema" |
|
|
:rules="ExtendColumnRules" |
|
|
:rules="ExtendColumnRules" |
|
|
:extend="importExtend" |
|
|
:extend="importExtend" |
|
|
accept=".xlsx,.xls" |
|
|
accept=".xlsx,.xls" |
|
|
|
|
|
:importTemplateData="importTemplateData" |
|
|
@searchTableSuccess="searchTableSuccess" |
|
|
@searchTableSuccess="searchTableSuccess" |
|
|
/> |
|
|
/> |
|
|
</template> |
|
|
</template> |
|
@ -96,6 +97,10 @@ console.log(99 , routeName.value) |
|
|
const tableColumns = ref([...DeliverRecordMain.allSchemas.tableColumns,...DeliverRecordDetail.allSchemas.tableMainColumns]) |
|
|
const tableColumns = ref([...DeliverRecordMain.allSchemas.tableColumns,...DeliverRecordDetail.allSchemas.tableMainColumns]) |
|
|
const { tableObject, tableMethods } = useTable({ |
|
|
const { tableObject, tableMethods } = useTable({ |
|
|
getListApi: DeliverRecordDetailApi.getDeliverRecordDetailPage // 分页接口 |
|
|
getListApi: DeliverRecordDetailApi.getDeliverRecordDetailPage // 分页接口 |
|
|
|
|
|
})// 导入附件弹窗所需的参数 |
|
|
|
|
|
const importTemplateData = reactive({ |
|
|
|
|
|
templateUrl: '', |
|
|
|
|
|
templateTitle: `【${route.meta.title}】导入模版.xlsx` |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
importUrl.value = '/wms/deliver-record-main/import-customer-pda-shipment' |
|
|
importUrl.value = '/wms/deliver-record-main/import-customer-pda-shipment' |
|
@ -174,7 +179,7 @@ const butttondata = (row,$index) => { |
|
|
}else{ |
|
|
}else{ |
|
|
return [ |
|
|
return [ |
|
|
// defaultButtons.mainListDocumentPrintBtn(null),// 标签打印 |
|
|
// defaultButtons.mainListDocumentPrintBtn(null),// 标签打印 |
|
|
defaultButtons.mainListEditBtn(null), // 编辑 |
|
|
// defaultButtons.mainListEditBtn(null), // 编辑 |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -330,6 +335,7 @@ onMounted(async () => { |
|
|
} else if (routeName.value == 'DeliverPda') { |
|
|
} else if (routeName.value == 'DeliverPda') { |
|
|
tableObject.params.businessType = 'DeliverPda' |
|
|
tableObject.params.businessType = 'DeliverPda' |
|
|
} |
|
|
} |
|
|
|
|
|
importTemplateData.templateUrl = await DeliverRecordMainApi.importDeliverPdaTemplate() |
|
|
getList() |
|
|
getList() |
|
|
}) |
|
|
}) |
|
|
onActivated(() => { |
|
|
onActivated(() => { |
|
|