Browse Source

-更新要货预测

hella_online_20241226
王宇飞 3 months ago
parent
commit
ff6c4372de
  1. 8
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
  2. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue

8
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

@ -531,7 +531,7 @@ export const UpdateMain = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '供应商代码',
label: '按供应商更新',
field: 'supplierCode',
sort: 'custom',
table: {
@ -544,7 +544,7 @@ export const UpdateMain = useCrudSchemas(reactive<CrudSchema[]>([
multiple: true,
enterSearch:false,
isSearchList: false, // 开启查询弹窗
searchListPlaceholder: '填写供应商代码(填写多个供应商)', // 输入框占位文本
searchListPlaceholder: t(`ts.${'填写供应商代码(填写多个供应商)'}`), // 输入框占位文本
searchField: 'supplierCode', // 查询弹窗赋值字段
searchTitle: '供应商信息', // 查询弹窗标题
searchAllSchemas: Supplier1.allSchemas, // 查询弹窗所需类
@ -567,7 +567,7 @@ export const UpdateMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
{
label: '物料代码',
label: '按物料更新',
field: 'itemCode',
sort: 'custom',
isForm: true,
@ -579,7 +579,7 @@ export const UpdateMain = useCrudSchemas(reactive<CrudSchema[]>([
multiple: true,
enterSearch:false,
isSearchList: false, // 开启查询弹窗
searchListPlaceholder: '填写物料号(填写多个物料号)', // 输入框占位文本
searchListPlaceholder: t(`ts.${'填写物料号(填写多个物料号)'}`), // 输入框占位文本
searchField: 'itemCode', // 查询弹窗赋值字段
searchTitle: '物料基础信息', // 查询弹窗标题
searchAllSchemas: Supplieritem.allSchemas, // 查询弹窗所需类

2
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue

@ -282,6 +282,8 @@ const updateDemandforecaste = async (formType,data)=>{
try {
let res = await DemandforecastingMainApi.updateDemandforecaste(submitData)
console.log('更新结果',res)
message.success(t('更新成功'))
updateFormRef.value.dialogVisible = false
} finally{
updateFormRef.value.formLoading = false
}

Loading…
Cancel
Save