yangfeng
2023-10-25 1df9d898ab3c517cf3048628d3c12b7bf7c96af2
src/views/sales/salesDetails/AddSalesDetailsDialog.vue
@@ -117,7 +117,7 @@
                  </div>
                </el-form-item>
              </el-col>
              <el-col :span="12">
              <!-- <el-col :span="12">
                <el-form-item label="销售子单" prop="subbill_name">
                  <div class="custom-name">
                    <el-autocomplete
@@ -148,7 +148,7 @@
                    </div>
                  </div>
                </el-form-item>
              </el-col>
              </el-col> -->
              <el-col :span="12">
                <el-form-item label="销售报价单" prop="quotation_number">
                  <div class="custom-name">
@@ -596,8 +596,8 @@
    saveClick(formName) {
      this.$refs[formName].validate((valid) => {
        if (valid) {
          for (let i = 0; i < this.tableData.length; i++) {
            if (this.tableData[i].name.length === 0) {
          for (let i = 0; i < this.selProductData.length; i++) {
            if (this.selProductData[i].name.length === 0) {
              this.isNoProduct = true
              break
            } else {
@@ -834,6 +834,8 @@
        this.editConfig.infomation.sale_chance_name = ""
        this.editConfig.infomation.client_name = ""
        this.editConfig.infomation.subbill_name = ""
        this.editConfig.infomation.quotation_number = ""
        this.quotationId = 0
        this.clientId = 0
        this.saleChanceId = 0
        this.subbillId = 0
@@ -846,7 +848,11 @@
      } else if (value === "subbill") {
        this.editConfig.infomation.subbill_name = ""
        this.subbillId = 0
      } else if (value === "quotation") {
        this.editConfig.infomation.quotation_number = ""
        this.quotationId = 0
      }
      this.productTableList.tableData = []
    },
    // 添加附件
    addAnnexClick() {},