zhouhao 2 yıl önce
ebeveyn
işleme
9789452e08

+ 1 - 1
src/views/sales_control/adjust_warehouse.vue

@@ -129,7 +129,7 @@ export default {
                 })              }}
               title="删除吗?"
             >
-              <el-button slot="reference" type="text">删除</el-button>
+              <el-button slot="reference" size="mini" type="text">删除</el-button>
             </el-popconfirm>
           </div>
         )

+ 8 - 8
src/views/sales_control/sales_management/components/customer_sales_form.vue

@@ -45,7 +45,7 @@
 import SalesDialog from '@/components/SalesDialog/SalesDialog'
 import SalesHeader from '@/components/SalesHeader/SalesHeader'
 import SalesTable from '@/components/SalesTable/SalesTable'
-import { addFrontOrder, getFrontOrderDetail, listOrder, sbumitFrontOrder, updateFrontOrder } from '@/api/sales'
+import { addFrontOrder, getFrontOrderDetail, sbumitFrontOrder, updateFrontOrder } from '@/api/sales'
 import { getcustomerFrontList, getFrontListCustomer } from '@/api/stock'
 
 export default {
@@ -136,13 +136,13 @@ export default {
 
     getDialogList(p) {
       let func = getcustomerFrontList
-      // if (this.isFront === true) {
-      //   func = getcustomerFrontList
-      // }
-      // if (this.isFront === false) {
-      //   func = getFrontListCustomer
-      // }
-      return listOrder(...p)
+      if (this.isFront === true) {
+        func = getcustomerFrontList
+      }
+      if (this.isFront === false) {
+        func = getFrontListCustomer
+      }
+      return func(...p)
     },
     confirm(selected) {
       console.log(selected)