Browse Source

弹层添加条件

master
李胜楠 1 year ago
parent
commit
961c59731b
  1. 18
      src/views/wms/basicDataManage/itemManage/bom/bom.data.ts
  2. 9
      src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts
  3. 14
      src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts
  4. 13
      src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts
  5. 11
      src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts
  6. 28
      src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

18
src/views/wms/basicDataManage/itemManage/bom/bom.data.ts

@ -27,7 +27,14 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物品基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
action: '==',
isSearch: true,
isMainValue: false
}]
}
}
},
@ -47,7 +54,14 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物品基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
action: '==',
isSearch: true,
isMainValue: false
}]
}
}
},

9
src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts

@ -26,7 +26,14 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物品基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
action: '==',
isSearch: true,
isMainValue: false
}]
}
}
},

14
src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts

@ -34,7 +34,12 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code',
searchTitle: '库位信息',
searchAllSchemas: Location.allSchemas,
searchPage: LocationApi.getLocationPage
searchPage: LocationApi.getLocationPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
},
@ -117,6 +122,13 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
action: '!=',
isSearch: true,
isMainValue: false
},
{
key:'available',
value:'TRUE',
action: '==',
isSearch: true,
isMainValue: false
}
]
}

13
src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts

@ -30,7 +30,14 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '供应商信息', // 查询弹窗标题
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法
searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
action: '==',
isSearch: true,
isMainValue: false
}]
}
}
},
@ -55,6 +62,10 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([
key:'supplierCode',
value:'supplierCode',
isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}

11
src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts

@ -30,7 +30,12 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '供应商信息', // 查询弹窗标题
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法
searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
},
@ -55,6 +60,10 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
key:'supplierCode',
value:'supplierCode',
isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}

28
src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

@ -38,7 +38,12 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '供应商信息', // 查询弹窗标题
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法
searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
},
@ -58,7 +63,12 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物品基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
},
@ -178,7 +188,12 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '仓库信息', // 查询弹窗标题
searchAllSchemas: Warehouse.allSchemas, // 查询弹窗所需类
searchPage: WarehouseApi.getWarehousePage // 查询弹窗所需分页方法
searchPage: WarehouseApi.getWarehousePage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
},
@ -197,7 +212,12 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '库位信息', // 查询弹窗标题
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
searchPage: LocationApi.getLocationPage // 查询弹窗所需分页方法
searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
},

Loading…
Cancel
Save