|
|
@ -1,6 +1,8 @@ |
|
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
|
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' |
|
|
|
|
|
|
|
import * as ShiftApi from '@/api/wms/shift' |
|
|
|
const shiftList = await ShiftApi.getShiftPage({available:'TRUE',pageSize: 500,pageNo: 1,sort:'',by: 'ASC'}) |
|
|
|
console.log('shiftList',shiftList) |
|
|
|
/** |
|
|
|
* @returns {Array} 制品收货任务主表 |
|
|
|
*/ |
|
|
@ -96,9 +98,20 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'shiftName', |
|
|
|
sort: 'custom', |
|
|
|
isTable:true, |
|
|
|
isSearch:true, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
search: { |
|
|
|
component:'Select', |
|
|
|
componentProps:{ |
|
|
|
options:shiftList.list, |
|
|
|
optionsAlias: { |
|
|
|
labelField: 'name', |
|
|
|
valueField: 'name' |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '收货类型', |
|
|
|