snow 2 anni fa
parent
commit
922d4c89a0

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/0.js


+ 7 - 2
src/views/goodStore/supplierGoodsCost/index.vue

@@ -802,10 +802,15 @@ export default {
       // item.companyNo = this.select === "3" ? this.sinput : "";
       item.company_name = this.select === "5" ? this.sinput : ""; // 部门
       item.cat_id = item.cat_id.length > 0 ? item.cat_id[item.cat_id.length - 1] : "";
-      item.companyNo = this.currentCompany
+      // item.companyNo = this.currentCompany
       item.noRelation = true
 
-      const res = await asyncRequest.copy_list(item);
+      const res = await asyncRequest.copy_list({
+        ...item,
+        noRelation: true,
+        supplierNo: this.currentCompany
+      });
+      
       if (res && res.code === 0 && res.data) {
         this.tableData = res.data.list;
         this.tableData.forEach((a) => {

+ 5 - 3
src/views/supplierSellOut/supplierFiling/index.vue

@@ -107,12 +107,12 @@ import urlConfig from "@/apis/url-config";
 import asyncRequest from "@/apis/service/sellOut/filing";
 import { columns, statusOptions } from "./config/columns";
 import { cg_order_type_options } from "@/assets/js/statusList";
-// import companyHelper from "@/mixins/companyHelper"
+import companyHelper from "@/mixins/companyHelper"
 import { mapGetters } from "vuex";
 // companyHelper
 export default {
   name: "purchaseOrder",
-  mixins: [mixinPage, resToken],
+  mixins: [mixinPage, resToken, companyHelper],
   components: {},
   computed: {
     ...mapGetters(["tablebtnSize", "searchSize", "size", "business_companyNo", "isSupertube"]),
@@ -303,7 +303,9 @@ export default {
       const res = await asyncRequest.list({
         ...this.parmValue,
         ...this.timeOBJ,
-        companyCode: Array.isArray(this.parmValue.companyCode) ? this.parmValue.companyCode[0] : this.parmValue.companyCode 
+        companyCode: Array.isArray(this.parmValue.companyCode) ? this.parmValue.companyCode[0] : this.parmValue.companyCode,
+        noRelation:true,
+        supplierNo: this.currentCompany
       });
       const { code, data } = await this.useResHandle(res);
       if (code === 0) {

Some files were not shown because too many files changed in this diff