|  | @@ -250,7 +250,7 @@
 | 
	
		
			
				|  |  |              <el-table-column label="重量(KG)" prop="fweight" width="120px" align="center">
 | 
	
		
			
				|  |  |                <template slot-scope="scope">
 | 
	
		
			
				|  |  |                  <span v-if="scope.row.NoEdit">{{ scope.row.fweight }}</span>
 | 
	
		
			
				|  |  | -                <el-input v-if="scope.row.Edit" v-model="scope.row.fweight" placeholder="重量" step="0.001" type="number" style="width:95%;padding:10px 0;" />
 | 
	
		
			
				|  |  | +                <el-input v-if="scope.row.Edit" v-model="scope.row.fweight" placeholder="重量" step="0.0001" type="number" style="width:95%;padding:10px 0;" />
 | 
	
		
			
				|  |  |                </template>
 | 
	
		
			
				|  |  |              </el-table-column>
 | 
	
		
			
				|  |  |              <el-table-column label="搅拌延时(min)" min-width="80px" align="center">
 | 
	
	
		
			
				|  | @@ -340,7 +340,7 @@
 | 
	
		
			
				|  |  |              <el-table-column label="重量(KG)" prop="fweight" width="120px" align="center">
 | 
	
		
			
				|  |  |                <template slot-scope="scope">
 | 
	
		
			
				|  |  |                  <span v-if="scope.row.NoEdit">{{ scope.row.fweight }}</span>
 | 
	
		
			
				|  |  | -                <el-input v-if="scope.row.Edit" v-model="scope.row.fweight" placeholder="重量" step="0.01" type="number" style="width:95%;padding:10px 0;" />
 | 
	
		
			
				|  |  | +                <el-input v-if="scope.row.Edit" v-model="scope.row.fweight" placeholder="重量" step="0.0001" type="number" style="width:95%;padding:10px 0;" />
 | 
	
		
			
				|  |  |                </template>
 | 
	
		
			
				|  |  |              </el-table-column>
 | 
	
		
			
				|  |  |              <el-table-column label="搅拌延时(min)" min-width="80px" align="center">
 | 
	
	
		
			
				|  | @@ -1150,7 +1150,7 @@ export default {
 | 
	
		
			
				|  |  |                  return prev
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  |              }, 0)
 | 
	
		
			
				|  |  | -            sums[index] = sums[index].toFixed(3) + '(干物质量:' + this.table2.dryweight + ')'
 | 
	
		
			
				|  |  | +            sums[index] = sums[index].toFixed(4) + '(干物质量:' + this.table2.dryweight + ')'
 | 
	
		
			
				|  |  |            } else {
 | 
	
		
			
				|  |  |              sums[index] = ''
 | 
	
		
			
				|  |  |            }
 | 
	
	
		
			
				|  | @@ -2287,11 +2287,12 @@ export default {
 | 
	
		
			
				|  |  |          return false
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        // 检验重量>0
 | 
	
		
			
				|  |  | -      this.table2.temp.fweight = formatNum(this.table2.temp.fweight, 3) // 根据默认参数设置小数位数
 | 
	
		
			
				|  |  | -      row.fweight = formatNum(row.fweight, 3)
 | 
	
		
			
				|  |  | +      this.table2.temp.fweight = formatNum(this.table2.temp.fweight, 4) // 根据默认参数设置小数位数
 | 
	
		
			
				|  |  | +      row.fweight = formatNum(row.fweight, 4)
 | 
	
		
			
				|  |  | +      // return
 | 
	
		
			
				|  |  |        // var ruleWeight = /(^[1-9](\d+)?(\.\d{1,2})?$)|(^\d\.\d{1,2}$)/
 | 
	
		
			
				|  |  |        if (this.table2.temp.fweight == 0) {
 | 
	
		
			
				|  |  | -        this.$message({ type: 'error', message: '重量请输入正数,最多保留三位小数', duration: 2000 })
 | 
	
		
			
				|  |  | +        this.$message({ type: 'error', message: '重量请输入正数,最多保留四位小数', duration: 2000 })
 | 
	
		
			
				|  |  |          return false
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        this.isokDisable = true
 | 
	
	
		
			
				|  | @@ -2477,14 +2478,15 @@ export default {
 | 
	
		
			
				|  |  |              this.$message({ type: 'error', message: '饲料顺序不可为负数或小数', duration: 2000 })
 | 
	
		
			
				|  |  |              return false
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | -          this.table2.temp.fweight = formatNum(this.table2.temp.fweight, 3) // 根据默认参数设置小数位数
 | 
	
		
			
				|  |  | -          row.fweight = formatNum(row.fweight, 3)
 | 
	
		
			
				|  |  | +          this.table2.temp.fweight = formatNum(this.table2.temp.fweight, 4) // 根据默认参数设置小数位数
 | 
	
		
			
				|  |  | +          row.fweight = formatNum(row.fweight, 4)
 | 
	
		
			
				|  |  |            // 检验重量>0
 | 
	
		
			
				|  |  |            // var ruleWeight = /(^[1-9](\d+)?(\.\d{1,2})?$)|(^\d\.\d{1,2}$)/
 | 
	
		
			
				|  |  |            if (this.table2.temp.fweight == 0) {
 | 
	
		
			
				|  |  | -            this.$message({ type: 'error', message: '重量请输入正数,最多保留三位小数', duration: 2000 })
 | 
	
		
			
				|  |  | +            this.$message({ type: 'error', message: '重量请输入正数,最多保留四位小数', duration: 2000 })
 | 
	
		
			
				|  |  |              return false
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | +          console.log(row.fweight,'row.fweight')
 | 
	
		
			
				|  |  |            this.requestParam.common = { 'returnmap': '0' }
 | 
	
		
			
				|  |  |            this.requestParam.data = []
 | 
	
		
			
				|  |  |            this.requestParam.data[0] = { 'name': 'insertFitHistory', 'type': 'e', 'parammaps': {
 |