zss
2024-04-25 4872a9409f4428d55c896a4f53d42500f6c805a2
src/views/plan/customerorder/sample-customerorder-form.vue
@@ -34,7 +34,7 @@
              <el-input
                v-model="dataForm.contractNo"
                placeholder=""
              ></el-input>
            </el-form-item>
          </el-col>
@@ -60,9 +60,11 @@
        <el-row>
          <el-col :span="6">
            <el-form-item label="业务员" prop="salesMan">
              <el-select @change="selsctionSales" clearable filterable v-model="salesSelectData" style="width:100%">
                <!-- salesMan -->
                <el-input v-model="dataForm.salesMan" placeholder=""></el-input>
              <!-- <el-select @change="selsctionSales" clearable filterable v-model="salesSelectData" style="width:100%">
                <el-option v-for="(item,index) in staffOptions" :key="index" :value="item.staffNo+','+item.staffName" :label="item.staffName"/>
              </el-select>
              </el-select> -->
            </el-form-item>
          </el-col>
          <el-col :span="6">
@@ -407,6 +409,10 @@
      let isError = false
      _than.buttonDisable = true
      _than.tableData.forEach(ele=>{
        if(ele.productType==null || ele.productType=='' || ele.productType==undefined){
          _than.$message.error("产品的隶属品牌不能为空!")
          isError = true
        }
        if(ele.buyQtyDue==null || ele.buyQtyDue=='' || ele.buyQtyDue==undefined){
          _than.$message.error("零件数量不能为空!")
          isError = true
@@ -454,8 +460,8 @@
      const index = this.currentSelectRow
      if (part) {
        this.tableData[index].partNo = part.partNo
        this.tableData[index].customerPartSpec = part.specs
        this.tableData[index].productName = part.partName
        // this.tableData[index].customerPartSpec = part.specs
        // this.tableData[index].productName = part.partName
      }
    },
    // 全屏