借料入库弹窗调整

This commit is contained in:
mzr 2025-07-11 10:15:00 +08:00
parent d6287eefc6
commit 498fa57aff
1 changed files with 34 additions and 33 deletions

View File

@ -1,11 +1,11 @@
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 NCUploader from 'uap/common/components/NCUploader';
import ApprovalTrans from 'uap/common/components/approvalTrans';
const { BillTrack } = high;
import { initTemplate } from './init';
import { pageInfoClick, pageInfoClickPage,getParentURlParme } from './btnClicks';
import { pageInfoClick, pageInfoClickPage, getParentURlParme } from './btnClicks';
import newLineDefaultUtil from './utils/newLineDefaultUtil';
import { checkDeleteRows } from './utils/rowDeleteUtil';
import { btnClickController, buttonController } from './viewController/index';
@ -134,7 +134,7 @@ class PickmCard extends Component {
render() {
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 multiLang = this.props.MutiInit.getIntl(this.moduleId);
let { createForm } = form;
@ -144,8 +144,8 @@ class PickmCard extends Component {
const { createCardPagination } = cardPagination;
let { showUploader, target } = this.state;
// this.props.use.form('NCTable_83c3abf9')
//         this.props.form.setFormStatus('NCTable_83c3abf9', 'edit')
// this.props.use.form('NCTable_83c3abf9')
//         this.props.form.setFormStatus('NCTable_83c3abf9', 'edit')
return (
<div className='nc-bill-card' id='mm-mmpac-pickm-card' >
{socket.connectMesg({
@ -273,7 +273,7 @@ class PickmCard extends Component {
title: '备料明细',
content: (
<div class="flex-container" style={{ height: '100%' }}>
{createSimpleTable("NCTable_83c3abf9", {showIndex: true})}</div>
{createSimpleTable("NCTable_83c3abf9", { showIndex: true })}</div>
),
size: '500',
beSureBtnClick: () => {
@ -303,6 +303,7 @@ class PickmCard extends Component {
success: (res) => {
if (res.success) {
toast({ color: 'success', title: "推送成功" });
this.props.modal.close('NCTable_83c3abf9');
}
}
});