|
|
@ -48,13 +48,14 @@ |
|
|
|
<!-- 导入 --> |
|
|
|
<ImportForm |
|
|
|
ref="importFormRef" |
|
|
|
url="/wms/supplierdeliver-request-main/import" |
|
|
|
url="/wms/rule/import" |
|
|
|
:importTemplateData="importTemplateData" |
|
|
|
@success="importSuccess" |
|
|
|
:updateIsDisable="true" |
|
|
|
:coverIsDisable="true" |
|
|
|
:mode="2" |
|
|
|
|
|
|
|
/> |
|
|
|
<!-- :updateIsDisable="true"--> |
|
|
|
<!-- :coverIsDisable="true"--> |
|
|
|
<!-- :mode="2"--> |
|
|
|
<!-- 表单弹窗:添加/修改 --> |
|
|
|
<AddForm ref="formRef" @success="getList" /> |
|
|
|
</template> |
|
|
@ -67,6 +68,7 @@ import AddForm from './AddForm.vue' |
|
|
|
import download from '@/utils/download' |
|
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
import * as CustomerApi from "@/api/wms/customer"; |
|
|
|
const { loadStart, loadDone } = usePageLoading() |
|
|
|
defineOptions({ name: 'SupplieDeliveryStrategy' }) |
|
|
|
const queryFormRef = ref() // 搜索的表单 |
|
|
@ -179,7 +181,7 @@ const handleImport = () => { |
|
|
|
// 列表头部按钮 |
|
|
|
const HeadButttondata = [ |
|
|
|
defaultButtons.defaultAddBtn(null), // 新增 |
|
|
|
// defaultButtons.defaultImportBtn({ hasPermi: 'wms:supplierdeliver-request-main:import' }), // 导入 |
|
|
|
defaultButtons.defaultImportBtn(null), // 导入 |
|
|
|
// defaultButtons.defaultExportBtn({ hasPermi: 'wms:supplierdeliver-request-main:export' }), // 导出 |
|
|
|
|
|
|
|
] |
|
|
@ -213,8 +215,9 @@ const buttonTableClick = (val, row) => { |
|
|
|
|
|
|
|
|
|
|
|
/** 初始化 **/ |
|
|
|
onMounted(() => { |
|
|
|
onMounted( async() => { |
|
|
|
getList() |
|
|
|
importTemplateData.templateUrl = await RuleApi.importTemplate() |
|
|
|
}) |
|
|
|
|
|
|
|
</script> |
|
|
|