Quellcode durchsuchen

Merge branch 'master' of http://47.100.37.243:10191/wutt/manHourHousekeeper

Min vor 1 Jahr
Ursprung
Commit
6e1447a9c6

+ 12 - 4
fhKeeper/formulahousekeeper/timesheet-workshop/src/views/product/list.vue

@@ -235,7 +235,7 @@
                             <el-input v-model="scope.row.workingTime"   clearable maxlength="11" placeholder="请输入"></el-input>
                         </template>
                     </el-table-column>
-                    <el-table-column prop="unitPrice" label="单件工价(元)"  width="140">
+                    <el-table-column prop="unitPrice" label="单件工价(元)" width="140">
                         <template slot-scope="scope">
                             <el-input v-model="scope.row.unitPrice"   clearable maxlength="9"  placeholder="请输入"></el-input>
                         </template>
@@ -1213,10 +1213,18 @@ export default {
                         });
 
                         return 
-                    } 
+                    }
+                    console.log("工价:"+this.procedureLit[i].unitPrice)
+                   if(this.procedureLit[i].unitPrice> 9999999.999){
+                     this.$message({
+                       message: this.procedureLit[i].name+":单件工价超出范围",
+                       type: "error"
+                     });
 
-                  
-                }
+                     return
+                   }
+
+                 }
 
             }