songshankun
2023-10-16 c8018f2e55a147bef3b9118c0cec66227295772f
fix: 修复添加销售子单时 更换客户名称,销售总单并未更换的问题
1个文件已修改
7 ■■■■ 已修改文件
src/views/sales/subOrder/AddSubOrderDialog.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/subOrder/AddSubOrderDialog.vue
@@ -423,9 +423,13 @@
        this.clientId = item.id
        this.isAddMaster = false
        this.getMasterList(item.id)
        this.editConfig.infomation.master_order_number = ""
        this.masterId = 0
      } else if (value === "master") {
        this.editConfig.infomation.master_order_number = item.number
        this.masterId = item.id
      }
      this.refresh()
    },
    selClientClick(value) {
      if (value == "client") {
@@ -438,13 +442,14 @@
      }
    },
    selClient(row, value) {
      console.log(row)
      if (value == "client") {
        this.editConfig.infomation.client_name = row.name
        this.editConfig.infomation.client_id = row.id
        this.clientId = row.id
        this.isAddMaster = false
        this.getMasterList(row.id)
        this.editConfig.infomation.master_order_number = ""
        this.masterId = 0
      } else if (value == "master") {
        this.editConfig.infomation.master_order_number = row.number
        this.masterId = row.id