生产订单推送艾普mes
This commit is contained in:
		
							parent
							
								
									b0f8091557
								
							
						
					
					
						commit
						4d1a88fe07
					
				|  | @ -670,6 +670,21 @@ export default function clickBtn(props, id, text, record, index) { | ||||||
|             let toPlm1 = toPlm.bind(this, props, billId); |             let toPlm1 = toPlm.bind(this, props, billId); | ||||||
|             return toPlm1(props); |             return toPlm1(props); | ||||||
|         } |         } | ||||||
|  |         case "tomes": { | ||||||
|  |             rowIds = []; | ||||||
|  |             let billId = props.form.getFormItemsValue(formId, HEADATTRCODE.CPMOHID).value; | ||||||
|  |             // 传递设计任务
 | ||||||
|  |             rowIds[0] = billId; | ||||||
|  |             ajax({ | ||||||
|  |                 url: '/nccloud/mmpac/pmo/PmoToMes.do', | ||||||
|  |                 data: {pks: rowIds}, | ||||||
|  |                 success: (res) => { | ||||||
|  |                     if (res.success) { | ||||||
|  |                         toast({content: "传递设计任务成功", color: 'success'}); | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |             }); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue