Browse Source

添加isTableValue条件

master_hella_20240701
yufei0306 7 months ago
parent
commit
fe96af0830
  1. 3
      src/components/BasicForm/src/BasicForm.vue
  2. 5
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

3
src/components/BasicForm/src/BasicForm.vue

@ -376,6 +376,9 @@ const opensearchTable = (
message.warning(searchCondition[i].message?searchCondition[i].message:'前置条件未选择!')
return
}
}else if(searchCondition[i].isTableValue){
//table
_searchCondition[searchCondition[i].key] = row[searchCondition[i].value]
} else {
//
if (searchCondition[i].isSearch) {

5
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -1451,7 +1451,7 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch
disabled: true,
isInpuFocusShow: true,
searchListPlaceholder: '请选择包装',
searchField: 'packUnit',
searchField: 'itemCode',
searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver,
@ -1460,7 +1460,8 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch
key: 'itemCode',
value: 'itemCode',
message: '请选择订单行',
isMainValue: true
isTableValue: true,
isMainValue:false
},
{
key: 'available',

Loading…
Cancel
Save