Selaa lähdekoodia

fix: 物流通知、到货通知

zh 2 vuotta sitten
vanhempi
commit
f46de2651c
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 2 3
      src/components/NotifyBox/index.vue

+ 2 - 3
src/components/NotifyBox/index.vue

@@ -127,7 +127,7 @@
             :lg="8"
           ><el-form-item prop="remark" label="内容"> <el-input v-model="invoiceOrderForm.remark" /> </el-form-item></el-col>
           <el-col :xs="24" :sm="12" :lg="8">
-            <el-button size="mini" @click="handleReset('invoiceOrde')">重置</el-button>
+            <el-button size="mini" @click="handleReset($event,'invoiceOrde')">重置</el-button>
             <el-button size="mini" type="primary" @click="getListInvoiceOrder">查询</el-button>
           </el-col>
         </el-row>
@@ -426,7 +426,6 @@ export default {
     // 获取物流列表
     async getListInvoiceOrder() {
       const time = this.invoiceOrderForm.time || []
-      delete this.invoiceOrderForm.time
       const data = {
         pageSize: this.pageSize,
         pageNum: this.currentPage,
@@ -448,7 +447,7 @@ export default {
       this.arrivalNoticeList = res.data.records
       this.listTotal = res.data.total
     },
-    handleReset(type) {
+    handleReset(e, type) {
       this.pageSize = 10
       this.pageNum = 1
       if (type) {