|  |  | 
 |  |  |     } | 
 |  |  |     const http = async (sta, items) => { | 
 |  |  |         console.log(items); | 
 |  |  |         const filZores = items.filter(item => item.outQty  <= 0.0); | 
 |  |  |         const filter = items.filter(item => (item.outQty + item.workQty) > item.anfme); | 
 |  |  |         if (filter.length > 0 || filZores.length > 0) { | 
 |  |  |             notify(translate('toolbar.request.error.out_stock_qty')) | 
 |  |  |             return | 
 |  |  |         } | 
 |  |  |         const { data: { code, data, msg } } = await request.post(`/locItem/check/task`, { siteNo: sta, items: items }); | 
 |  |  |         // const filZores = items.filter(item => item.outQty  <= 0.0); | 
 |  |  |         // const filter = items.filter(item => (item.outQty + item.workQty) > item.anfme); | 
 |  |  |         // if (filter.length > 0 || filZores.length > 0) { | 
 |  |  |         //     notify(translate('toolbar.request.error.out_stock_qty')) | 
 |  |  |         //     return | 
 |  |  |         // } | 
 |  |  |         const { data: { code, data, msg } } = await request.post(`/locItem/generate/task`, { siteNo: sta, items: items }); | 
 |  |  |         if (code === 200) { | 
 |  |  |             notify(msg); | 
 |  |  |             refresh() | 
 |  |  | 
 |  |  |             width: 100, | 
 |  |  |             editable: false, | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |             field: 'workQty', | 
 |  |  |             headerName: translate('table.field.locItem.workQty'), | 
 |  |  |             width: 100, | 
 |  |  |             type: 'number', | 
 |  |  |             editable: false, | 
 |  |  |         }, | 
 |  |  |         // { | 
 |  |  |         //     field: 'workQty', | 
 |  |  |         //     headerName: translate('table.field.locItem.workQty'), | 
 |  |  |         //     width: 100, | 
 |  |  |         //     type: 'number', | 
 |  |  |         //     editable: false, | 
 |  |  |         // }, | 
 |  |  |         { | 
 |  |  |             field: 'locCode', | 
 |  |  |             headerName: translate('table.field.locItem.locCode'), |