zuozhengqing
2023-10-16 8e5ec095fc4ba9cac7c91b681b06846d3e4155ae
src/views/sales/contractManage/AddContractManageDialog.vue
@@ -269,7 +269,8 @@
      rules: {
        number: [{ required: true, validator: this.checkCode, trigger: "blur" }],
        client_name: [{ required: true, message: "请选择客户名称", trigger: "change" }],
        member_id: [{ required: true, message: "请选择", trigger: "change" }]
        member_id: [{ required: true, message: "请选择", trigger: "change" }],
        contractName: [{ required: true, message: "请输入合同名称", trigger: "blur" }]
      },
      memberOptions: [],
      statusOptions: [], // 合同状态
@@ -295,6 +296,9 @@
  created() {
    this.$store.dispatch("geClient")
    // this.$store.dispatch("geQuotation")
    if (this.editConfig.title !== "新建") {
      this.isAddQuatation = false
    }
    this.getCommonData()
    this.formInfo()
  },
@@ -433,6 +437,7 @@
      } else if (value === "quotation") {
        this.editSelCommonConfig.title = "报价单"
        this.editSelCommonConfig.editVisible = true
        this.editSelCommonConfig.clientId = this.clientId
        this.editSelCommonConfig.tableInfomation = [...this.quotationList]
      }
    },