zuozhengqing
2023-10-16 056c68b2080c28fa23eb08324ae4594a0ecd6b52
销售明细,退货单、退款单根据客户进行筛选
4个文件已修改
24 ■■■■■ 已修改文件
src/views/other/commonDialog/SelectCommonDialog.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/refundForm/AddRefundFormDialog.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesDetails/AddSalesDetailsDialog.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesReturn/AddSalesReturnDialog.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/other/commonDialog/SelectCommonDialog.vue
@@ -68,7 +68,7 @@
          editVisible: false,
          title: "",
          clientId: 0,
          tableInfomation: []
          tableInfomation: [],
        }
      }
    }
@@ -349,8 +349,9 @@
    // 销售明细单
    async getSalesDetailsList() {
      await getSalesDetailsList({
        keyword: this.keyword,
        keywordType: this.keywordType,
        // keyword: this.keyword,
        // keywordType: this.keywordType,
        clientId:this.editCommonConfig.clientId,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      }).then((res) => {
@@ -430,8 +431,9 @@
    },
    async getSalesReturnList() {
      await getSalesReturnList({
        keyword: this.keyword,
        keywordType: this.keywordType,
        // keyword: this.keyword,
        // keywordType: this.keywordType,
        clientId:this.editCommonConfig.clientId,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      }).then((res) => {
src/views/sales/refundForm/AddRefundFormDialog.vue
@@ -374,7 +374,8 @@
      editSelCommonConfig: {
        editVisible: false,
        title: "",
        infomation: {}
        infomation: {},
        clientId:""
      },
      clientId: this.editCommonConfig.infomation.client_id,
      sourceId: this.editCommonConfig.infomation.sourceId,
@@ -515,6 +516,7 @@
    async handleSelectClient(value, item) {
      if (value === "client") {
        this.clientId = item.id
        this.editSelCommonConfig.clientId=item.id
        console.log("客户名称",this.clientId,value,item)
        await getSalesReturnList({
          clientId:this.clientId
src/views/sales/salesDetails/AddSalesDetailsDialog.vue
@@ -488,7 +488,8 @@
      editSelectChanceConfig: {
        editVisible: false,
        title: "",
        infomation: {}
        infomation: {},
        search_map:{},
      },
      editSelCommonConfig: {
        editVisible: false,
@@ -672,6 +673,7 @@
      if (value === "client") {
        this.clientId = item.id
        this.editConfig.infomation.client_name = item.name
        this.editSelectChanceConfig.search_map.client_id=item.id
        // 需要修改
        await getSaleChanceList({
          page: 1,
src/views/sales/salesReturn/AddSalesReturnDialog.vue
@@ -308,7 +308,8 @@
      editSelCommonConfig: {
        editVisible: false,
        title: "",
        infomation: {}
        infomation: {},
        clientId:""
      },
      productId: 1,
      isNoProduct: true,
@@ -459,6 +460,7 @@
    async handleSelectClient(value, item) {
      if (value === "client") {
        this.clientId = item.id
        this.editSelCommonConfig.clientId=item.id
        await getSalesDetailsList({
          clientId: this.clientId
        }).then((res) => {