Procházet zdrojové kódy

Finish Hotfix-zh-284

howie před 2 roky
rodič
revize
766826b362

+ 7 - 7
src/views/supply/deliver/sum_list.vue

@@ -1030,13 +1030,13 @@ export default {
     },
 
     handleCheckAllChange(val) {
-      // let arr = []
-      // if (val) {
-      //   for (let i = 1; i <=this.excelData.length; i++) {
-      //     arr.push(i)
-      //   }
-      // }
-      // this.excelData = val ? arr : [];
+      let arr = []
+      if (val) {
+        for (let i = 1; i <=this.excelData.length; i++) {
+          arr.push(i)
+        }
+      }
+      this.check = val ? arr : [];
       this.isIndeterminate = false;
       },
       handleCheckedCitiesChange(){

+ 6 - 6
src/views/supply/sales/sales_list.vue

@@ -128,14 +128,14 @@
                 </el-date-picker>
               </el-form-item>
             </el-col>
-            <el-col :xs="24" :sm="12" :lg="6">
+            <!-- <el-col :xs="24" :sm="12" :lg="6">
               <el-form-item label="打印时间排序" prop="printDesc">
                 <el-select v-model="screenForm.printDesc" clearable filterable>
                   <el-option label="默认" :value="null"> </el-option>
-                  <el-option label="倒" :value="1"> </el-option>
+                  <el-option label="倒" :value="1"> </el-option>
                 </el-select>
               </el-form-item>
-            </el-col>
+            </el-col> -->
             <el-col :xs="24" :sm="12" :lg="6">
               <el-form-item label="打印日期" prop="printTime">
                 <el-date-picker
@@ -158,7 +158,7 @@
                 ></el-input>
               </el-form-item>
             </el-col>
-            <el-col :xs="24" :sm="12" :lg="18" class="tr">
+            <el-col :xs="24" :sm="12" :lg="24" class="tr">
               <el-form-item label="">
                 <el-button @click="resetScreenForm">清空</el-button>
                 <el-button type="primary" @click="submitScreenForm"
@@ -665,7 +665,7 @@ export default {
         printStartTime: this.screenForm.printTime
           ? this.screenForm.printTime[0]
           : "",
-        printEndtTime: this.screenForm.printTime
+        printEndTime: this.screenForm.printTime
           ? this.screenForm.printTime[1]
           : "",
         mainOrderId: this.screenForm.mainOrderId,
@@ -723,7 +723,7 @@ export default {
         printStartTime: this.screenForm.printTime
           ? this.screenForm.printTime[0]
           : "",
-        printEndtTime: this.screenForm.printTime
+        printEndTime: this.screenForm.printTime
           ? this.screenForm.printTime[1]
           : "",
         printTimeDesc: this.screenForm.printDesc,