|  | @@ -94,13 +94,13 @@
 | 
	
		
			
				|  |  |              </el-select>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | -        <el-table-column v-if="table.isRW1" :key="8" label="第一班比例(%)" min-width="80px" align="center">
 | 
	
		
			
				|  |  | +        <el-table-column v-if="table.isRW1" :key="8" label="第一班比例(%)" min-width="130px" align="center">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <span v-if="scope.row.NoEdit">{{ scope.row.r1 }}</span>
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.r1" :disabled="scope.row.isOneWeight" step="0.01" type="number" style="width:95%;padding:10px 0;"  @focus="focusR(scope.row)" @blur="blurR(scope.row,1)" />
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | -        <el-table-column v-if="table.isRW1" :key="9" label="第一班重量" min-width="120px" align="center" :render-header="renderHeader">
 | 
	
		
			
				|  |  | +        <el-table-column v-if="table.isRW1" :key="9" label="第一班重量" min-width="200px" align="center" :render-header="renderHeader">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <span v-if="scope.row.NoEdit">{{ scope.row.w1 }}</span>
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.w1" :disabled="scope.row.isOneWeight" step="0.01" type="number" style="width:95%;padding:10px 0;" @blur="blurW(scope.row)" @focus="focusW(scope.row)" />
 | 
	
	
		
			
				|  | @@ -112,13 +112,13 @@
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.bw1" :disabled="scope.row.ptsfid == '-1' || scope.row.ptsfid == ''" step="0.01" type="number" style="width:95%;padding:10px 0;" @blur="blurBw(scope.row)" @focus="focusBw(scope.row)" />
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | -        <el-table-column v-if="table.isRW2" :key="11" label="第二班比例(%)" min-width="80px" align="center">
 | 
	
		
			
				|  |  | +        <el-table-column v-if="table.isRW2" :key="11" label="第二班比例(%)" min-width="130px" align="center">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <span v-if="scope.row.NoEdit">{{ scope.row.r2 }}</span>
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.r2" step="0.01" type="number" :disabled="scope.row.isTwoWeight" style="width:95%;padding:10px 0;" @focus="focusR(scope.row)" @blur="blurR(scope.row,2)" />
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | -        <el-table-column v-if="table.isRW2" :key="12" label="第二班重量" min-width="120px" align="center" :render-header="renderHeader">
 | 
	
		
			
				|  |  | +        <el-table-column v-if="table.isRW2" :key="12" label="第二班重量" min-width="200px" align="center" :render-header="renderHeader">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <span v-if="scope.row.NoEdit">{{ scope.row.w2 }}</span>
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.w2" :disabled="scope.row.isTwoWeight" step="0.01" type="number" style="width:95%;padding:10px 0;" @blur="blurW2(scope.row)" @focus="focusW2(scope.row)" />
 | 
	
	
		
			
				|  | @@ -130,13 +130,13 @@
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.bw2" :disabled="scope.row.ptsfid == '-1' || scope.row.ptsfid == ''" step="0.01" type="number" style="width:95%;padding:10px 0;" @blur="blurBw(scope.row)" @focus="focusBw(scope.row)" />
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | -        <el-table-column v-if="table.isRW3" :key="14" label="第三班比例(%)" min-width="80px" align="center">
 | 
	
		
			
				|  |  | +        <el-table-column v-if="table.isRW3" :key="14" label="第三班比例(%)" min-width="130px" align="center">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <span v-if="scope.row.NoEdit">{{ scope.row.r3 }}</span>
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.r3" step="0.01" type="number" :disabled="scope.row.isThreeWeight" style="width:95%;padding:10px 0;" @focus="focusR(scope.row)" @blur="blurR(scope.row,3)" />
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | -        <el-table-column v-if="table.isRW3" :key="15" label="第三班重量" min-width="120px" align="center" :render-header="renderHeader">
 | 
	
		
			
				|  |  | +        <el-table-column v-if="table.isRW3" :key="15" label="第三班重量" min-width="200px" align="center" :render-header="renderHeader">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <span v-if="scope.row.NoEdit">{{ scope.row.w3 }}</span>
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.w3" :disabled="scope.row.isThreeWeight" step="0.01" type="number" style="width:95%;padding:10px 0;" @blur="blurW3(scope.row)" @focus="focusW3(scope.row)" />
 | 
	
	
		
			
				|  | @@ -148,13 +148,13 @@
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.bw3" :disabled="scope.row.ptsfid == '-1' || scope.row.ptsfid == ''" step="0.01" type="number" style="width:95%;padding:10px 0;" @blur="blurBw(scope.row)" @focus="focusBw(scope.row)" />
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | -        <el-table-column v-if="table.isRW4" :key="17" label="第四班比例(%)" min-width="80px" align="center">
 | 
	
		
			
				|  |  | +        <el-table-column v-if="table.isRW4" :key="17" label="第四班比例(%)" min-width="130px" align="center">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <span v-if="scope.row.NoEdit">{{ scope.row.r4 }}</span>
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.r4" step="0.01" type="number" :disabled="scope.row.isFourWeight" style="width:95%;padding:10px 0;" @focus="focusR(scope.row)" @blur="blurR(scope.row,4)" />
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | -        <el-table-column v-if="table.isRW4" :key="18" label="第四班重量" min-width="120px" align="center" :render-header="renderHeader">
 | 
	
		
			
				|  |  | +        <el-table-column v-if="table.isRW4" :key="18" label="第四班重量" min-width="200px" align="center" :render-header="renderHeader">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <span v-if="scope.row.NoEdit">{{ scope.row.w4 }}</span>
 | 
	
		
			
				|  |  |              <el-input v-if="scope.row.Edit" v-model="scope.row.w4" :disabled="scope.row.isFourWeight" step="0.01" type="number" style="width:95%;padding:10px 0;" @blur="blurW4(scope.row)" @focus="focusW4(scope.row)" />
 | 
	
	
		
			
				|  | @@ -1295,9 +1295,8 @@ export default {
 | 
	
		
			
				|  |  |                response.data.list[i].r4 = 0
 | 
	
		
			
				|  |  |                response.data.list[i].w4 = 0
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |              this.$set(response.data.list[i], 'sumr', parseFloat(response.data.list[i].r1) + parseFloat(response.data.list[i].r2) + parseFloat(response.data.list[i].r3) + parseFloat(response.data.list[i].r4))
 | 
	
		
			
				|  |  | -            response.data.list[i].sumr = formatNum(response.data.list[i].sumr, parseInt(Cookies.get('decimal')))
 | 
	
		
			
				|  |  | +            response.data.list[i].sumr = formatNum(response.data.list[i].sumr, parseInt(Cookies.get('decimalr')))
 | 
	
		
			
				|  |  |              // this.$set(response.data.list[i],'feedweight',formatNum(parseFloat(response.data.list[i].feedweight) * parseFloat(response.data.list[i].sumr)/100,2))
 | 
	
		
			
				|  |  |              this.$set(response.data.list[i], 'dailyWeight', parseFloat(response.data.list[i].w1) + parseFloat(response.data.list[i].w2) + parseFloat(response.data.list[i].w3) + parseFloat(response.data.list[i].w4))
 | 
	
		
			
				|  |  |              response.data.list[i].dailyWeight = formatNum(response.data.list[i].dailyWeight, parseInt(Cookies.get('decimal')))
 | 
	
	
		
			
				|  | @@ -1903,11 +1902,15 @@ export default {
 | 
	
		
			
				|  |  |        if (row.r4 !== '') {
 | 
	
		
			
				|  |  |          row.w4 = formatNum(parseFloat(row.feedweight) * parseFloat(row.r4) / 100, parseInt(Cookies.get('decimal')))
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +      if (row.r1 == '' || isNaN(row.r1)) { row.r1 = 0 }
 | 
	
		
			
				|  |  | +      if (row.r2 == '' || isNaN(row.r2)) { row.r2 = 0 }
 | 
	
		
			
				|  |  | +      if (row.r3 == '' || isNaN(row.r3)) { row.r3 = 0 }
 | 
	
		
			
				|  |  | +      if (row.r4 == '' || isNaN(row.r4)) { row.r4 = 0 }
 | 
	
		
			
				|  |  |        this.$set(row, 'sumr', formatNum(parseFloat(row.r1) + parseFloat(row.r2) + parseFloat(row.r3) + parseFloat(row.r4), parseInt(Cookies.get('decimal'))))
 | 
	
		
			
				|  |  | -      if (row.w1 == '') { row.w1 = 0 }
 | 
	
		
			
				|  |  | -      if (row.w2 == '') { row.w2 = 0 }
 | 
	
		
			
				|  |  | -      if (row.w3 == '') { row.w3 = 0 }
 | 
	
		
			
				|  |  | -      if (row.w4 == '') { row.w4 = 0 }
 | 
	
		
			
				|  |  | +      if (row.w1 == '' || isNaN(row.w1)) { row.w1 = 0 }
 | 
	
		
			
				|  |  | +      if (row.w2 == '' || isNaN(row.w2)) { row.w2 = 0 }
 | 
	
		
			
				|  |  | +      if (row.w3 == '' || isNaN(row.w3)) { row.w3 = 0 }
 | 
	
		
			
				|  |  | +      if (row.w4 == '' || isNaN(row.w4)) { row.w4 = 0 }
 | 
	
		
			
				|  |  |        this.$set(row, 'dailyWeight', parseFloat(row.w1) + parseFloat(row.w2) + parseFloat(row.w3) + parseFloat(row.w4))
 | 
	
		
			
				|  |  |        row.dailyWeight = formatNum(row.dailyWeight, parseInt(Cookies.get('decimal')))
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -5039,7 +5042,7 @@ export default {
 | 
	
		
			
				|  |  |                  response.data.list[i].w4 = 0
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  |                this.$set(response.data.list[i], 'sumr', parseFloat(response.data.list[i].r1) + parseFloat(response.data.list[i].r2) + parseFloat(response.data.list[i].r3) + parseFloat(response.data.list[i].r4))
 | 
	
		
			
				|  |  | -              response.data.list[i].sumr = formatNum(response.data.list[i].sumr, parseInt(Cookies.get('decimal')))
 | 
	
		
			
				|  |  | +              response.data.list[i].sumr = formatNum(response.data.list[i].sumr, parseInt(Cookies.get('decimalr')))
 | 
	
		
			
				|  |  |                this.$set(response.data.list[i], 'dailyWeight', parseFloat(response.data.list[i].w1) + parseFloat(response.data.list[i].w2) + parseFloat(response.data.list[i].w3) + parseFloat(response.data.list[i].w4))
 | 
	
		
			
				|  |  |                response.data.list[i].dailyWeight = formatNum(response.data.list[i].dailyWeight, parseInt(Cookies.get('decimal')))
 | 
	
		
			
				|  |  |              }
 |