lilei 2 روز پیش
والد
کامیت
e8dad59068

+ 3 - 3
src/api/bizRemove.js

@@ -3,11 +3,11 @@ import { axios } from '@/utils/request'
 // 根据销售退货单号查询客户
 export const salesReturnDetailByNo = (params) => {
   return axios({
-    url: `/bizRemoveConfig/findBizInfo/${params.bizNo}`,
+    url: `/bizRemoveConfig/findBizInfo`,
     data: params,
-    method: 'get',
+    method: 'post',
     headers: {
-      'module': encodeURIComponent('根据销售退货单号查询客户信息')
+      'module': encodeURIComponent('剔除配置根据业务单号查询客户信息')
     }
   })
 }

+ 1 - 1
src/views/setting/dailyReportSettings/baseModal.vue

@@ -143,7 +143,7 @@ export default {
       this.dealerData = null
       this.fetching = true
       this.spinning = true
-      salesReturnDetailByNo({ bizNo: this.form.bizNo }).then(res => {
+      salesReturnDetailByNo({ bizNo: this.form.bizNo, configType: 'DAILY_REPORT' }).then(res => {
         if (fetchId !== this.lastFetchId) {
           return
         }

+ 2 - 2
src/views/setting/dailyReportSettings/salesReturnRemove.vue

@@ -26,7 +26,7 @@
                   v-model="queryParam.bizType"
                   ref="bizType"
                   id="salesReturnRemove-bizType"
-                  code="PRINT_STATUS"
+                  code="REMOVE_BIZ_TYPE"
                   placeholder="请选择业务类型"
                   allowClear></v-select>
               </a-form-item>
@@ -172,7 +172,7 @@ export default {
         { title: '编号', dataIndex: 'no', width: '4%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '业务类型', dataIndex: 'bizTypeDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '业务单号', dataIndex: 'bizNo', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '业务状态', dataIndex: 'billStatusDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '业务状态', dataIndex: 'billStatusName', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '退货日期', dataIndex: 'bizDate', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '客户名称', dataIndex: 'dealerName', width: '10%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '全国销售日报', dataIndex: 'countrySalesDay', width: '10%', align: 'center', customRender: function (text) { return a[text] } },

+ 1 - 1
src/views/setting/salesReturnRemove/baseModal.vue

@@ -119,7 +119,7 @@ export default {
       this.dealerData = null
       this.spinning = true
       this.fetching = true
-      salesReturnDetailByNo({ bizNo: this.form.bizNo }).then(res => {
+      salesReturnDetailByNo({ bizNo: this.form.bizNo, configType: 'BILLING_REPORT' }).then(res => {
         if (fetchId !== this.lastFetchId) {
           return
         }

+ 2 - 2
src/views/setting/salesReturnRemove/list.vue

@@ -26,7 +26,7 @@
                   v-model="queryParam.bizType"
                   ref="bizType"
                   id="salesReturnRemove-bizType"
-                  code="PRINT_STATUS"
+                  code="REMOVE_BIZ_TYPE"
                   placeholder="请选择业务类型"
                   allowClear></v-select>
               </a-form-item>
@@ -175,7 +175,7 @@ export default {
         { title: '编号', dataIndex: 'no', width: '4%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '业务类型', dataIndex: 'bizTypeDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '业务单号', dataIndex: 'bizNo', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '业务状态', dataIndex: 'billStatusDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '业务状态', dataIndex: 'billStatusName', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '退货日期', dataIndex: 'bizDate', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '客户名称', dataIndex: 'dealerName', width: '16%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '开单统计(客户)', dataIndex: 'salesStatsDealer', width: '10%', align: 'center', customRender: function (text) { return a[text] } },