| 
					
				 | 
			
			
				@@ -90,19 +90,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               min-width="100" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               label="数量"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <el-input-number v-model="scope.row.cnt" :disabled="display" :min="1" style="width: 140px;"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               prop="price" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               header-align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              min-width="160" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              min-width="100" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               label="含税单价"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-input-number v-model="scope.row.price" :disabled="display" :precision="1" :step="0.1" :min="0" style="width: 140px;"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               prop="amount" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -118,12 +112,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               prop="rate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               header-align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              min-width="120" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              min-width="100" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               label="税率"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-input type="number" v-model="scope.row.rate" :disabled="display"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <template slot="append">%</template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                {{scope.row.rate}}% 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-table-column 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -138,9 +130,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               fixed="right" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               header-align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              width="80" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              width="100" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               label="操作"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button type="text" size="small" @click="updateProductHandle(scope.row)">编辑</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <el-button style="color: red" type="text" size="small" @click="deleteProductHandle(scope.row.recordId)">删除</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-table-column> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -308,13 +301,22 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$refs.inbound.init(1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // 编辑产品项 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      updateProductHandle (row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.inboundVisible = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$nextTick(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$refs.inbound.init(1, row) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       addItem (item) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (!item.recordId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           item.recordId = Math.round(Math.random() * 1000000) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.cusRCommProductVOS.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ...item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (this.cusRCommProductVOS.findIndex(item1 => item1.recordId === item.recordId) === -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.cusRCommProductVOS.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ...item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       uploadSuccess (fileList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.fileList = fileList 
			 |