diff --git a/src/api/wms/inventorymoveRecordMain/index.ts b/src/api/wms/inventorymoveRecordMain/index.ts index 2f351b719..18bb292e3 100644 --- a/src/api/wms/inventorymoveRecordMain/index.ts +++ b/src/api/wms/inventorymoveRecordMain/index.ts @@ -125,4 +125,9 @@ export const exportScrapToHoldRecordMain = async (params) => { // 下载用户导入模板 export const importTemplate = () => { return request.download({ url: '/wms/inventorymove-record-main/get-import-template' }) -} \ No newline at end of file +} + +// 下载用户导入模板(除库存移动外) +export const importTemplateExceptMove = () => { + return request.download({ url: '/wms/inventorymove-record-main/get-import-template-exceptMove' }) +} diff --git a/src/views/wms/inventoryManage/balance/index.vue b/src/views/wms/inventoryManage/balance/index.vue index bc9a950bc..d7fd2b8da 100644 --- a/src/views/wms/inventoryManage/balance/index.vue +++ b/src/views/wms/inventoryManage/balance/index.vue @@ -193,17 +193,17 @@ const handleSelectionPoint = async ()=>{ } // 列表-操作按钮 const butttondata = [ - // { - // label: '标签信息', - // name: 'bqxx', - // hide: false, - // type: 'primary', - // icon: '', - // color: '', - // link: true, - // float:'right', - // hasPermi: '' - // }, + { + label: '标签信息', + name: 'bqxx', + hide: false, + type: 'primary', + icon: '', + color: '', + link: true, + float:'right', + hasPermi: '' + }, defaultButtons.mainListPointBtn(null), // 标签打印 // defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), // 编辑 // defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), // 删除 diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue index 1cb0ba47e..abd19c83a 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue @@ -59,6 +59,9 @@ :detailAllSchemasRules="InventorymoveRecordDetailRules" :apiPage="InventorymoveRecordDetailApi.getInventorymoveRecordDetailPage" /> + + diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue index 5a343df14..a69cb90f4 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue @@ -177,50 +177,27 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { key: 'businessType', value: businessType.value , isMainValue: false - }, - { - key: 'fromWarehouseCode', - value: 'fromWarehouseCode', - message: '请选择从仓库代码!', - isMainValue: true - }] + }] item.form.componentProps.searchCondition = [ { key: 'businessType', value: businessType.value, isMainValue: false - }, - { - key: 'fromWarehouseCode', - value: 'fromWarehouseCode', - message: '请选择从仓库代码!', - isMainValue: true - }] + } + ] } else if (fromInventoryStatus.value == null) { item.tableForm.searchCondition = [ { key: 'businessType', value: businessType.value , isMainValue: false - }, - { - key: 'fromWarehouseCode', - value: 'fromWarehouseCode', - message: '请选择从仓库代码!', - isMainValue: true - }] + }] item.form.componentProps.searchCondition = [ { key: 'businessType', value: businessType.value, isMainValue: false - }, - { - key: 'fromWarehouseCode', - value: 'fromWarehouseCode', - message: '请选择从仓库代码!', - isMainValue: true - }] + }] } else { delete item.tableForm.searchCondition } diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index 2b473703b..801001d62 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -236,8 +236,8 @@ export const DemandforecastingMainRules = reactive({ available: [ { required: true, message: '请选择是否可用', trigger: 'change' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } + supplierCode: [ + { required: true, message: '请选择供应商代码', trigger: 'change' } ], version: [ { max: 50, message: '不得超过50个字符', trigger: 'blur' }