فهرست منبع

Merge branch 'feature/Feature-sales' of https://gogs.zfire.top/zfire-front/supply-front into feature/Feature-sales

howie 3 سال پیش
والد
کامیت
1e7c669c1e
37فایلهای تغییر یافته به همراه287 افزوده شده و 123 حذف شده
  1. 29 13
      src/api/finance/receipt_list.js
  2. 2 2
      src/views/basic_data/dealer/dealer_stock.vue
  3. 1 1
      src/views/dashboard/index.vue
  4. 51 17
      src/views/engin_deposit/components/refund_list-detail.vue
  5. 77 17
      src/views/engin_deposit/refund_list.vue
  6. 2 2
      src/views/finance/balance_sum.vue
  7. 1 1
      src/views/finance/change_apply.vue
  8. 10 10
      src/views/finance/components/receivable_list-approval.vue
  9. 37 30
      src/views/finance/components/receivable_list-detail.vue
  10. 1 1
      src/views/finance/rebate_form.vue
  11. 44 3
      src/views/finance/receipt_list.vue
  12. 1 1
      src/views/finance/wallet.vue
  13. 1 0
      src/views/supply/apply/apply_list.vue
  14. 1 1
      src/views/supply/apply/components/apply_form.vue
  15. 1 1
      src/views/supply/apply/components/engin_form.vue
  16. 2 1
      src/views/supply/apply/engin_list.vue
  17. 2 1
      src/views/supply/deliver/commerce_list.vue
  18. 1 0
      src/views/supply/deliver/deliver_list.vue
  19. 1 0
      src/views/supply/deliver/home_list.vue
  20. 1 1
      src/views/supply/displace/components/displace_detail.vue
  21. 1 1
      src/views/supply/displace/components/displace_examine.vue
  22. 1 1
      src/views/supply/displace/components/displace_form.vue
  23. 1 1
      src/views/supply/displace/components/displace_return.vue
  24. 1 1
      src/views/supply/engin/components/commerce_detail.vue
  25. 1 1
      src/views/supply/engin/components/commerce_examine.vue
  26. 2 2
      src/views/supply/engin/components/commerce_form.vue
  27. 1 1
      src/views/supply/engin/components/commerce_return.vue
  28. 1 1
      src/views/supply/engin/components/engin_detail.vue
  29. 1 1
      src/views/supply/engin/components/engin_examine.vue
  30. 2 2
      src/views/supply/engin/components/engin_form.vue
  31. 1 1
      src/views/supply/engin/components/home_detail.vue
  32. 1 1
      src/views/supply/engin/components/home_examine.vue
  33. 2 2
      src/views/supply/engin/components/home_form.vue
  34. 1 1
      src/views/supply/engin/components/home_return.vue
  35. 2 2
      src/views/supply/retail/components/retail_form.vue
  36. 1 1
      src/views/supply/return/components/return_form.vue
  37. 1 0
      src/views/supply/return/return_list.vue

+ 29 - 13
src/api/finance/receipt_list.js

@@ -1,18 +1,34 @@
-import request from '@/utils/request'
+import request from "@/utils/request";
 
 // 收款单列表
 export function getK3ReceiptList(params) {
-    return request({
-      url: '/k3/receipt/list',
-      method: 'get',
-      params
-    })
-  }
+  return request({
+    url: "/k3/receipt/list",
+    method: "get",
+    params,
+  });
+}
 // 收款单详情
 export function getK3ReceiptDetail(params) {
-    return request({
-      url: '/k3/receipt/detail',
-      method: 'get',
-      params
-    })
-  }
+  return request({
+    url: "/k3/receipt/detail",
+    method: "get",
+    params,
+  });
+}
+// 弃审
+export function getK3ReceiptAbandon(params) {
+  return request({
+    url: "/k3/receipt/abandon",
+    method: "post",
+    params,
+  });
+}
+// 导出收款单列表
+export function getK3ReceiptExport(params) {
+  return request({
+    url: "/k3/receipt/export",
+    method: "get",
+    params,
+  });
+}

+ 2 - 2
src/views/basic_data/dealer/dealer_stock.vue

@@ -194,7 +194,7 @@
         label-width="100px"
         label-position="right"
       >
-        <el-form-item label="经销商编码" prop="customerId">
+        <el-form-item label="经销商名称" prop="customerId">
           <el-select
             filterable
             class="selectStyle"
@@ -211,7 +211,7 @@
             </el-option>
           </el-select>
         </el-form-item>
-        <el-form-item label="经销商名称" prop="">
+        <el-form-item label="经销商编码" prop="">
           <el-input disabled v-model="addForm.customerNumber"></el-input>
           <!-- <template slot-scope="scope">
             {{ scope.row }}

+ 1 - 1
src/views/dashboard/index.vue

@@ -328,7 +328,7 @@ export default {
     //复核
     secondFn(id) {
       this.$router.push({
-        path: "/finance/rebate_list",
+        path: "/finance/rebate/rebate_list",
         query: {
           id,
         },

+ 51 - 17
src/views/engin_deposit/components/refund_list-detail.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <div class="sty">
-      <el-page-header @back="goBack" content="审批"> </el-page-header>
+      <el-page-header @back="goBack" :content="title"> </el-page-header>
     </div>
     <el-divider></el-divider>
 
@@ -48,7 +48,10 @@
         <el-col :xs="24" :sm="24" :lg="8" class="item">
           <div class="label">厂工程编码(G编码)</div>
           <div class="value">
-            <el-input v-model="detailList.refFactoryNo"></el-input>
+            <el-input
+              :disabled="title == '详情'"
+              v-model="detailList.refFactoryNo"
+            ></el-input>
           </div>
         </el-col>
         <!-- <el-col :xs="24" :sm="24" :lg="8" class="item">
@@ -75,6 +78,7 @@
           <div class="label">寄厂日期</div>
           <div class="value">
             <el-date-picker
+              :disabled="title == '详情'"
               class="selectStyle"
               v-model="detailList.sendFactoryDate"
               type="datetime"
@@ -93,6 +97,7 @@
           <div class="label">安装时间</div>
           <div class="value">
             <el-date-picker
+              :disabled="title == '详情'"
               class="selectStyle"
               v-model="detailList.installDate"
               type="datetime"
@@ -183,7 +188,10 @@
             show-overflow-tooltip
           >
             <template slot-scope="scope">
-              <el-input v-model="scope.row.dataQty"></el-input>
+              <el-input
+                :disabled="title == '详情'"
+                v-model="scope.row.dataQty"
+              ></el-input>
             </template>
           </el-table-column>
           <el-table-column
@@ -194,7 +202,10 @@
             show-overflow-tooltip
           >
             <template slot-scope="scope">
-              <el-input v-model="scope.row.diffAmount"></el-input>
+              <el-input
+                :disabled="title == '详情'"
+                v-model="scope.row.diffAmount"
+              ></el-input>
             </template>
           </el-table-column>
         </el-table>
@@ -238,12 +249,12 @@
             <template slot-scope="scope">
               <el-image
                 ref="img"
-                :src="imageURL + item.url"
-                :preview-src-list="previewImages"
+                :src="imageURL + scope.row.fileUrl"
                 v-if="checkFileType(scope.row.fileUrl) == 'image'"
                 style="width: 120px; height: 120px"
                 fit="cover"
-              ></el-image>
+              >
+              </el-image>
               <img
                 class="file"
                 src="@/assets/common/word.png"
@@ -308,8 +319,22 @@
         </el-col>
       </el-row>
     </div>
-    <h3>审批</h3>
-    <el-divider></el-divider>
+    <h3
+      v-if="
+        detailList.examineStatus == 'WAIT' ||
+        detailList.examineStatus == 'FAIL' ||
+        detailList.examineStatus == 'OK'
+      "
+    >
+      审批
+    </h3>
+    <el-divider
+      v-if="
+        detailList.examineStatus == 'WAIT' ||
+        detailList.examineStatus == 'FAIL' ||
+        detailList.examineStatus == 'OK'
+      "
+    ></el-divider>
     <div v-if="detailList.examineStatus == 'WAIT'" class="diy-table-1">
       <el-row :gutter="0">
         <el-col :xs="12" :sm="12" :lg="12" class="item">
@@ -347,6 +372,7 @@
         </el-col>
       </el-row>
     </div>
+
     <div
       v-if="
         detailList.examineStatus == 'OK' || detailList.examineStatus == 'FAIL'
@@ -362,6 +388,7 @@
           <div class="label">验收日期</div>
           <div class="value">
             <el-date-picker
+              disabled
               prefix-icon="''"
               class="selectStyle"
               v-model="detailList.checkDate"
@@ -377,8 +404,8 @@
           <div class="label">是否退押</div>
           <div class="value">
             <el-radio-group v-model="detailList.isRefundDeposit">
-              <el-radio :label="true">是</el-radio>
-              <el-radio :label="false">否</el-radio>
+              <el-radio disabled :label="true">是</el-radio>
+              <el-radio disabled :label="false">否</el-radio>
             </el-radio-group>
           </div>
         </el-col>
@@ -386,6 +413,7 @@
           <div class="label">验收说明</div>
           <div class="value">
             <el-input
+              disabled
               v-model="detailList.checkNote"
               placeholder="请输入内容"
             ></el-input>
@@ -396,12 +424,7 @@
     <br />
     <!-- 按钮 -->
     <!-- detailList.examineStatus != 'OK' || detailList.examineStatus != 'FAIL' -->
-    <div
-      class="btn-group clearfix"
-      v-if="
-        detailList.examineStatus == 'SAVE' || detailList.examineStatus == 'WAIT'
-      "
-    >
+    <div class="btn-group clearfix" v-if="detailList.examineStatus == 'WAIT'">
       <div class="fl">
         <el-button type="primary" size="small" @click="adoptFn"
           >审批通过</el-button
@@ -434,6 +457,7 @@ export default {
   },
   data() {
     return {
+      title: "审批",
       imageURL: this.$imageUrl,
       listLoading: false, // 列表加载loading
       dataList: [], // 列表数据
@@ -507,6 +531,13 @@ export default {
       const res = await getDepositManageDetail(data);
       console.log(res);
       this.detailList = res.data;
+      if (
+        res.data.examineStatus == "SAVE" ||
+        res.data.examineStatus == "OK" ||
+        res.data.examineStatus == "FAIL"
+      ) {
+        this.title = "详情";
+      }
     },
     goBack() {
       this.$parent.showSurrender = true;
@@ -522,4 +553,7 @@ export default {
 .label {
   width: 150px !important;
 }
+.selectStyle {
+  width: 100%;
+}
 </style>

+ 77 - 17
src/views/engin_deposit/refund_list.vue

@@ -1,12 +1,12 @@
 <template>
   <div class="app-container">
     <div v-if="showSurrender">
-      <el-radio-group v-model="examine" size="">
-        <el-radio-button label="全部"></el-radio-button>
-        <el-radio-button label="待审核"></el-radio-button>
-        <el-radio-button label="审核驳回"></el-radio-button>
-        <el-radio-button label="审核通过"></el-radio-button>
-        <el-radio-button label="已退押金"></el-radio-button>
+      <el-radio-group @change="changeRadioFn" v-model="examine" size="">
+        <el-radio-button label="">全部</el-radio-button>
+        <el-radio-button label="SAVE">保存</el-radio-button>
+        <el-radio-button label="WAIT">待审核</el-radio-button>
+        <el-radio-button label="FAIL">审核驳回</el-radio-button>
+        <el-radio-button label="OK">审核通过</el-radio-button>
       </el-radio-group>
       <br /><br />
       <!-- 筛选条件 -->
@@ -35,14 +35,14 @@
                 ></el-input>
               </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="customerKeyword">
                 <el-input
                   v-model="searchForm.customerKeyword"
                   placeholder="请输入"
                 ></el-input>
               </el-form-item>
-            </el-col>
+            </el-col> -->
             <el-col :xs="24" :sm="12" :lg="6">
               <el-form-item label="工程名称" prop="refProjectName">
                 <el-input
@@ -51,7 +51,7 @@
                 ></el-input>
               </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="startDeliverTime">
                 <el-date-picker
                   class="dateStyle"
@@ -76,7 +76,7 @@
                 >
                 </el-date-picker>
               </el-form-item>
-            </el-col>
+            </el-col> -->
             <!-- <el-col :xs="24" :sm="12" :lg="6">
               <el-form-item label="产品名称" prop="">
                 <el-input placeholder="请输入"></el-input>
@@ -88,7 +88,7 @@
               </el-form-item>
             </el-col> -->
 
-            <el-col :xs="24" :sm="24" :lg="24">
+            <el-col :xs="24" :sm="24" :lg="6">
               <el-form-item label="" class="fr">
                 <el-button size="small" @click="resetFn">清空</el-button>
                 <el-button size="small" type="primary" @click="searchFn"
@@ -208,6 +208,8 @@
         <!-- 分页 -->
         <div class="fr">
           <el-pagination
+            @size-change="handleSizeChange"
+            @current-change="handleCurrentChange"
             :current-page="currentPage"
             :page-sizes="[10, 20, 30, 50]"
             :page-size="10"
@@ -243,11 +245,11 @@ export default {
         refEnginRecordNo: "",
         customerKeyword: "",
         refProjectName: "",
-        startDeliverTime: "",
-        endDeliverTime: "",
+        // startDeliverTime: "",
+        // endDeliverTime: "",
       }, //搜索表单
       listLoading: false, // 列表加载loading
-      examine: "全部",
+      examine: "",
       showSurrender: true,
       detailId: "",
       selectData: [],
@@ -260,17 +262,75 @@ export default {
       confirmName: "",
       createName: "",
       customerKeyword: "",
-      endDeliverTime: "",
+      // endDeliverTime: "",
       enginOrderNo: "",
       enginOrderType: "",
       examineStatus: "",
       refEnginRecordNo: "",
       refProjectName: "",
       refUseUnit: "",
-      startDeliverTime: "",
+      // startDeliverTime: "",
     });
   },
   methods: {
+    // 更改每页数量
+    handleSizeChange(val) {
+      this.pageSize = val;
+      this.currentPage = 1;
+      this.getDataList({
+        pageSize: this.pageSize,
+        pageNum: this.currentPage,
+        confirmName: "",
+        createName: "",
+        customerKeyword: "",
+        // endDeliverTime: "",
+        enginOrderNo: "",
+        enginOrderType: "",
+        examineStatus: this.examine,
+        refEnginRecordNo: "",
+        refProjectName: "",
+        refUseUnit: "",
+        // startDeliverTime: "",
+      });
+    },
+    // 更改当前页
+    handleCurrentChange(val) {
+      this.currentPage = val;
+      this.getDataList({
+        pageSize: this.pageSize,
+        pageNum: this.currentPage,
+        confirmName: "",
+        createName: "",
+        customerKeyword: "",
+        // endDeliverTime: "",
+        enginOrderNo: "",
+        enginOrderType: "",
+        examineStatus: this.examine,
+        refEnginRecordNo: "",
+        refProjectName: "",
+        refUseUnit: "",
+        // startDeliverTime: "",
+      });
+    },
+    //切换radio
+    changeRadioFn(v) {
+      this.examine = v;
+      this.getDataList({
+        pageSize: this.pageSize,
+        pageNum: this.currentPage,
+        confirmName: "",
+        createName: "",
+        customerKeyword: "",
+        // endDeliverTime: "",
+        enginOrderNo: "",
+        enginOrderType: "",
+        examineStatus: this.examine,
+        refEnginRecordNo: "",
+        refProjectName: "",
+        refUseUnit: "",
+        // startDeliverTime: "",
+      });
+    },
     //导出
     exportFn() {
       if (this.selectData.length) {
@@ -300,7 +360,7 @@ export default {
         createName: "",
         enginOrderNo: "",
         enginOrderType: "",
-        examineStatus: "",
+        examineStatus: this.examine,
         refUseUnit: "",
         ...this.searchForm,
       });

+ 2 - 2
src/views/finance/balance_sum.vue

@@ -158,7 +158,7 @@ export default {
     //余额
     walletFn(v) {
       this.$router.push({
-        path: "/finance/wallet",
+        path: "/finance/details/wallet",
         query: {
           id: v,
         },
@@ -167,7 +167,7 @@ export default {
     //明细
     seeFN(customerName, customerNumber) {
       this.$router.push({
-        path: "/finance/standbook_list",
+        path: "/finance/details/standbook_list",
         query: {
           customerName,
           customerNumber,

+ 1 - 1
src/views/finance/change_apply.vue

@@ -334,7 +334,7 @@ export default {
         amount: amount * 1,
       });
 
-      this.$router.push("/finance/change_list");
+      this.$router.push("/finance/rebate/change_list");
       this.$message.success("申请成功");
     },
     async getUserInfoFn() {

+ 10 - 10
src/views/finance/components/receivable_list-approval.vue

@@ -21,7 +21,7 @@
               <el-input
                 disabled
                 v-model="searchForm.billType"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>
@@ -30,7 +30,7 @@
               <el-input
                 disabled
                 v-model="searchForm.code"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>
@@ -39,7 +39,7 @@
               <el-input
                 disabled
                 v-model="searchForm.source"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>
@@ -48,7 +48,7 @@
               <el-input
                 disabled
                 v-model="searchForm.theTime"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>
@@ -57,7 +57,7 @@
               <el-input
                 disabled
                 v-model="searchForm.endTime"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>
@@ -66,7 +66,7 @@
               <el-input
                 disabled
                 v-model="searchForm.totalAmount"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>
@@ -75,7 +75,7 @@
               <el-input
                 disabled
                 v-model="searchForm.createBy"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>
@@ -84,7 +84,7 @@
               <el-input
                 disabled
                 v-model="searchForm.createTime"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>
@@ -93,7 +93,7 @@
               <el-input
                 disabled
                 v-model="searchForm.examineStatus"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>
@@ -102,7 +102,7 @@
               <el-input
                 disabled
                 v-model="searchForm.remark"
-                placeholder="请输入"
+                placeholder=""
               ></el-input>
             </el-form-item>
           </el-col>

+ 37 - 30
src/views/finance/components/receivable_list-detail.vue

@@ -192,36 +192,38 @@
         </el-table>
       </div>
     </div>
-
-    <span>审批记录</span>
-    <el-divider></el-divider>
-    <div class="diy-table-1">
-      <el-row :gutter="0">
-        <el-col :span="8" class="item">
-          <div class="label">审批人</div>
-          <div class="value">{{ this.examineBy }}</div>
-        </el-col>
-        <el-col :span="8" class="item">
-          <div class="label">审批结果</div>
-          <div class="value">
-            <el-radio-group v-model="examineStatus">
-              <el-radio disabled label="OK">通过</el-radio>
-              <el-radio disabled label="FAIL">驳回</el-radio>
-            </el-radio-group>
-          </div>
-        </el-col>
-        <el-col :span="8" class="item">
-          <div class="label">审批时间</div>
-          <div class="value">{{ this.examineTime }}</div>
-        </el-col>
-        <el-col :span="24" class="item">
-          <div class="label">审批说明</div>
-          <div class="value">
-            {{ this.examineRemark }}
-          </div>
-        </el-col>
-      </el-row>
+    <div v-if="searchForm.examineStatus != '待审核'">
+      <span>审批记录</span>
+      <el-divider></el-divider>
+      <div class="diy-table-1">
+        <el-row :gutter="0">
+          <el-col :span="8" class="item">
+            <div class="label">审批人</div>
+            <div class="value">{{ this.examineBy }}</div>
+          </el-col>
+          <el-col :span="8" class="item">
+            <div class="label">审批结果</div>
+            <div class="value">
+              <el-radio-group v-model="examineStatus">
+                <el-radio disabled label="OK">通过</el-radio>
+                <el-radio disabled label="FAIL">驳回</el-radio>
+              </el-radio-group>
+            </div>
+          </el-col>
+          <el-col :span="8" class="item">
+            <div class="label">审批时间</div>
+            <div class="value">{{ this.examineTime }}</div>
+          </el-col>
+          <el-col :span="24" class="item">
+            <div class="label">审批说明</div>
+            <div class="value">
+              {{ this.examineRemark }}
+            </div>
+          </el-col>
+        </el-row>
+      </div>
     </div>
+
     <br />
   </div>
 </template>
@@ -273,7 +275,12 @@ export default {
         theTime: res.data.theTime,
         endTime: res.data.endTime,
         totalAmount: res.data.totalAmount,
-        examineStatus: res.data.examineStatus == "OK" ? "已通过" : "驳回",
+        examineStatus:
+          res.data.examineStatus == "OK"
+            ? "已通过"
+            : res.data.examineStatus == "FAIL"
+            ? "不通过"
+            : "待审核",
         remark: res.data.remark,
       };
       this.dataList = res.data.items;

+ 1 - 1
src/views/finance/rebate_form.vue

@@ -436,7 +436,7 @@ export default {
       console.log(this.dataList);
       await getRebateOrderAdd({ ...this.searchForm, items: this.dataList });
       this.$message.success("保存成功");
-      this.$router.push("/finance/rebate_list");
+      this.$router.push("/finance/rebate/rebate_list");
     },
     //选择经销商名称事件
     async changeCustomerFn(v, index, value) {

+ 44 - 3
src/views/finance/receipt_list.vue

@@ -97,7 +97,11 @@
       <!-- 按钮 -->
       <div class="btn-group clearfix">
         <div class="fr">
-          <el-button type="primary" size="small">导出</el-button>
+          <ExportButton
+            :exUrl="'/k3/receipt/export'"
+            :exParams="exParams"
+            class="exportClass"
+          />
         </div>
       </div>
       <!-- 列表 -->
@@ -118,7 +122,17 @@
               prop="billType"
               min-width="160"
               show-overflow-tooltip
-            ></el-table-column>
+            >
+              <template slot-scope="scope">
+                {{
+                  scope.row.billType == 1
+                    ? "收款单"
+                    : scope.row.billType == 2
+                    ? "退款单"
+                    : ""
+                }}
+              </template>
+            </el-table-column>
             <el-table-column
               align="center"
               label="单据编码"
@@ -249,6 +263,16 @@
                 <el-button
                   type="text"
                   class="textColor"
+                  v-if="
+                    $checkBtnRole('examine', $route.meta.roles) &&
+                    scope.row.status == 'C'
+                  "
+                  @click="NoExamineFn(scope.row.id)"
+                  >弃审</el-button
+                >
+                <el-button
+                  type="text"
+                  class="textColor"
                   @click="seeFn(scope.row.id)"
                   >查看</el-button
                 >
@@ -276,7 +300,11 @@
 </template>
 
 <script>
-import { getK3ReceiptList } from "@/api/finance/receipt_list";
+import {
+  getK3ReceiptList,
+  getK3ReceiptAbandon,
+  getK3ReceiptExport,
+} from "@/api/finance/receipt_list";
 import ReceiptListDetail from "./components/receipt_list-detail";
 export default {
   components: {
@@ -302,10 +330,23 @@ export default {
       detailId: null,
     };
   },
+  computed: {
+    exParams() {
+      return {
+        ...this.searchForm,
+      };
+    },
+  },
   created() {
     this.getDataList({ pageSize: this.pageSize, pageNum: this.currentPage });
   },
   methods: {
+    //弃审
+    async NoExamineFn(id) {
+      await getK3ReceiptAbandon({ id });
+      this.$message.success("弃审成功");
+      this.getDataList({ pageSize: this.pageSize, pageNum: this.currentPage });
+    },
     // 更改每页数量
     handleSizeChange(val) {
       this.pageSize = val;

+ 1 - 1
src/views/finance/wallet.vue

@@ -309,7 +309,7 @@ export default {
     },
     //返回
     goBack() {
-      this.$router.push("/finance/balance_sum");
+      this.$router.push("/finance/details/balance_sum");
     },
     //取消
     async cancelFn() {

+ 1 - 0
src/views/supply/apply/apply_list.vue

@@ -81,6 +81,7 @@
             <el-table-column align="center" label="发货申请单" prop="id" min-width="180" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="发货申请日期" prop="createTime" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="仓库" prop="correspondName" min-width="120" show-overflow-tooltip></el-table-column>
+            <el-table-column align="center" label="订单号" prop="mainOrderId" min-width="200" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="经销商编码" prop="customerNumber" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="经销商名称" prop="customerName" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>

+ 1 - 1
src/views/supply/apply/components/apply_form.vue

@@ -247,7 +247,7 @@ export default {
     if(this.listItem) {
       this.getDetail();
     }else {
-      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerId;
+      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerNumber;
       this.mainForm.jxsName = JSON.parse(localStorage.getItem("supply_user")).customerName;
       this.mainForm.createMan = JSON.parse(localStorage.getItem("supply_user")).nickName;
     }

+ 1 - 1
src/views/supply/apply/components/engin_form.vue

@@ -370,7 +370,7 @@ export default {
     if(this.listItem) {
       this.getDetail();
     }else {
-      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerId;
+      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerNumber;
       this.mainForm.jxsName = JSON.parse(localStorage.getItem("supply_user")).customerName;
       this.mainForm.createMan = JSON.parse(localStorage.getItem("supply_user")).nickName;
       this.mainForm.createDate = this.getDate();

+ 2 - 1
src/views/supply/apply/engin_list.vue

@@ -81,7 +81,8 @@
             <el-table-column align="center" label="发货申请单" prop="id" min-width="180" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="发货申请日期" prop="createTime" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="仓库" prop="correspondName" min-width="120" show-overflow-tooltip></el-table-column>
-            <el-table-column align="center" label="工程登录编码" prop="enginOrderNo" min-width="160" show-overflow-tooltip></el-table-column>
+            <el-table-column align="center" label="订单号" prop="enginOrderNo" min-width="200" show-overflow-tooltip></el-table-column>
+            <el-table-column align="center" label="工程登录编码" prop="refEnginRecordNo" min-width="200" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="工程名称" prop="refProjectName" min-width="120" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="使用单位" prop="refUseUnit" min-width="120" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="经销商编码" prop="customerNumber" min-width="160" show-overflow-tooltip></el-table-column>

+ 2 - 1
src/views/supply/deliver/commerce_list.vue

@@ -92,7 +92,8 @@
             <el-table-column align="center" label="发货单号" prop="id" min-width="180" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="发货日期" prop="orderTime" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="仓库" prop="correspondName" min-width="160" show-overflow-tooltip></el-table-column>
-            <el-table-column align="center" label="工程登录编码" prop="enginOrderNo" min-width="200" show-overflow-tooltip></el-table-column>
+            <el-table-column align="center" label="订单号" prop="enginOrderNo" min-width="200" show-overflow-tooltip></el-table-column>
+            <el-table-column align="center" label="工程登录编码" prop="refEnginRecordNo" min-width="200" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="工程名称" prop="refProjectName" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="使用单位" prop="refUseUnit" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="经销商编码" prop="customerNumber" min-width="100" show-overflow-tooltip></el-table-column>

+ 1 - 0
src/views/supply/deliver/deliver_list.vue

@@ -70,6 +70,7 @@
             <el-table-column align="center" label="发货单号" prop="id" min-width="180" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="发货日期" prop="orderTime" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="仓库" prop="correspondName" min-width="160" show-overflow-tooltip></el-table-column>
+            <el-table-column align="center" label="订单号" prop="mainOrderId" min-width="200" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="经销商" prop="customerName" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip></el-table-column>

+ 1 - 0
src/views/supply/deliver/home_list.vue

@@ -87,6 +87,7 @@
             <el-table-column align="center" label="发货单号" prop="id" min-width="180" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="发货日期" prop="orderTime" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="仓库" prop="correspondName" min-width="160" show-overflow-tooltip></el-table-column>
+            <el-table-column align="center" label="订单号" prop="enginOrderNo" min-width="200" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="经销商编码" prop="customerNumber" min-width="100" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="经销商名称" prop="customerName" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>

+ 1 - 1
src/views/supply/displace/components/displace_detail.vue

@@ -50,7 +50,7 @@
           </el-col>
           <el-col :span="8" class="item">
             <div class="label">经销商编号</div>
-            <div class="value">{{detailData.customerId}}</div>
+            <div class="value">{{detailData.customerNumber}}</div>
           </el-col>
           <el-col :span="8" class="item">
             <div class="label">经销商名称</div>

+ 1 - 1
src/views/supply/displace/components/displace_examine.vue

@@ -50,7 +50,7 @@
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商编号</div>
-          <div class="value">{{detailData.customerId}}</div>
+          <div class="value">{{detailData.customerNumber}}</div>
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商名称</div>

+ 1 - 1
src/views/supply/displace/components/displace_form.vue

@@ -463,7 +463,7 @@ export default {
       this.editId = this.listItem.displaceOrderId;
       this.getDetail();
     } else {
-      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerId;
+      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerNumber;
       this.mainForm.jxsName = JSON.parse(localStorage.getItem("supply_user")).customerName;
       this.mainForm.createMan = JSON.parse(localStorage.getItem("supply_user")).nickName;
       this.mainForm.createDate = this.getDate();

+ 1 - 1
src/views/supply/displace/components/displace_return.vue

@@ -50,7 +50,7 @@
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商编号</div>
-          <div class="value">{{detailData.customerId}}</div>
+          <div class="value">{{detailData.customerNumber}}</div>
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商名称</div>

+ 1 - 1
src/views/supply/engin/components/commerce_detail.vue

@@ -23,7 +23,7 @@
           </el-col>
           <el-col :span="8" class="item">
             <div class="label">经销商编码</div>
-            <div class="value">{{detailData.customerId}}</div>
+            <div class="value">{{detailData.customerNumber}}</div>
           </el-col>
           <el-col :span="16" class="item">
             <div class="label">经销商名称</div>

+ 1 - 1
src/views/supply/engin/components/commerce_examine.vue

@@ -22,7 +22,7 @@
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商编码</div>
-          <div class="value">{{detailData.customerId}}</div>
+          <div class="value">{{detailData.customerNumber}}</div>
         </el-col>
         <el-col :span="16" class="item">
           <div class="label">经销商名称</div>

+ 2 - 2
src/views/supply/engin/components/commerce_form.vue

@@ -409,7 +409,7 @@ export default {
       this.editId = this.listItem.parentId;
       this.getDetail();
     }else {
-      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerId;
+      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerNumber;
       this.mainForm.jxsName = JSON.parse(localStorage.getItem("supply_user")).customerName;
       this.mainForm.createMan = JSON.parse(localStorage.getItem("supply_user")).nickName;
       this.mainForm.createDate = this.getDate();
@@ -465,7 +465,7 @@ export default {
         this.mainForm.orderNum = data.enginOrderId;
         this.mainForm.orderDate = data.orderDate;
         // this.mainForm.type = data.mainId;
-        this.mainForm.jxsNum = data.customerId;
+        this.mainForm.jxsNum = data.customerNumber;
         this.mainForm.jxsName = data.customerName;
         this.mainForm.enginNum = data.refEnginRecordNo;
         this.mainForm.enginName = data.refProjectName;

+ 1 - 1
src/views/supply/engin/components/commerce_return.vue

@@ -22,7 +22,7 @@
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商编码</div>
-          <div class="value">{{detailData.customerId}}</div>
+          <div class="value">{{detailData.customerNumber}}</div>
         </el-col>
         <el-col :span="16" class="item">
           <div class="label">经销商名称</div>

+ 1 - 1
src/views/supply/engin/components/engin_detail.vue

@@ -18,7 +18,7 @@
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商编码</div>
-          <div class="value">{{detailData.customerId}}</div>
+          <div class="value">{{detailData.customerNumber}}</div>
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">项目名称</div>

+ 1 - 1
src/views/supply/engin/components/engin_examine.vue

@@ -22,7 +22,7 @@
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商编码</div>
-          <div class="value">{{detailData.customerId}}</div>
+          <div class="value">{{detailData.customerNumber}}</div>
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">项目名称</div>

+ 2 - 2
src/views/supply/engin/components/engin_form.vue

@@ -262,7 +262,7 @@ export default {
     if(this.listItem) {
       this.getDetail();
     }else {
-      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerId;
+      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerNumber;
       this.mainForm.jxsName = JSON.parse(localStorage.getItem("supply_user")).customerName;
       this.mainForm.createMan = JSON.parse(localStorage.getItem("supply_user")).nickName;
       this.mainForm.createDate = this.getDate(0);
@@ -299,7 +299,7 @@ export default {
         this.mainForm.orderNum = data.enginInfoNo;
         this.mainForm.orderDate = data.orderDate;
         // this.mainForm.mainId = data.productCategoryId;
-        this.mainForm.jxsNum = data.customerId;
+        this.mainForm.jxsNum = data.customerNumber;
         this.mainForm.enginName = data.projectName;
         this.mainForm.orderType = data.orderType;
         this.mainForm.jxsName = data.customerName;

+ 1 - 1
src/views/supply/engin/components/home_detail.vue

@@ -23,7 +23,7 @@
           </el-col>
           <el-col :span="8" class="item">
             <div class="label">经销商编码</div>
-            <div class="value">{{detailData.customerId}}</div>
+            <div class="value">{{detailData.customerNumber}}</div>
           </el-col>
           <el-col :span="16" class="item">
             <div class="label">经销商名称</div>

+ 1 - 1
src/views/supply/engin/components/home_examine.vue

@@ -22,7 +22,7 @@
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商编码</div>
-          <div class="value">{{detailData.customerId}}</div>
+          <div class="value">{{detailData.customerNumber}}</div>
         </el-col>
         <el-col :span="16" class="item">
           <div class="label">经销商名称</div>

+ 2 - 2
src/views/supply/engin/components/home_form.vue

@@ -423,7 +423,7 @@ export default {
       this.editId = this.listItem.parentId;
       this.getDetail();
     }else {
-      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerId;
+      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerNumber;
       this.mainForm.jxsName = JSON.parse(localStorage.getItem("supply_user")).customerName;
       this.mainForm.createMan = JSON.parse(localStorage.getItem("supply_user")).nickName;
       this.mainForm.createDate = this.getDate();
@@ -489,7 +489,7 @@ export default {
         this.mainForm.orderNum = data.enginOrderId;
         this.mainForm.orderDate = data.orderDate;
         this.mainForm.type = data.mainId;
-        this.mainForm.jxsNum = data.customerId;
+        this.mainForm.jxsNum = data.customerNumber;
         this.mainForm.jxsName = data.customerName;
         this.mainForm.loginNum = data.refEnginRecordNo;
         this.mainForm.enginName = data.refProjectName;

+ 1 - 1
src/views/supply/engin/components/home_return.vue

@@ -22,7 +22,7 @@
         </el-col>
         <el-col :span="8" class="item">
           <div class="label">经销商编码</div>
-          <div class="value">{{detailData.customerId}}</div>
+          <div class="value">{{detailData.customerNumber}}</div>
         </el-col>
         <el-col :span="16" class="item">
           <div class="label">经销商名称</div>

+ 2 - 2
src/views/supply/retail/components/retail_form.vue

@@ -351,7 +351,7 @@ export default {
     if(this.listItem) {
       this.getDetail();
     }else {
-      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerId;
+      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerNumber;
       this.mainForm.jxsName = JSON.parse(localStorage.getItem("supply_user")).customerName;
     }
   },
@@ -369,7 +369,7 @@ export default {
         this.mainForm.orderNum = data.id;
         this.mainForm.date = data.theTime.slice(0, 10);
         // this.mainForm.type = data.mainId;
-        this.mainForm.jxsNum = data.customerId;
+        this.mainForm.jxsNum = data.customerNumber;
         this.mainForm.jxsName = data.customerName;
         this.mainForm.remark = data.remark;
         data.retailOrderItemList.forEach(item => {

+ 1 - 1
src/views/supply/return/components/return_form.vue

@@ -242,7 +242,7 @@ export default {
     if(this.listItem) {
       this.getDetail();
     }else {
-      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerId;
+      this.mainForm.jxsNum = JSON.parse(localStorage.getItem("supply_user")).customerNumber;
       this.mainForm.jxsName = JSON.parse(localStorage.getItem("supply_user")).customerName;
       this.mainForm.createMan = JSON.parse(localStorage.getItem("supply_user")).nickName;
     }

+ 1 - 0
src/views/supply/return/return_list.vue

@@ -68,6 +68,7 @@
             <el-table-column align="center" label="退换单号" prop="id" min-width="180" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="退货日期" prop="retreatTime" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="仓库" prop="correspondName" min-width="160" show-overflow-tooltip></el-table-column>
+            <el-table-column align="center" label="订单号" prop="mainOrderId" min-width="200" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="经销商" prop="customerName" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="center" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip></el-table-column>