| | |
| | | }; |
| | | |
| | | const orderQueryList = ref(null); |
| | | orderQuery(); |
| | | function orderQuery() { |
| | | postForm('/api/order/query', {}).then(resp => { |
| | | orderQuery(null); |
| | | function orderQuery(condition) { |
| | | postForm('/api/order/query', { |
| | | condition: condition |
| | | }).then(resp => { |
| | | let result = resp.data; |
| | | orderQueryList.value = result.data; |
| | | }) |
| | |
| | | } |
| | | const zpalletBarcodeSearch = (e) => { |
| | | zpalletBarcodeQuery(e) |
| | | } |
| | | |
| | | const handleSearchChange = (e) =>{ |
| | | orderQuery(e); |
| | | } |
| | | |
| | | const handleSelectChange = async (id) => { |
| | |
| | | style="width: 250px;"> |
| | | <a-select v-model:value="formData.orderId" :placeholder="formatMessage('common.select', '请选择')" |
| | | style="width: 100%" show-search :options="orderQueryList" optionFilterProp="label" |
| | | optionLabelProp="label" @change="handleSelectChange"> |
| | | optionLabelProp="label" @change="handleSelectChange" @search="handleSearchChange"> |
| | | </a-select> |
| | | </a-form-item> |
| | | <a-form-item :label="formatMessage('db.man_wait_pakin.order_no', '订单编号')" name="orderNo" |