Browse Source

feat:报备单业务公司筛选

snow 1 year ago
parent
commit
3c84c27ffe
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/sellOut/filing/index.vue

+ 4 - 4
src/views/sellOut/filing/index.vue

@@ -223,11 +223,11 @@ import asyncRequest from "@/apis/service/sellOut/filing";
 import { columns, statusOptions } from "./config/columns";
 import { cg_order_type_options } from "@/assets/js/statusList";
 import { mapGetters } from "vuex";
-// import companyHelper from "@/mixins/companyHelper";
+import companyHelper from "@/mixins/companyHelper";
 
 export default {
   name: "purchaseOrder",
-  mixins: [mixinPage, resToken],
+  mixins: [mixinPage, resToken, companyHelper],
   components: {},
   computed: {
     ...mapGetters([
@@ -446,14 +446,14 @@ export default {
         ...this.parmValue,
         ...this.timeOBJ,
         ...this.pageInfo,
+        customerCode: this.currentCompany,
         supplierNo: Array.isArray(this.parmValue.supplierNo)
           ? this.parmValue.supplierNo[0]
           : this.parmValue.supplierNo,
         companyCode: Array.isArray(this.parmValue.companyCode)
           ? this.parmValue.companyCode[0]
           : this.parmValue.companyCode,
-        noRelation: true,
-        customerCode: this.currentCompany
+        noRelation: true
       });
       const { code, data } = await this.useResHandle(res);
       if (code === 0) {