Browse Source

HL-5416:上架策略,增加导入功能

hella_online_20240913
tengxiaofei 2 months ago
parent
commit
900c1cb488
  1. 15
      src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/index.vue

15
src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/index.vue

@ -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>

Loading…
Cancel
Save