fix: 订单

fix/0524_ch
向文可 3 years ago
parent 578a32628a
commit 927b446f2b

@ -99,18 +99,18 @@
);
watch(
() => state.condition,
(value) => {
(value, old) => {
store.commit('order/setCondition', _.cloneDeep(value));
// if (value.userId !== old.userId) {
// handleSearch && handleSearch();
// }
if (value.userId !== old?.userId) {
handleSearch();
}
},
{ immediate: true, deep: true }
);
watch(
() => state.condition.orderStatus,
() => {
// handleSearch && handleSearch();
handleSearch();
},
{ deep: true }
);

@ -1,6 +1,13 @@
<template>
<el-dialog v-model="visible" height="500px" title="批量发货" width="800px">
<table-list v-loading="loading" :code="code" :config="config" :data="list" :operation="[]" />
<el-dialog v-model="visible" title="批量发货" width="800px">
<table-list
v-loading="loading"
:code="code"
:config="config"
:data="list"
:operation="[]"
style="height: 500px"
/>
<template #footer>
<el-button type="danger" @click="handleClose"></el-button>
<el-button :loading="loading" type="primary" @click="handleSave"></el-button>

Loading…
Cancel
Save