物料增加按钮-精密物料推启源
This commit is contained in:
		
							parent
							
								
									22c653801c
								
							
						
					
					
						commit
						a14fc23fab
					
				|  | @ -7,9 +7,9 @@ | ||||||
|  * @LastEditors: xiadling xiadling@yonyou.com |  * @LastEditors: xiadling xiadling@yonyou.com | ||||||
|  * @LastEditTime: 2023-09-27 14:20:15 |  * @LastEditTime: 2023-09-27 14:20:15 | ||||||
|  */ |  */ | ||||||
| import {urls, values, childTabArr, formid, baseFormId} from "./../methodGroup/constance"; | import {baseFormId, formid, urls, values} from "./../methodGroup/constance"; | ||||||
| import updateButtonStatus from "./updateButtonStatus"; | import updateButtonStatus from "./updateButtonStatus"; | ||||||
| import {ajax, toast, print, getBusinessInfo, promptBox, base, formDownload} from 'nc-lightapp-front'; | import {ajax, base, formDownload, getBusinessInfo, print, promptBox, toast} from 'nc-lightapp-front'; | ||||||
| 
 | 
 | ||||||
| const {NCTooltip} = base; | const {NCTooltip} = base; | ||||||
| export default function (props, id) { | export default function (props, id) { | ||||||
|  | @ -671,6 +671,22 @@ export default function (props, id) { | ||||||
|                 } |                 } | ||||||
|             }) |             }) | ||||||
|             break; |             break; | ||||||
|  |         case 'pushtojmqy': | ||||||
|  |             pk = this.props.form.getFormItemsValue(formid, 'pk_material'); | ||||||
|  |             ajax({ | ||||||
|  |                 url: "/nccloud/uapbd/material/pushtojmqy.do", | ||||||
|  |                 data: { | ||||||
|  |                     pks: pk.value | ||||||
|  |                 }, | ||||||
|  |                 success: (res) => { | ||||||
|  |                     this.onButtonClick(props, 'Refresh'); | ||||||
|  |                     toast({ | ||||||
|  |                         content: "推送启源成功", | ||||||
|  |                         color: 'success' | ||||||
|  |                     });/* 国际化处理: 操作成功*/ | ||||||
|  |                 } | ||||||
|  |             }) | ||||||
|  |             break; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| /*q2LCmxM8POvl78IL0LiydqJ/RITUXLjH1kojvbLBRO8=*/ | /*q2LCmxM8POvl78IL0LiydqJ/RITUXLjH1kojvbLBRO8=*/ | ||||||
		Loading…
	
		Reference in New Issue