#
Junjie
2024-08-01 d64a3ba24419ed4706b8f1b5108200a26356946a
zy-asrs-admin/src/views/in/waitPakin/edit.vue
@@ -45,9 +45,11 @@
};
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;
    })
@@ -86,6 +88,10 @@
}
const zpalletBarcodeSearch = (e) => {
    zpalletBarcodeQuery(e)
}
const handleSearchChange = (e) =>{
    orderQuery(e);
}
const handleSelectChange = async (id) => {
@@ -149,7 +155,7 @@
                    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"