From f6811caf6c66d4e2a55393f3b6dc169efd28d863 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 25 四月 2024 14:45:02 +0800
Subject: [PATCH] 修改工艺文件
---
src/views/plan/customerorder/sample-customerorder-form.vue | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/views/plan/customerorder/sample-customerorder-form.vue b/src/views/plan/customerorder/sample-customerorder-form.vue
index 262d1fc..765dc1a 100644
--- a/src/views/plan/customerorder/sample-customerorder-form.vue
+++ b/src/views/plan/customerorder/sample-customerorder-form.vue
@@ -34,7 +34,7 @@
<el-input
v-model="dataForm.contractNo"
placeholder=""
- disabled
+
></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
}
},
// 鍏ㄥ睆
--
Gitblit v1.9.3