zuozhengqing
2023-10-17 c0065555e34720c9f42e5cbd309cede37746beed
销售明细单bug修改
3个文件已修改
18 ■■■■ 已修改文件
src/views/client/contacts/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesReturn/AddSalesReturnDialog.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesReturn/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/contacts/index.vue
@@ -148,7 +148,7 @@
      this.search_map = {}
    } else {
      this.search_map = {
        [this.addConfig.id_name]: this.addConfig.client_name
        [this.addConfig.id_name]: this.addConfig.client_id
      }
    }
    this.getData(this.search_map)
src/views/sales/salesReturn/AddSalesReturnDialog.vue
@@ -480,7 +480,7 @@
      } else if (value === "contract") {
        this.editSelCommonConfig.title = "销售明细单"
        this.editSelCommonConfig.editVisible = true
        this.editSelCommonConfig.client_name = this.editConfig.infomation.client_name
        // this.editSelCommonConfig.salesDetailNumber = this.editConfig.infomation.salesDetailNumber
      }
    },
    async selClient(row, value) {
@@ -504,14 +504,14 @@
    // 清除已选择用户
    clearupClient(value) {
      if (value === "client") {
        this.editConfig.infomation = {}
        // this.editConfig.infomation.client_name = ""
        // this.clientId = 0
        // this.editConfig.infomation = {}
        this.editConfig.infomation.client_name = ""
        this.clientId = 0
      } else if (value === "contract") {
        this.editConfig.infomation.salesDetailNumber = ""
        this.productTableList.tableData = []
        this.tableData = []
        this.SalesDetailsId = 0
        // this.productTableList.tableData = []
        // this.tableData = []
        // this.SalesDetailsId = 0
      }
    },
    // 添加附件
src/views/sales/salesReturn/index.vue
@@ -243,7 +243,7 @@
    addBtnClick() {
      this.editConfig.visible = true
      this.editConfig.title = "新建"
      this.editConfig.infomation = { currency: "人民币", salesDetailNumber: "" }
      this.editConfig.infomation = { currency: "人民币",salesDetailNumber:"",client_name:""}
    },
    // 编辑
    handleClick(row) {