| 
					
				 | 
			
			
				@@ -2,7 +2,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <!-- 销售订单详情 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div id="salesOrderDetailsDrawer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <a-drawer title="销售订单详情" width="89%" placement="right" :closable="true" :visible="visible" @close="onClose"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <!-- 主表 展示 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <!-- 主表 回显 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <a-card :bordered="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class="table-page-search-wrapper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <a-form layout="inline"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -49,7 +49,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </a-col> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <a-col :md="6" :sm="8"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <a-form-item label="交期"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <!-- TODO:日期 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   {{ salesOrderMain.dpreDateBT }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </a-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </a-col> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -207,8 +206,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             :pagination="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             :scroll="{ x: 1500 }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <!-- ???? 弹框--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <span slot="???" slot-scope="text"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <!-- test 差异 弹框--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <span slot="diff" slot-scope="text"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <a>{{ text }}</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </a-table> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -273,10 +272,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           customCell: this.cinvCodeCustomCell, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           scopedSlots: { customRender: 'cinvCode' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { title: '供应商', width: 220, dataIndex: 'cvenName', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { title: '供应商', width: 240, dataIndex: 'cvenName', align: 'left', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '单价(本币)', width: 140, dataIndex: 'inatUnitPrice', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { title: '物料名称', width: 210, dataIndex: 'cinvName', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { title: '物料名称', width: 260, dataIndex: 'cinvName', align: 'left', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '计划数量(LRP)', width: 160, dataIndex: 'iquantityLrp', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '订单数量', width: 180, dataIndex: 'iquantity', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '累计入库数量', width: 140, dataIndex: 'ireceivedQTY', className: 'replacecolor' }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -292,12 +290,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       weiwaiColumns: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           title: '委外订单号', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          width: 120, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          width: 140, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           dataIndex: 'ccode', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           fixed: 'left', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           className: 'replacecolor' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { title: '供应商', width: 220, dataIndex: 'cvenName', fixed: 'left', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { title: '供应商', width: 220, dataIndex: 'cvenName', fixed: 'left', align: 'left', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           title: '物料编码', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           width: 120, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -307,7 +305,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           customCell: this.cinvCodeCustomCell, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           scopedSlots: { customRender: 'cinvCode' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { title: '物料名称', width: 320, dataIndex: 'cinvName', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { title: '物料名称', width: 320, dataIndex: 'cinvName', align: 'left', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '颜色', width: 180, dataIndex: 'color', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '门幅', width: 120, dataIndex: 'cfree4', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '单价(本币)', width: 140, dataIndex: 'inatUnitPrice', className: 'replacecolor' }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -322,7 +320,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '余下库存(余料)', width: 140, dataIndex: 'surplusQty', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '子件编号', width: 140, dataIndex: 'cinvCodeZi', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { title: '子件名称', width: 320, dataIndex: 'cinvNameZi', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { title: '子件名称', width: 320, dataIndex: 'cinvNameZi', align: 'left', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '子件应领数量', width: 140, dataIndex: 'iquantityZi', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '子件已领数量', width: 140, dataIndex: 'isendQTY', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '子件总成本', width: 140, dataIndex: 'costZi', className: 'replacecolor' }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -351,7 +349,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '用量', width: 120, dataIndex: 'dosage', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '总数量', width: 140, dataIndex: 'totalQuantity', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '合计', width: 160, dataIndex: 'total', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { title: '差异', width: 120, dataIndex: 'diff', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          title: '差异', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          width: 120, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          dataIndex: 'diff', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          customCell: this.getPackinglistFabrics, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          className: 'replacecolor', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          scopedSlots: { customRender: 'diff' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: 'what', width: 140, dataIndex: 'what', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: 'what1', width: 140, dataIndex: 'what1', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: 'what2', width: 140, dataIndex: 'what2', className: 'replacecolor' }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -360,7 +365,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: 'what5', width: 140, dataIndex: 'what5', className: 'replacecolor' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '备注', width: 210, dataIndex: 'note', fixed: 'right', className: 'replacecolor' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      cardData: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      cardData: [{ diff: '打开装箱单-面料' }] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -382,7 +387,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.salesOrderMain = res.result //主表信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.CaiGouData = res.result.productionScheduleCaiGou //采购 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.weiwaiData = res.result.productionScheduleWeiWai //委外 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.cardData = res.result.productionScheduleWeiWai //物料卡 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // this.cardData = res.result.productionScheduleWeiWai //物料卡 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 |