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