|
@ -55,6 +55,7 @@ |
|
|
callmaterialQtySum:qty*callmaterialQty, |
|
|
callmaterialQtySum:qty*callmaterialQty, |
|
|
}) |
|
|
}) |
|
|
}" |
|
|
}" |
|
|
|
|
|
@onEnter="onEnter" |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
<!-- 详情 --> |
|
|
<!-- 详情 --> |
|
@ -75,7 +76,9 @@ import Detail from '@/components/Detail/src/Detail.vue' |
|
|
import { formatTime } from '@/utils/index' |
|
|
import { formatTime } from '@/utils/index' |
|
|
import { getAccessToken } from '@/utils/auth' |
|
|
import { getAccessToken } from '@/utils/auth' |
|
|
import * as PackageApi from '@/api/wms/package' |
|
|
import * as PackageApi from '@/api/wms/package' |
|
|
|
|
|
import * as ItembasicApi from '@/api/wms/itembasic' |
|
|
|
|
|
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' |
|
|
|
|
|
// 叫料标签 |
|
|
defineOptions({ name: 'Callmaterials' }) |
|
|
defineOptions({ name: 'Callmaterials' }) |
|
|
|
|
|
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
const message = useMessage() // 消息弹窗 |
|
@ -86,6 +89,25 @@ const routeName = ref() |
|
|
routeName.value = route.name |
|
|
routeName.value = route.name |
|
|
const tableColumns = ref(Callmaterials.allSchemas.tableColumns) |
|
|
const tableColumns = ref(Callmaterials.allSchemas.tableColumns) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const onEnter = async (field,value)=>{ |
|
|
|
|
|
console.log(field,value) |
|
|
|
|
|
if(field=='itemCode'){ |
|
|
|
|
|
basicFormRef.value.opensearchTable('itemCode', 'code', '物料信息', Itembasic.allSchemas, ItembasicApi.getItembasicPage,[{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
value: value, |
|
|
|
|
|
action: '==', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}]) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
// 查询页面返回 |
|
|
// 查询页面返回 |
|
|
const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
|
const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
|
nextTick(() => { |
|
|
nextTick(() => { |
|
|