| 
					
				 | 
			
			
				@@ -61,7 +61,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     @click="but_add" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     :loading="loading" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 >新增</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                   <!-- <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                   <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     class="button" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     size="mini" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -69,7 +69,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     @click="but_copy" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     :loading="loading" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     v-if="butPrivilege.PUT && !isCheck" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                >复制</el-button> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                >复制</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     class="button" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     type="primary" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -205,10 +205,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             fixed="left" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             width="160px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             :show-overflow-tooltip="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        ><template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <span v-if="!isCheck && scope.row.isSelection && scope.row.state !== '2'">{{ rowSum(scope.row) }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <span v-else>{{ scope.row.total }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             label="成品焦"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <!-- <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             label="产生数量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             prop="weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             rowsPan="3" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -236,7 +240,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <span v-else v-for="(item, index) in tableData[scope.row.index].weight" :key="index">{{item['成品焦']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        </template></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </template></el-table-column> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             prop="weight1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             label="高炉用量" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -291,37 +295,24 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <span v-else v-for="(item, index) in tableData[scope.row.index].weight2" :key="index">{{item['成品焦']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </template></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            label="小粒焦"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            label="产生数量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            prop="weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            label="生产合计" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            prop="subtotal" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             fixed="left" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             width="120px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             :show-overflow-tooltip="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         ><template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <template 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     v-if="!isCheck && scope.row.isSelection && scope.row.state !== '2'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                    :prop="scope.row.seq + '.weight'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            ><el-input clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        v-for="(itemform, key) in tableFormDataObj[scope.row.seq].weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        :key="key" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        v-if="!isNaN(Number(itemform['小粒焦']))" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        style="width: 100%;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        v-model="itemform['小粒焦']" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        oninput="this.value = this.value.replace(/[^\d.]/g,'');" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        refcous="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        :rules="dialog.editorBox.form.weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        @keydown.native="keyDown" :id="scope.$index + scope.column.id" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        @change="chnageSecondVal(scope.row.seq, tableFormDataObj[scope.row.seq].secondVal, scope.$index)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                <template slot="error" slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                    <p class="error" :title="scope.error">{{ scope.error }}</p> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        <span v-else v-for="(item, index) in tableData[scope.row.index].weight" :key="index">{{item['小粒焦']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            ><span 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            v-for="(itemform, key) in tableFormDataObj[scope.row.seq].weight1" v-if="!isNaN(Number(itemform['成品焦']))" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            :key="key">{{ Number(itemform['成品焦']) + Number(tableData[scope.row.index].weight2[key]['成品焦']) }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <span v-else v-for="(item, index) in tableData[scope.row.index].subtotal" :key="index">{{item['成品焦']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </template></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            label="小粒焦"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             prop="weight1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             label="高炉用量" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -376,37 +367,25 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <span v-else v-for="(item, index) in tableData[scope.row.index].weight2" :key="index">{{item['小粒焦']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </template></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            label="焦粉" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ><el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            prop="weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            label="产生数量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            label="生产合计" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            prop="subtotal" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            fixed="left" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             width="120px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             :show-overflow-tooltip="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         ><template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <template 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     v-if="!isCheck && scope.row.isSelection && scope.row.state !== '2'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                    :prop="scope.row.seq + '.weight'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            ><el-input clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        v-for="(itemform, key) in tableFormDataObj[scope.row.seq].weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        style="width: 100%;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        v-model="itemform['焦粉']" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        v-if="!isNaN(Number(itemform['焦粉']))" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        refcous="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        :rules="tableFormRules.weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        oninput="this.value = this.value.replace(/[^\d.]/g,'');" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        @keydown.native="keyDown" :id="scope.$index + scope.column.id" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        @change="chnageSecondVal(scope.row.seq, tableFormDataObj[scope.row.seq].secondVal, scope.$index)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        :key="key" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                <template slot="error" slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                    <p class="error" :title="scope.error">{{ scope.error }}</p> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        <span v-else v-for="(item, index) in tableData[scope.row.index].weight" :key="index">{{item['焦粉']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            ><span 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            v-for="(itemform, key) in tableFormDataObj[scope.row.seq].weight1" v-if="!isNaN(Number(itemform['小粒焦']))" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            :key="key">{{ Number(itemform['小粒焦']) + Number(tableData[scope.row.index].weight2[key]['小粒焦']) }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <span v-else v-for="(item, index) in tableData[scope.row.index].subtotal" :key="index">{{item['小粒焦']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </template></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            label="焦粉" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        ><el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             prop="weight1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             label="烧结用量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             width="120px" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -460,36 +439,25 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <span v-else v-for="(item, index) in tableData[scope.row.index].weight2" :key="index">{{item['焦粉']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </template></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            label="除尘焦粉" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ><el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            prop="weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            label="产生数量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            label="生产合计" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            prop="subtotal" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            fixed="left" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             width="120px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             :show-overflow-tooltip="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         ><template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <template 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     v-if="!isCheck && scope.row.isSelection && scope.row.state !== '2'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                    :prop="scope.row.seq + '.weight'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            ><el-input clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        v-for="(itemform, key) in tableFormDataObj[scope.row.seq].weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        style="width: 100%;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        v-model="itemform['除尘焦粉']" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        v-if="!isNaN(Number(itemform['除尘焦粉']))" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        refcous="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        :rules="tableFormRules.weight" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        oninput="this.value = this.value.replace(/[^\d.]/g,'');" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        @keydown.native="keyDown" :id="scope.$index + scope.column.id" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        @change="chnageSecondVal(scope.row.seq, tableFormDataObj[scope.row.seq].secondVal, scope.$index)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        :key="key" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                <template slot="error" slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                    <p class="error" :title="scope.error">{{ scope.error }}</p> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        <span v-else v-for="(item, index) in tableData[scope.row.index].weight" :key="index">{{item['除尘焦粉']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            ><span 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            v-for="(itemform, key) in tableFormDataObj[scope.row.seq].weight1" v-if="!isNaN(Number(itemform['焦粉']))" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            :key="key">{{ Number(itemform['焦粉']) + Number(tableData[scope.row.index].weight2[key]['焦粉']) }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <span v-else v-for="(item, index) in tableData[scope.row.index].subtotal" :key="index">{{item['焦粉']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </template></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            label="除尘焦粉" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             prop="weight1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             label="高炉用量" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -544,6 +512,21 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <span v-else v-for="(item, index) in tableData[scope.row.index].weight2" :key="index">{{item['除尘焦粉']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </template></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            label="生产合计" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            prop="subtotal" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            fixed="left" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            width="120px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            :show-overflow-tooltip="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        ><template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <template 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    v-if="!isCheck && scope.row.isSelection && scope.row.state !== '2'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            ><span 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            v-for="(itemform, key) in tableFormDataObj[scope.row.seq].weight1" v-if="!isNaN(Number(itemform['除尘焦粉']))" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            :key="key">{{ Number(itemform['除尘焦粉']) + Number(tableData[scope.row.index].weight2[key]['除尘焦粉']) }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <span v-else v-for="(item, index) in tableData[scope.row.index].subtotal" :key="index">{{item['除尘焦粉']}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </template></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             prop="cjsj" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -681,7 +664,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  </el-time-picker> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              </el-col> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             <el-col :span="12"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--             <el-col :span="12"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                      label="产生数量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                      prop="weight" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -694,7 +677,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </el-col> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-col> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-col :span="12"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     label="烧结用量" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -723,11 +706,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-col> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--            </el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-row> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-col :span="12"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    label="外销用量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    label="外销数量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     prop="weight2" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   <el-input 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -739,8 +722,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   </el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                </el-col> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<!--        </el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-row> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-col :span="12"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    label="备注" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1201,32 +1184,31 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let priductIdTotal3 = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let weiItem = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             switch (column.property) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            case 'weight': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            case 'subtotal': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              priductIdTotal = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              priductIdTotal1 = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              priductIdTotal2 = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              priductIdTotal3 = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for (let i = 0; i < that.tableData.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 that.tableData[i].weight.forEach((item, key) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (let i = 0; i < this.tableData.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                 this.tableData[i].subtotal.forEach((item, key) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     weiItem = (isNaN(item['成品焦']) ? 0 : item['成品焦']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     priductIdTotal += Number(weiItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                that.tableData[i].weight.forEach((item, key) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                that.tableData[i].subtotal.forEach((item, key) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     weiItem = (isNaN(item['小粒焦']) ? 0 : item['小粒焦']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     priductIdTotal1 += Number(weiItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                that.tableData[i].weight.forEach((item, key) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                that.tableData[i].subtotal.forEach((item, key) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     weiItem = (isNaN(item['焦粉']) ? 0 : item['焦粉']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     priductIdTotal2 += Number(weiItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                that.tableData[i].weight.forEach((item, key) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                that.tableData[i].subtotal.forEach((item, key) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     weiItem = (isNaN(item['除尘焦粉']) ? 0 : item['除尘焦粉']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     priductIdTotal3 += Number(weiItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log('1111'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            sums[index] = (index % 14 === 0) ? priductIdTotal3 : ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            (index % 11 === 0) ? priductIdTotal2 : (index % 8 === 0) ? priductIdTotal1 : priductIdTotal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            sums[index] = (index % 16 === 0) ? priductIdTotal3 : ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            (index % 13 === 0) ? priductIdTotal2 : (index % 10 === 0) ? priductIdTotal1 : priductIdTotal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             case 'weight1': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             priductIdTotal = 0; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1251,8 +1233,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     priductIdTotal3 += Number(weiItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            sums[index] = (index % 15 === 0) ? priductIdTotal3 : ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            (index % 12 === 0) ? priductIdTotal2 : (index % 9 === 0) ? priductIdTotal1 : priductIdTotal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            sums[index] = (index % 14 === 0) ? priductIdTotal3 : ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            (index % 11 === 0) ? priductIdTotal2 : (index % 8 === 0) ? priductIdTotal1 : priductIdTotal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             case 'weight2': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             priductIdTotal = 0; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1277,8 +1259,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         priductIdTotal3 += Number(weiItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            sums[index] = (index % 16 === 0) ? priductIdTotal3 : ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            (index % 13 === 0) ? priductIdTotal2 : (index % 10 === 0) ? priductIdTotal1 : priductIdTotal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            sums[index] = (index % 15 === 0) ? priductIdTotal3 : ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            (index % 12 === 0) ? priductIdTotal2 : (index % 9 === 0) ? priductIdTotal1 : priductIdTotal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             break; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1359,22 +1341,27 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     but_copy_plural () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 复制 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        but_copy_plural () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let that = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let SubmitData = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for (let key in that.tableFormDataObj) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                SubmitData.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    weight: that.tableFormDataObj[key].weight, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    weight1: that.tableFormDataObj[key].weight1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    weight2: that.tableFormDataObj[key].weight2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    cjr: that.tableFormDataObj[key].cjr, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    memo: that.tableFormDataObj[key].memo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    line: that.tableFormDataObj[key].line, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    unit: that.tableFormDataObj[key].unit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    parentid: that.filterForm.data.parentid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    yearmonth: that.dialog.editorBox2.form.data.yearmonth 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                let memoArr = that.tableFormDataObj[key].memo.split(';'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                for (let i = 0; i < that.tableFormDataObj[key].weight1.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    for (let keyname in that.tableFormDataObj[key].weight1[i]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        SubmitData.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        // weight: that.tableFormDataObj[key].weight[i][keyname], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        weight1: that.tableFormDataObj[key].weight1[i][keyname], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        weight2: that.tableFormDataObj[key].weight2[i][keyname], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        memo: memoArr[i], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        unit: that.tableFormDataObj[key].unit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        parentid: that.filterForm.data.parentid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        productid: that.tableFormDataObj[key].productid[i][i], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        yearmonth: that.dialog.editorBox2.form.data.yearmonth 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    that.$refs['dialog_form2'].validate((valid) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       if (valid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         that.loading = true; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1486,7 +1473,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         let chirItem = res.data.list[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         for (let e in chirItem) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             let item = chirItem[e]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            let weightArr = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            // let weightArr = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            let subtotalArr = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             let weightArr1 = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             let weightArr2 = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             let noArr = []; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1497,9 +1485,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             let productidArr = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             let memoLong = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         for (let i = 0; i < chirItem[e].length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            weightArr.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                [item[i].productid]: item[i].weight 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            // weightArr.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            //     [item[i].productid]: item[i].weight 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            //     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             weightArr1.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 [item[i].productid]: item[i].weight1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1517,12 +1505,15 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             if (item[i].memo !== null && item[i].memo !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                  memoLong = memoLong + item[i].memo + ';'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             indexArr.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 [i]: [i] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            subtotalArr.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                [item[i].productid]: item[i].weight1 + item[i].weight2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             // sum += item[i].weight + item[i].weight1 + item[i].weight2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            sum += item[i].weight; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            sum += item[i].weight1 + item[i].weight2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             arr.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 seq: index, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1540,7 +1531,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 no: noArr, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 id: item[chirItem[e].length - 1].id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 total: sum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                weight: weightArr, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                // weight: weightArr, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                subtotal: subtotalArr, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 weight1: weightArr1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 weight2: weightArr2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 productid: productidArr, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1599,7 +1591,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 unit: item.unit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 line: item.line, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 yearmonth: item.yearmonth, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                weight: item.weight, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                // weight: item.weight, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 weight1: item.weight1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 weight2: item.weight2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 productid: item.productid, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1679,6 +1671,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             that.getTableData(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 键盘事件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         keyDown (event1, disabledFlag) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let tdTarget = event1.target; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let _this = this; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1723,7 +1716,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $(tdTarget).nextAll().find('input').eq(0).click(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // 只允许对未接受的数据进行操作 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 只允许对未接收的数据进行操作 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         checkboxT (row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (row.zt === '2' && !this.isCheck) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 return false; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1731,6 +1724,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 选择的值发生改变 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         handleSelectionChange (val) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // console.log('我要改数据了'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let that = this; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1746,8 +1740,17 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let arrcha = [...JSON.parse(JSON.stringify(that.originalData))].filter(x => [...val].every(y => y.id !== x.id)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for (let item of arrcha) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                that.tableData[item.seq] = JSON.parse(JSON.stringify(that.originalData[item.seq])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // 取消选择时赋初始值 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                for (let weiIndex in that.tableData[item.seq].weight1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    for (let weiKey in that.tableData[item.seq].weight1[weiIndex]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        // that.tableData[item.seq].weight[weiIndex][weiKey] = that.originalData[item.seq].weight[weiIndex][weiKey]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        that.tableData[item.seq].weight1[weiIndex][weiKey] = that.originalData[item.seq].weight1[weiIndex][weiKey]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        that.tableData[item.seq].weight2[weiIndex][weiKey] = that.originalData[item.seq].weight2[weiIndex][weiKey]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // that.tableData[item.seq].weight = JSON.parse(JSON.stringify(that.originalData[item.seq])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // that.tableData[item.seq] = JSON.parse(JSON.stringify(that.originalData[item.seq])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for (let item of val) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let obj = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let xId = item.seq; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1766,7 +1769,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for (let item of that.tableData) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (item.isSelection === false) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    that.tableData[item.seq] = JSON.parse(JSON.stringify(that.originalData[item.seq])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    // that.tableData[item.seq] = JSON.parse(JSON.stringify(that.originalData[item.seq])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     item.realvalue = (!isNaN(Number(item.apportvalue)) && !isNaN(Number(item.wastage))) ? Number(item.apportvalue) + Number(item.wastage) - Number(item.secondVal) : item.realvalue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1855,10 +1858,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         let SubmitData = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         for (let key in that.tableFormDataObj) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             let memoArr = that.tableFormDataObj[key].memo.split(';'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            for (let i = 0; i < that.tableFormDataObj[key].weight.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                for (let keyname in that.tableFormDataObj[key].weight[i]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            for (let i = 0; i < that.tableFormDataObj[key].weight1.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                for (let keyname in that.tableFormDataObj[key].weight1[i]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     SubmitData.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                    weight: that.tableFormDataObj[key].weight[i][keyname], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    // weight: that.tableFormDataObj[key].weight[i][keyname], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     weight1: that.tableFormDataObj[key].weight1[i][keyname], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     weight2: that.tableFormDataObj[key].weight2[i][keyname], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     no: that.tableFormDataObj[key].no[i][i], 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1907,7 +1910,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let SubmitData = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             SubmitData.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 yearmonth: that.dialog.editorBox.form.data.yearmonth, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                weight: that.dialog.editorBox.form.data.weight, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // weight: that.dialog.editorBox.form.data.weight, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 weight1: that.dialog.editorBox.form.data.weight1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 weight2: that.dialog.editorBox.form.data.weight2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 unit: that.dialog.editorBox.form.data.unitid, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2068,18 +2071,60 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let target = this.focusTarget; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $(target).find('input').focus(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 获取一行的总和 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        rowSum: function (item, event) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let result = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let that = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (let weiIndex in item.weight1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                for (let weiKey in item.weight1[weiIndex]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    result += Number(item.weight1[weiIndex][weiKey]) + Number(item.weight2[weiIndex][weiKey]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 小计 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        rowSubSum: function (item, event) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let result = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let that = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (let weiIndex in item.weight1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                for (let weiKey in item.weight1[weiIndex]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (weiKey === '成品焦') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                       result += Number(item.weight1[weiIndex][weiKey]) + Number(item.weight1[weiIndex][weiKey]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (weiKey === '小粒焦') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                       result += Number(item.weight1[weiIndex][weiKey]) + Number(item.weight1[weiIndex][weiKey]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     computed: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // 暂时用不上 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       activeUsers: function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let that = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log('111'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return that.tableData.filter(function (tableData) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // console.log(tableData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for (let item in tableData.weight) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return isNaN((tableData.weight[item])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (let item in tableData.weight1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return isNaN((tableData.weight1[item])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      rowSumc: function (item, event) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let result = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let that = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          for (let item of that.tableFormDataOb) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              result = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (let weiIndex in that.tableFormDataObj[item.seq].weight1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                for (let weiKey in that.tableFormDataObj[item.seq].weight1[weiIndex]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    result += that.tableFormDataObj[item.seq].weight1[weiIndex][weiKey] + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    that.tableFormDataObj[item.seq].weight2[weiIndex][weiKey]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            item.total = result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |