借料入库弹窗调整
This commit is contained in:
		
							parent
							
								
									d6287eefc6
								
							
						
					
					
						commit
						498fa57aff
					
				| 
						 | 
					@ -1,11 +1,11 @@
 | 
				
			||||||
import React, { Component } from 'react';
 | 
					import React, { Component } from 'react';
 | 
				
			||||||
import { createPage, ajax, base, high } from 'nc-lightapp-front';
 | 
					import { createPage, ajax, base, high, toast } from 'nc-lightapp-front';
 | 
				
			||||||
import ApproveDetail from 'uap/common/components/ApproveDetail';
 | 
					import ApproveDetail from 'uap/common/components/ApproveDetail';
 | 
				
			||||||
import NCUploader from 'uap/common/components/NCUploader';
 | 
					import NCUploader from 'uap/common/components/NCUploader';
 | 
				
			||||||
import ApprovalTrans from 'uap/common/components/approvalTrans';
 | 
					import ApprovalTrans from 'uap/common/components/approvalTrans';
 | 
				
			||||||
const { BillTrack } = high;
 | 
					const { BillTrack } = high;
 | 
				
			||||||
import { initTemplate } from './init';
 | 
					import { initTemplate } from './init';
 | 
				
			||||||
import { pageInfoClick, pageInfoClickPage,getParentURlParme } from './btnClicks';
 | 
					import { pageInfoClick, pageInfoClickPage, getParentURlParme } from './btnClicks';
 | 
				
			||||||
import newLineDefaultUtil from './utils/newLineDefaultUtil';
 | 
					import newLineDefaultUtil from './utils/newLineDefaultUtil';
 | 
				
			||||||
import { checkDeleteRows } from './utils/rowDeleteUtil';
 | 
					import { checkDeleteRows } from './utils/rowDeleteUtil';
 | 
				
			||||||
import { btnClickController, buttonController } from './viewController/index';
 | 
					import { btnClickController, buttonController } from './viewController/index';
 | 
				
			||||||
| 
						 | 
					@ -134,7 +134,7 @@ class PickmCard extends Component {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	render() {
 | 
						render() {
 | 
				
			||||||
		const { createBillHeadInfo } = this.props.BillHeadInfo;
 | 
							const { createBillHeadInfo } = this.props.BillHeadInfo;
 | 
				
			||||||
		let { table,cardTable, form, button, modal, cardPagination, socket } = this.props;
 | 
							let { table, cardTable, form, button, modal, cardPagination, socket } = this.props;
 | 
				
			||||||
		let buttons = this.props.button.getButtons();
 | 
							let buttons = this.props.button.getButtons();
 | 
				
			||||||
		let multiLang = this.props.MutiInit.getIntl(this.moduleId);
 | 
							let multiLang = this.props.MutiInit.getIntl(this.moduleId);
 | 
				
			||||||
		let { createForm } = form;
 | 
							let { createForm } = form;
 | 
				
			||||||
| 
						 | 
					@ -144,8 +144,8 @@ class PickmCard extends Component {
 | 
				
			||||||
		const { createCardPagination } = cardPagination;
 | 
							const { createCardPagination } = cardPagination;
 | 
				
			||||||
		let { showUploader, target } = this.state;
 | 
							let { showUploader, target } = this.state;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//         this.props.use.form('NCTable_83c3abf9')
 | 
							//         this.props.use.form('NCTable_83c3abf9')
 | 
				
			||||||
//         this.props.form.setFormStatus('NCTable_83c3abf9', 'edit')
 | 
							//         this.props.form.setFormStatus('NCTable_83c3abf9', 'edit')
 | 
				
			||||||
		return (
 | 
							return (
 | 
				
			||||||
			<div className='nc-bill-card' id='mm-mmpac-pickm-card' >
 | 
								<div className='nc-bill-card' id='mm-mmpac-pickm-card' >
 | 
				
			||||||
				{socket.connectMesg({
 | 
									{socket.connectMesg({
 | 
				
			||||||
| 
						 | 
					@ -273,7 +273,7 @@ class PickmCard extends Component {
 | 
				
			||||||
					title: '备料明细',
 | 
										title: '备料明细',
 | 
				
			||||||
					content: (
 | 
										content: (
 | 
				
			||||||
						<div class="flex-container" style={{ height: '100%' }}>
 | 
											<div class="flex-container" style={{ height: '100%' }}>
 | 
				
			||||||
			                    {createSimpleTable("NCTable_83c3abf9", {showIndex: true})}</div>
 | 
												{createSimpleTable("NCTable_83c3abf9", { showIndex: true })}</div>
 | 
				
			||||||
					),
 | 
										),
 | 
				
			||||||
					size: '500',
 | 
										size: '500',
 | 
				
			||||||
					beSureBtnClick: () => {
 | 
										beSureBtnClick: () => {
 | 
				
			||||||
| 
						 | 
					@ -303,6 +303,7 @@ class PickmCard extends Component {
 | 
				
			||||||
							success: (res) => {
 | 
												success: (res) => {
 | 
				
			||||||
								if (res.success) {
 | 
													if (res.success) {
 | 
				
			||||||
									toast({ color: 'success', title: "推送成功" });
 | 
														toast({ color: 'success', title: "推送成功" });
 | 
				
			||||||
 | 
														this.props.modal.close('NCTable_83c3abf9');
 | 
				
			||||||
								}
 | 
													}
 | 
				
			||||||
							}
 | 
												}
 | 
				
			||||||
						});
 | 
											});
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue