|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const open = ref(false); | 
|---|
|  |  |  | const barcode = ref(null); | 
|---|
|  |  |  | const locTypeHeight = ref(null); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const { | 
|---|
|  |  |  | getColumnSearchProps, | 
|---|
|  |  |  | 
|---|
|  |  |  | post('/api/rpc/generatePakIn', { | 
|---|
|  |  |  | taskType: 1, | 
|---|
|  |  |  | barcode: barcode.value, | 
|---|
|  |  |  | originSite: "101" | 
|---|
|  |  |  | originSite: "101", | 
|---|
|  |  |  | locTypeHeight: locTypeHeight.value | 
|---|
|  |  |  | }).then(resp => { | 
|---|
|  |  |  | let result = resp.data; | 
|---|
|  |  |  | if (result.code === 200) { | 
|---|
|  |  |  | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const locTypeHeightQueryList = ref(null); | 
|---|
|  |  |  | locTypeHeightQueryListQuery(); | 
|---|
|  |  |  | function locTypeHeightQueryListQuery() { | 
|---|
|  |  |  | postForm('/api/locType/height/query', {}).then(resp => { | 
|---|
|  |  |  | let result = resp.data; | 
|---|
|  |  |  | locTypeHeightQueryList.value = result.data; | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | watch(open, (newVal, oldVal) => { | 
|---|
|  |  |  | if (newVal) { | 
|---|
|  |  |  | waitPakinQueryListQuery() | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | defineExpose({ | 
|---|
|  |  |  | open, | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | 
|---|
|  |  |  | <a-select v-model:value="barcode" :placeholder="formatMessage('common.select', '请选择')" style="width: 100%" | 
|---|
|  |  |  | show-search :options="waitPakinQueryList" optionFilterProp="label" optionLabelProp="label"> | 
|---|
|  |  |  | </a-select> | 
|---|
|  |  |  | <a-select v-model:value="locTypeHeight" :placeholder="formatMessage('common.select', '请选择库位高度')" style="width: 100%;margin-top: 20px;" | 
|---|
|  |  |  | show-search :options="locTypeHeightQueryList" optionFilterProp="label" optionLabelProp="label"> | 
|---|
|  |  |  | </a-select> | 
|---|
|  |  |  | </a-modal> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </template> | 
|---|