bom源码及BOM增加图纸下载按钮

This commit is contained in:
mzr 2025-08-09 15:11:08 +08:00
parent ed62a85dbd
commit 5a6efe5ae1
1006 changed files with 1155 additions and 112468 deletions

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MM_BD_Front_NCCNATIVE</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

Binary file not shown.

View File

@ -1,85 +0,0 @@
import React, {Component} from 'react';
import {base, ajax, toast} from 'nc-lightapp-front'
import WkSelect from './WkSelect'
let {NCModal, NCButton} = base
const saveAassignVOs = '/nccloud/mmbd/aassign/saveAassignVOs.do' //提交选择结果
class AssignModal extends Component {
constructor(props){
super(props)
this.state = {
modal: {
show: false,
modalDropup: true,
size: 'xlg'
},
isCancelAssign: false,
cactivityid: null, //选中的作业档案pk
pk_org: null //当前工厂pk
},
this.onfinish = null
}
show = (data, isCancelAssign, callback) => {
this.state.modal.show = true
this.state.cactivityid = data.cactivityid
this.state.pk_org = data.pk_org
this.props.setUrlParam({currentorg: data.pk_org})
this.state.isCancelAssign = !! isCancelAssign
this.onfinish = callback
this.setState(this.state)
}
onSubmit = () => {
console.log(this.wkSelect.state)
let data = {
pk_org: this.wkSelect.state.currentorg,
cactivityid: this.wkSelect.state.cactivityid,
aassignedvos: this.wkSelect.state.selectedData
}
ajax({
url: saveAassignVOs,
data,
success: (res)=>{
this.state.modal.show = false
this.setState(this.state)
this.onfinish()
}
})
}
onCancel = () => {
this.state.modal.show = false
this.setState(this.state)
}
render = () => {
var modalCfg = {...this.state.modal}
return (
<NCModal
fieldid="assign"
{...modalCfg}>
<NCModal.Header closeButton={false}>
<NCModal.Title>{this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN4000')}</NCModal.Title>
</NCModal.Header>
<NCModal.Body>
<div>
<WkSelect ref={(wkSelect)=>this.wkSelect = wkSelect} {...this.props} />
</div>
</NCModal.Body>
<NCModal.Footer>
<span>
<NCButton fieldid="submit" onClick={this.onSubmit.bind(this)}>{this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN3008')}</NCButton>
</span>
<NCButton fieldid="cancel" onClick={this.onCancel.bind(this)}>{this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN3017')}</NCButton>
</NCModal.Footer>
</NCModal>
)
}
}
export default AssignModal

View File

@ -1,213 +0,0 @@
import React, {Component} from 'react';
import {base, ajax, toast, high} from 'nc-lightapp-front'
import { initLang, getLangByResId } from '../../public/tools/multiLangUtil';
let { NCModal, NCButton, NCHotKeys,NCTooltip } = base;
const { Transfer } = high
const queryaassignvobyactivity = '/nccloud/mmbd/aassign/queryaassignvobyactivity.do' //根据作业档案pk查询已选、可选工作中心
const saveAassignVOs = '/nccloud/mmbd/aassign/saveAassignVOs.do' //提交选择结果
class AssignTransferModal extends Component {
constructor(props){
super(props)
this.state = {
modal: {
show: false,
modalDropup: true
// size: '200px'
},
isCancelAssign: false,
cactivityid: null, //选中的作业档案pk
pk_org: null, //当前工厂pk
allDatas: [],
dataSource: [],
targetKeys:[]
},
this.onfinish = null
initLang(this, ['10140AASSIGN'], 'uapbd');
}
show = (data, isCancelAssign, callback) => {
console.log(data)
this.state.modal.show = true
this.state.cactivityid = data.cactivityid
this.state.pk_org = data.pk_org
this.state.json = data.json
this.state.allDatas = []
this.props.setUrlParam({currentorg: data.pk_org})
this.state.isCancelAssign = !! isCancelAssign
this.onfinish = callback
let queryparam = {
pk_org: this.state.pk_org,
cactivityid: this.state.cactivityid,
isall:true
}
console.log(queryparam)
ajax({
url: queryaassignvobyactivity,
data: queryparam,
success: (res)=>{
if(res.data){
this.state.dataSource = []
this.state.targetKeys = []
console.log(res.data)
res.data.map((line)=>{
let json = JSON.parse(line)
this.state.allDatas.push(json)
let title = json.code + ' ' + json.name
this.state.dataSource.push({key: json.code, title: title})
if(json.assigned == true || json.assigned == 'true'){
this.state.targetKeys.push(json.code)
}
})
this.setState(this.state)
}
}
})
}
onSubmit = () => {
let selectedData = []
this.state.allDatas.forEach(data=>{
if(data.assigned == true){
selectedData.push(data);
}
})
let data = {
pk_org: this.state.pk_org,
cactivityid: this.state.cactivityid,
aassignedvos: selectedData
}
ajax({
url: saveAassignVOs,
data,
success: (res)=>{
this.state.modal.show = false
this.setState(this.state)
this.onfinish()
toast({
content:getLangByResId(this, '10140AASSIGN3013'), // /*国际化处理:分配成功 */
color: 'success'
})
}
})
}
onCancel = () => {
this.state.modal.show = false
this.setState(this.state)
}
onTargetKeysChange = (targetKeys) => {
console.log('onTargetKeysChange')
this.state.allDatas.forEach((item)=>{
let isAssigned = false
for(let i = 0; i < targetKeys.length; i++){
if(item.code === targetKeys[i]){
isAssigned = true
break
}
}
item.assigned = isAssigned;
})
this.state.targetKeys = targetKeys
this.setState(this.state)
}
render = () => {
var modalCfg = {...this.state.modal}
//console.log(this.state.dataSource)
var transferProps = {
dataSource: this.state.dataSource,
targetKeys: this.state.targetKeys,
// titles: [getLangByResId(this,'10140AASSIGN4011'),getLangByResId(this,'10140AASSIGN4012')],
rowKey: 'key',
rowTitle: 'title',
//rowChildren: 'children',
treeType: false,
lazy: {container: 'modal'},
onTargetKeysChange: this.onTargetKeysChange,
checkable: true,
showMoveBtn: false,
showSearch: true,
searchPlaceholder: ' ',
listRender: ({key, title}) => title
};
console.log(transferProps)
return (
<NCModal
size='lg'
onHide={ this.onCancel }
fieldid="assigntransfer"
{...modalCfg} >
<NCModal.Header closeButton={true}>
<NCModal.Title>{getLangByResId(this, '10140AASSIGN4000')}</NCModal.Title>
</NCModal.Header>
<NCModal.Body>
{/* <WkSelect ref={(wkSelect)=>this.wkSelect = wkSelect} {...this.prop s} /> */}
<Transfer {...transferProps}/>
</NCModal.Body>
<NCModal.Footer>
<NCHotKeys
keyMap={{
linkActionSign: ["Alt+Y"],
backActionSign: ["Alt+N"]
}}
handlers={{
linkActionSign: (e, ...others) => {
// this.onConfirmBtnClick.bind(this)(this.props);
this.onSubmit.bind(this)();
},
backActionSign: (e, ...others) => {
// onHide()
this.onCancel.bind(this)()
}
}}
// 是否启用组件
enabled={true}
// 是否为聚焦触发
focused={true}
// 默认display 可以设置 inline-block 等dispaly属性
display="inline-block"
>
<NCTooltip
placement="top"
inverse
overlay={`${this.state.json ? this.state.json['50120006-000007'] : ""} (${
["Alt+Y"]
})`}
trigger={["focus", "hover"]}
className="model-helper-overlay"
>
<NCButton fieldid="submit" colors="primary" onClick={this.onSubmit.bind(this)}>{getLangByResId(this,'10140AASSIGN3008')}
(<span className="text-decoration-underline">Y</span>)
</NCButton>
</NCTooltip>
<NCTooltip
placement="top"
inverse
overlay={`${this.state.json ? this.state.json['50120006-000008'] : ""} (${
["Alt+N"]
})`}
trigger={["focus", "hover"]}
className="model-helper-overlay"
>
<NCButton fieldid="return" shape="border" onClick={this.onCancel.bind(this)}>{getLangByResId(this,'10140AASSIGN3017')}
(<span className="text-decoration-underline">N</span>)
</NCButton>
</NCTooltip>
</NCHotKeys>
</NCModal.Footer>
</NCModal>
)
}
}
export default AssignTransferModal

View File

@ -1,192 +0,0 @@
import React, {Component} from 'react'
import {base, ajax} from 'nc-lightapp-front'
import classnames from 'classnames'
let {NCTable, NCCheckbox, NCButton} = base
const tableId = 'actlist'
const queryaassignvobyactivity = '/nccloud/mmbd/aassign/queryaassignvobyactivity.do' //根据作业档案pk查询已选、可选工作中心
import '../../../../uapbd/public/uapbdstyle/uapbd_style_common'
import './WkSelect.less'
class WkSelect extends Component {
constructor(props){
super(props)
this.state = {
allData: [],
selectedData: [],
checkedAll: false,
checkboxStatus: [],
currentorg: props.getUrlParam('currentorg'),
cactivityid: props.cardTable.getClickRowIndex(tableId) ? props.cardTable.getClickRowIndex(tableId).record.values['cactivityid'].value : null
}
console.log(this.state)
}
getAllTableColumns = () =>{
let defaultColumns = [{
title: (<NCCheckbox className='table-checkbox' checked={this.state.checkedAll} onChange={this.onAllCheckChange.bind(this)} />),
key: 'checkbox',
dataIndex: 'checkbox',
width:'10%',
render: (text, record, index)=>{
return(
<NCCheckbox className='table-checkbox' checked={this.state.checkboxStatus[index]} onChange={this.onCheckboxChange.bind(this,text,record,index)} />
)
}
}]
let cols = [{
title: this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN4008'), //'工作中心编码'
dataIndex: 'code',
width: '30%'
},{
title: this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN4009'), //'工作中心名称'
dataIndex: 'name',
width: '30%'
}]
cols = defaultColumns.concat(cols)
return cols
}
getSelectedTableColumns = () => {
let cols = [{
title: this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN4008'), //'工作中心编码'
dataIndex: 'code',
width: '30%'
},{
title: this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN4009'), //'工作中心名称'
dataIndex: 'name',
width: '30%'
},{
title: this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN3002'), //'操作',
dataIndex: 'cancel',
width: '20%',
render: function(text, record, index) {
let delFn = () =>{
let datas = this.state.selectedData
this.state.selectedData = datas.filter((data)=> data.cwkid != record.cwkid)
for(let i = 0; i < this.state.allData.length; i++){
if(this.state.allData[i].cwkid == record.cwkid){
this.state.checkboxStatus[i] = false
}
}
this.setState(this.state)
}
return (<NCButton fieldid="delfn" onClick={delFn.bind(this)}>{this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN4010')}</NCButton>)
}.bind(this)
}]
return cols
}
onAllCheckChange = () => {
this.state.checkedAll = !this.state.checkedAll
this.state.selectedData = this.state.checkedAll == true ? this.state.allData : []
this.state.checkboxStatus = this.state.checkboxStatus.map((item)=>{
return this.state.checkedAll
})
this.setState(this.state)
}
onCheckboxChange = (text, record, index) => {
if(this.state.checkboxStatus[index] == true){
this.state.checkboxStatus[index] = false
this.state.selectedData = this.state.selectedData.filter((data)=>data.cwkid != record.cwkid)
}else{
this.state.checkboxStatus[index] = true
this.state.selectedData.push(record)
}
let checkall = true
this.state.checkboxStatus.forEach((item)=>{
if(item == false){
checkall = false
}
})
this.state.checkedAll = checkall
this.setState(this.state)
}
componentDidMount() {
if(this.state.currentorg == null){
return
}
this.reset()
}
reset = () => {
console.log(this.state)
let data = {
pk_org: this.state.currentorg,
cactivityid: this.state.cactivityid,
isall:true
}
ajax({
url: queryaassignvobyactivity,
data,
success: (res)=>{
if(res.data){
this.state.allData = []
this.state.selectedData = []
this.state.checkboxStatus = []
res.data.map((line)=>{
let json = JSON.parse(line)
this.state.allData.push(json)
if(json.assigned == true || json.assigned =='true'){
this.state.selectedData.push(json)
this.state.checkboxStatus.push(true)
}else{
this.state.checkboxStatus.push(false)
}
})
this.setState(this.state)
}
}
})
}
render = () => {
let lefttable = {
main:this,
rowKey:'id',
bodyStyle:{height:'330px'},
columns:this.getAllTableColumns()
}
let righttable = {
main: this,
rowKey: 'id',
bodyStyle:{height:'330px'},
columns:this.getSelectedTableColumns()
}
let leftdata = this.state.allData
let rightdata = this.state.selectedData
return(
<div className = 'transfer_tree_container' style={{marginTop: '5px'}}>
<div className='left-area' style={{height:'400px',padding:'10px',backgroud:'rgb(249,249,249)',width:'calc(50%-10px)'}}>
<div style={{marginBottom: '10px'}}>{this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN4011')}</div>
<NCTable {...lefttable} data={leftdata} {...{scroll:{y:'390px'}}}></NCTable>
</div>
<div className='right-area' style={{marginLeft:15,height:'400px',padding:'10px',backgroud:'rgb(249,249,249)',width:'calc(50%-10px)'}}>
<div style={{marginBottom: '10px'}}>{this.props.MultiInit.getLangData("10140AASSIGN").intl && this.props.MultiInit.getLangData("10140AASSIGN").intl.get('10140AASSIGN4012')}</div>
<NCTable {...righttable} data={rightdata} {...{scroll:{y:'390px'}}}></NCTable>
</div>
</div>
)
}
}
export default WkSelect

View File

@ -1,5 +0,0 @@
.assign-orgselect-tree-div{
height: 400px;
overflow: scroll;
}

View File

@ -1,622 +0,0 @@
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { createPage, ajax, toast, createPageIcon, getMultiLang, base } from 'nc-lightapp-front';
import FactoryGridRef from '../../../refer/org/FactoryGridRef/index';
//import AssignModal from '../excomponents/AssignModal';
import AssignTransferModal from '../excomponents/AssignTransferModal';
import { initLang, getLangByResId } from '../../public/tools/multiLangUtil';
const { NCIcon } = base;
const { NCDiv } = base;
const tableId1 = 'actlist'; //上:作业档案区域
const tableId2 = 'wclist'; //下:工作中心区域
const cactivityid = 'cactivityid'; //作业档案主键
const cwkid = 'cwkid'; //工作中心主键
const cassignid = 'cassignid'; //作业分配主键
const appcode = '10140AASSIGN'; //节点编码
const pageId = '10140AASSIGN_list'; //作业分配列表页面pageid
const dataSource = 'mmbd.aassign.aassign.data';
const queryListUrl = '/nccloud/mmbd/aassign/queryactivity.do'; //根据pk_group、pk_org查询作业档案
const queryaassignvobyactivity = '/nccloud/mmbd/aassign/queryaassignvobyactivity.do'; //根据作业档案pk查询已选、可选工作中心
const saveUnAassignVOs = '/nccloud/mmbd/aassign/saveUnAassignVOs.do'; //提交选择结果
//作业分配
class List extends Component {
constructor(props) {
super(props);
console.log(window.document.body.clientHeight);
this.tableId1 = tableId1; //actlist
this.tableId2 = tableId2; //wclist
this.selectedActivityRowRecord = null; //作业档案选中行
this.selectedWkRowRecords = []; //工作中心选中行
this.state = {
json: {},
inlt: null,
pk_org: null, //当前选择的工厂参照
height: window.document.body.clientHeight
};
props.use.table(this.tableId1, this.tableId2);
initLang(this, [ '10140AASSIGN', '10140MMPUBMSG' ], 'uapbd', this.initTemplate(this.props));
}
reloadHeight = () => {
this.setState({
height: window.document.body.clientHeight
});
};
componentDidMount() {
console.log('did mount');
window.addEventListener('resize', this.reloadHeight);
//多语初始化后的回调函数
let callback = (json, status, inlt) => {
if (status) {
this.setState({ json, inlt });
}
};
// let callbacknoinit = (json, status, inlt) => {
// if(status) {
// this.setState({pubjson: {...json}})
// }
// }
//多与初始化
//this.props.MultiInit.getMultiLang({moduleId: '10140AASSIGN', domainName: 'uapbd',callback})
//this.props.MultiInit.getMultiLang({moduleId: '10140mmpubmsg', domainName: 'uapbd', callback: callbacknoinit})
//特殊处理:工厂参照--处理初始化时默认选择的工厂
let pk_org = this.props.getUrlParam('pk_org');
if (pk_org && pk_org.refpk) {
let tableData = {
allpks: [],
rows: []
};
this.props.setAllTableData(tableId1, tableData); //作业档案列表清空
this.props.setAllTableData(tableId2, tableData); //工作中心列表清空
this.setState({ pk_org: pk_org }); //记录当前选择的工厂
this.getData(pk_org.refpk, true); //根据当前选择的工厂查询数据并加载
}
this.setBtnStatus();
}
componentWillUnmount() {
console.log('will unmount');
window.removeEventListener('resize', this.reloadHeight);
}
initTemplate = (props) => {
props.createUIDom(
{
pagecode: pageId,
appcode: appcode
},
(data) => {
if (data) {
if (data.template) {
//初始化模板信息
let meta = data.template; //应用注册中配置的模板信息
meta = this.modifierMeta(props, meta); //动态调整
props.meta.setMeta(meta); //更新模板信息
}
if (data.button) {
//初始化按钮信息
let button = data.button;
props.button.setButtons(button);
}
if (data.context) {
if (data.context.pk_org) {
this.setState(
{
pk_org: {
value: data.context.pk_org,
display: data.context.org_Name,
refpk: data.context.pk_org,
refname: data.context.org_Name
}
},
() => {
this.getData(data.context.pk_org, true);
}
);
} else {
//没有默认工厂时,所有按钮置灰
props.button.setButtonDisabled([ 'Assign', 'UnAssign', 'Refresh' ], true);
}
}
}
}
);
};
//在单据模板加载基础上的调整
modifierMeta(props, meta) {
//添加操作列
meta[tableId2].items.push({
itemtype: 'customer',
attrcode: 'opr',
label: getLangByResId(this, '10140AASSIGN3002'), //国际化处理:操作
width: 200,
className: 'table-opr',
visible: true,
fixed: 'right',
render: (text, record, index) => {
let btnArray = [ 'RowUnAssign' ];
return props.button.createOprationButton(btnArray, {
area: 'Inner',
buttonLimit: 1,
onButtonClick: (props, id) => {
props.table.selectAllRows(tableId2, false);
props.table.selectTableRows(tableId2, index, true);
this.selectedWkRowRecords = [];
this.selectedWkRowRecords.push({ values: record });
let aassignrecords = [];
this.selectedWkRowRecords.forEach((item) => {
let one = {
cwkid: item.values['cwkid.cwkid'].value,
pk_group: item.values['pk_group'].value,
pk_org: item.values['pk_org'].value,
pk_org_v: item.values['pk_org_v'].value,
cactivityid: this.selectedActivityRowRecord.cactivityid.value
};
aassignrecords.push(one);
});
console.log(aassignrecords);
let data = {
pk_org: this.state.pk_org.value,
cactivityid: this.selectedActivityRowRecord.cactivityid.value,
aassignedvos: aassignrecords
};
ajax({
url: saveUnAassignVOs,
data,
success: (res) => {
toast({
title: getLangByResId(this, '10140AASSIGN3016'), //取消分配成功
color: 'success'
});
this.queryAassignvoByActivity(props, data, false, null);
}
});
}
});
}
});
return meta;
}
refreshAction = (props, showToast) => {
let pk_org = props.getUrlParam('pk_org');
if (pk_org == null || pk_org == '') {
if (this.state.pk_org == null || this.state.pk_org.value == '') {
return;
} else {
pk_org = this.state.pk_org.value;
}
}
this.getData(pk_org, false, () => {
if (showToast) {
toast({
title: getLangByResId(this, '10140AASSIGN4003'), //'刷新成功'
color: 'success'
});
}
});
};
getData(pk_org, showToast = false, callback) {
let data = {
pageInfo: {
pageIndex: 0,
pageSize: 10,
total: 0,
totalPage: 0
},
pagecode: pageId,
pk_org: pk_org
};
ajax({
url: queryListUrl,
data,
success: (res) => {
console.log(res);
let allPks = [];
if (res.data) {
res.data[tableId1].rows.forEach((row) => {
allPks.push(row.values[cactivityid].value);
});
res.data[tableId1].allpks = allPks;
this.props.table.setAllTableData(tableId1, res.data[tableId1]);
//上下表体中的选中记录清空
this.selectedActivityRowRecord = null;
this.selectedWkRowRecords = [];
this.setBtnStatus();
//清空子表
this.props.table.setAllTableData(tableId2, { rows: [] });
//查询结果提示
let count = allPks.length;
if (showToast) {
//查询成功的提示,仅在手动点击查询按钮时给出
// toast({
// title: '',
// // content: getLangByResId(this, '10140AASSIGN4001', {count: count}), //查询成功,共{count}条
// content: getLangByResId(this, '10140AASSIGN4013'), //查询成功
// color: 'success'
// })
}
} else {
let tableData = { allpks: [], rows: [] };
this.props.table.setAllTableData(tableId1, tableData);
this.props.table.setAllTableData(tableId2, { rows: [] });
//上下表体中的选中记录清空
this.selectedActivityRowRecord = null;
this.selectedWkRowRecords = [];
this.setBtnStatus();
//查询结果提示
if (showToast) {
// 不是查询按钮不需要提示
// toast({
// title: '',
// content:getLangByResId(this, '10140AASSIGN4005'), //'未查询出符合条件的数据!',
// color: 'warning'
// })
}
}
if (callback && typeof callback == 'function') {
callback();
}
}
});
}
setBtnStatus(table2data = null) {
let actrows = this.props.table.getAllTableData(tableId1).rows; //作业档案列表
if (actrows && actrows.length > 0) {
this.props.button.setButtonDisabled([ 'Refresh' ], false);
if (this.selectedActivityRowRecord) {
if (table2data != null && table2data.rows.length > 0) {
this.props.button.setButtonDisabled([ 'Assign' ], false);
this.props.button.setButtonDisabled([ 'UnAssign' ], true);
} else {
this.props.button.setButtonDisabled([ 'Assign' ], false);
this.props.button.setButtonDisabled([ 'UnAssign' ], true);
}
} else {
this.props.button.setButtonDisabled([ 'Assign', 'UnAssign' ], true);
}
} else {
this.props.button.setButtonDisabled([ 'Assign', 'UnAssign', 'Refresh' ], true);
this.props.button.setButtonDisabled([ 'Refresh' ], false);
}
}
//改变工厂
onUnitChange = (refdata) => {
this.setState({
pk_org: {
value: refdata.refpk,
display: refdata.refname,
refpk: refdata.refpk,
refname: refdata.refname
}
});
if (refdata.refpk) {
this.getData(refdata.refpk, true, () => {});
} else {
this.props.table.setAllTableData(tableId1, { rows: [] });
this.props.table.setAllTableData(tableId2, { rows: [] });
//上下表体中的选中记录清空
this.selectedActivityRowRecord = null;
this.selectedWkRowRecords = [];
this.setBtnStatus();
}
if (Object.keys(refdata).length == 0) {
this.props.button.setButtonDisabled([ 'Refresh' ], true);
}
};
//按钮事件
buttonClick = (props, id) => {
switch (id) {
case 'Refresh':
this.refreshAction(props, true);
break;
case 'Assign':
//分配
this.onAssignClick(props, id);
break;
case 'UnAssign':
//取消分配
this.onUnAssignClick(props, id);
break;
default:
break;
}
};
onAssignClick = (props, id) => {
if (this.selectedActivityRowRecord == null) {
toast({
content: getLangByResId(this, '10140AASSIGN4006'), //'请先选择一个作业档案!',
color: 'warning'
});
return;
}
let data = {
cactivityid: this.selectedActivityRowRecord.cactivityid.value,
pk_org: this.state.pk_org.value
};
this.assignModal.show(data, false, () => {
console.log('assignModal close');
this.props.table.setAllTableData(tableId2, { rows: [] });
this.selectedWkRowRecords = [];
this.queryAassignvoByActivity(props, data, false, null);
});
};
onUnAssignClick = (props, id) => {
if (this.selectedActivityRowRecord == null) {
toast({
content: getLangByResId(this, '10140AASSIGN4006'), //'请先选择一个作业档案!',
color: 'warning'
});
return;
}
if (
this.props.table.getAllTableData(tableId2).rows == null ||
this.props.table.getAllTableData(tableId2).rows.length == 0
) {
toast({
content: getLangByResId(this, '10140AASSIGN4007'), //'该作业档案没有已分配的工作中心!',
color: 'warning'
});
return;
}
if (this.selectedWkRowRecords == null || this.selectedWkRowRecords.length == 0) {
//如果没有选择工作中心,则提示没有勾选行
toast({
content: getLangByResId(this, '10140AASSIGN4004'), //'没有勾选行',
color: 'warning'
});
return;
} else {
let aassignrecords = [];
this.selectedWkRowRecords.forEach((item) => {
let one = {
cwkid: item.values['cwkid.cwkid'].value,
pk_group: item.values['pk_group'].value,
pk_org: item.values['pk_org'].value,
pk_org_v: item.values['pk_org_v'].value,
cactivityid: this.selectedActivityRowRecord.cactivityid.value
};
aassignrecords.push(one);
});
console.log(aassignrecords);
let data = {
pk_org: this.state.pk_org.value,
cactivityid: this.selectedActivityRowRecord.cactivityid.value,
aassignedvos: aassignrecords
};
ajax({
url: saveUnAassignVOs,
data,
success: (res) => {
this.props.table.setAllTableData(tableId2, { rows: [] });
this.selectedWkRowRecords = [];
toast({
title: getLangByResId(this, '10140AASSIGN3016'), //取消分配成功
color: 'success'
});
this.queryAassignvoByActivity(props, data, false, null);
}
});
}
};
onActivityClick = (props, moduleId, record, index, status) => {
let showToast = false;
let oldrecord = this.selectedActivityRowRecord;
this.selectedActivityRowRecord = record;
console.log(this.selectedActivityRowRecord);
this.selectedWkRowRecords = [];
if (this.selectedActivityRowRecord) {
if (oldrecord == null || oldrecord.cactivityid.value != this.selectedActivityRowRecord.cactivityid.value) {
props.table.setAllTableData(tableId2, { rows: [] });
}
}
let data = {
cactivityid: this.selectedActivityRowRecord.cactivityid.value,
pk_org: this.state.pk_org.value
};
this.queryAassignvoByActivity(props, data, false, null);
};
queryAassignvoByActivity = (props, data, isShowToast = false, callback) => {
ajax({
url: queryaassignvobyactivity,
data,
success: (res) => {
if (res.data) {
// let tabledata = {
// rows: [],
// areacode: 'wclist'
// }
// res.data.map((line)=>{
// let json = JSON.parse(line)
// if(json.assigned == true || json.assigned =='true'){
// let temp = {}
// temp['cwkid.cwkid'] = json['cwkid']
// temp['cwkid.pk_group'] = json['pk_group']
// temp['cwkid.pk_org'] = json['pk_org']
// temp['cwkid.pk_org_v'] = json['pk_org_v']
// temp['cwkid.vwkcode'] = {value:json['code'], display:json['code']}
// temp['cwkid.vwkname'] = {value:json['name'], display:json['name']}
// tabledata.rows.push({values:temp})
// }
// })
let tabledata = res.data[tableId2];
this.selectedActivityRowRecord['assignedWkRecords'] = res.data[tableId2];
if (tabledata.rows.length > 0) {
this.selectedWkRowRecords.push({ values: tabledata.rows[0].values });
}
console.log(this.selectedActivityRowRecord);
console.log(this.selectedWkRowRecords);
props.table.setAllTableData(tableId2, tabledata);
// console.log(props.cardTable.getAllData(tableId2))
this.setBtnStatus(tabledata);
//查询结果提示
let count = tabledata.rows.length;
let { inlt } = this.state;
if (isShowToast) {
toast({ title: '', content: inlt.get('10140AASSIGN4001', { count: count }), color: 'success' });
}
} else {
let tableData = { cactivityid: this.selectedActivityRowRecord.pk_org.value, rows: [] };
this.selectedActivityRowRecord['assignedWkRecords'] = [];
props.table.setAllTableData(tableId2, tableData);
this.setBtnStatus();
//查询结果提示
if (isShowToast) {
toast({
title: '',
content: getLangByResId(this, '10140AASSIGN4007'), //'当前作业档案没有分配工作中心!',
color: 'warning'
});
}
}
if (callback && typeof callback == 'function') {
callback();
}
}
});
};
onWkSelected = (props, moduleId, record, index, status, table2data) => {
let actrows = this.props.table.getAllTableData(tableId1).rows;
this.selectedWkRowRecords = [];
props.table.getCheckedRows(tableId2).map((row) => {
let values = row.data.values;
this.selectedWkRowRecords.push({ values: values });
this.props.button.setButtonDisabled([ 'UnAssign' ], false);
});
if (this.selectedWkRowRecords == null || this.selectedWkRowRecords == []) {
if (
this.selectedActivityRowRecord['assignedWkRecords'] != null &&
this.selectedActivityRowRecord['assignedWkRecords'].length > 0
) {
this.selectedWkRowRecords.push({
values: this.selectedActivityRowRecord['assignedWkRecords'][0].values
});
}
}
};
//作业分配主子表
render() {
const { createBillHeadInfo } = this.props.BillHeadInfo;
let { table, button } = this.props;
let buttons = this.props.button.getButtons();
buttons = buttons.sort((a, b) => {
return b.btnorder - a.btnorder;
});
let { createSimpleTable } = table;
let { createButtonApp } = button;
return (
// <div className="nc-bill-list" style={{height: this.state.height - 136}}> //减去高度会使下表格不托底
<div className="nc-bill-list">
<NCDiv areaCode={NCDiv.config.HEADER} className="nc-bill-header-area header">
<div className="header-title-search-area">
{/* {createPageIcon()}
<h2 className='title-search-detail'>{getLangByResId(this, '10140AASSIGN4000')}</h2> */}
<span>
{createBillHeadInfo({
title: getLangByResId(this, '10140AASSIGN4000'),
initShowBackBtn: false
})}
</span>
</div>
<div className="search-box" style={{ position: 'relative', marginTop: '5px' }}>
<NCIcon.Required>
{FactoryGridRef({
onChange: this.onUnitChange.bind(this),
foolValue: this.state.pk_org,
value: [ this.state.pk_org ],
isDataPowerEnable: false,
queryCondition: {
GridRefActionExt: 'nccloud.web.mmbd.refer.pub.AppPermissionOrgRefFilter'
}
})}
</NCIcon.Required>
</div>
<div className="header-button-area">
{createButtonApp({
area: 'header',
buttonLimit: 3,
onButtonClick: this.buttonClick.bind(this),
popContainer: document.querySelector('.header-button-area')
})}
</div>
</NCDiv>
{/* <div className="nc-bill-table-area" style={{maxHeight: 200, overflowY: 'auto'}}> //div中overflowY会导致滚动时字段也一起滚动 */}
{/* <div className="nc-bill-table-area" style={{maxHeight: 200}}> style={{flex: 'none', height: '50%'}} */}
<div className="nc-bill-table-area" style={{ flex: 'none', height: '50%' }}>
{createSimpleTable(tableId1, {
dataSource: dataSource,
pkname: cactivityid,
showIndex: true,
showCheck: false,
onRowClick: this.onActivityClick.bind(this)
//height: 200,
//maxHeight:200
})}
</div>
<div className="nc-bill-table-area">
{createSimpleTable(tableId2, {
dataSource: dataSource,
pkname: cassignid,
showIndex: true,
showCheck: true,
onSelected: this.onWkSelected.bind(this),
onSelectedAll: this.onWkSelected.bind(this),
onBatchSelected: this.onWkSelected.bind(this),
adaptionHeight: true //表格是否自适应高度,占满屏幕
//height: 300
})}
</div>
<AssignTransferModal ref={(assignModal) => (this.assignModal = assignModal)} {...this.props} />
</div>
);
}
}
List = createPage({
initTemplate: [],
mutiLangCode: '10140AASSIGN'
})(List);
export default List;

View File

@ -1,6 +0,0 @@
import {RenderRouter} from 'nc-lightapp-front'
import routes from './router'
(function main(routes, htmlTagid) {
RenderRouter(routes, htmlTagid)
})(routes, 'app')

View File

@ -1,17 +0,0 @@
import {asyncComponent} from 'nc-lightapp-front'
import List from '../list'
const routes = [
{
path: '/',
component: List,
exact: true
},
{
path: '/list',
component: List
}
]
export default routes

View File

@ -1,3 +1,4 @@
/*IHTivaHGTSm9T7chEWjS8QMwpg1SIEMOeDuzFmjloOo=*/
import {onHeadAfterEvent} from './onHeadAfterEvent' import {onHeadAfterEvent} from './onHeadAfterEvent'
import {onCardItemAfterEvent} from './onCardItemAfterEvent' import {onCardItemAfterEvent} from './onCardItemAfterEvent'
import {onCardOutputsAfterEvent} from './onCardOutputsAfterEvent' import {onCardOutputsAfterEvent} from './onCardOutputsAfterEvent'
@ -7,3 +8,4 @@ export {
onCardItemAfterEvent, onCardItemAfterEvent,
onCardOutputsAfterEvent onCardOutputsAfterEvent
} }
/*IHTivaHGTSm9T7chEWjS8QMwpg1SIEMOeDuzFmjloOo=*/

View File

@ -1,3 +1,4 @@
/*trEgbf0aDiXc2zSoKvGlJ30/ibssZwp5ZwC805g2wK0=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-表体后事件 * @PageInfo: BOM维护卡片-表体后事件
@ -293,3 +294,5 @@ function onCardItemAfterEvent(props, moduleId, key, value, changedrows, index, r
} }
} }
export { onCardItemAfterEvent }; export { onCardItemAfterEvent };
/*trEgbf0aDiXc2zSoKvGlJ30/ibssZwp5ZwC805g2wK0=*/

View File

@ -1,3 +1,4 @@
/*rXmj8JdGVwyoN7DXdRmTRuStiHP5bZd2Tk0H4SydEm117L4+Cz2uwE6RZ3gBAeZ4*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项通用后事件 * @PageInfo: BOM维护卡片-材料表体子项通用后事件
@ -62,3 +63,4 @@ function initRequstParam(props, propertyname){
export { onCardItemCommonPropertyAfterEvent} export { onCardItemCommonPropertyAfterEvent}
/*rXmj8JdGVwyoN7DXdRmTRuStiHP5bZd2Tk0H4SydEm117L4+Cz2uwE6RZ3gBAeZ4*/

View File

@ -1,3 +1,4 @@
/*Tda5LEeAaO5R7aCjkqBgiEaPmfFEYVBt2+Fn3C9dEq3MmDUNmRRXZOXpB+obUzfw*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体后事件 * @PageInfo: BOM维护卡片-联副产品表体后事件
@ -57,3 +58,4 @@ function onCardOutputsAfterEvent(props, moduleId, key, value, changedrows, index
export { onCardOutputsAfterEvent} export { onCardOutputsAfterEvent}
/*Tda5LEeAaO5R7aCjkqBgiEaPmfFEYVBt2+Fn3C9dEq3MmDUNmRRXZOXpB+obUzfw*/

View File

@ -1,3 +1,4 @@
/*WVFUdXHAj9sV1Qz72BP/zF9Dr/4pJ1ghEZoqUYOO9PF6vHLWwvbYjzzwMqeZ4cwq*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项vid后事件 * @PageInfo: BOM维护卡片-材料表体子项vid后事件
@ -146,3 +147,4 @@ function clearMatPropertyData(props, index){
} }
export { onCmaterialidAfterEvent} export { onCmaterialidAfterEvent}
/*WVFUdXHAj9sV1Qz72BP/zF9Dr/4pJ1ghEZoqUYOO9PF6vHLWwvbYjzzwMqeZ4cwq*/

View File

@ -1,3 +1,4 @@
/*mRSQ+QAp5/yqxLzC5hT0Ngu4Id9d/HFbxvvchd8t5zRYmLSQMT4TcnRwIcQrNnCR*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项vid后事件 * @PageInfo: BOM维护卡片-材料表体子项vid后事件
@ -148,3 +149,4 @@ function clearMatPropertyData(props, index){
} }
export { onCmaterialvidAfterEvent} export { onCmaterialvidAfterEvent}
/*mRSQ+QAp5/yqxLzC5hT0Ngu4Id9d/HFbxvvchd8t5zRYmLSQMT4TcnRwIcQrNnCR*/

View File

@ -1,3 +1,4 @@
/*+dS6EdPWJ3n6ajXm0K91ncTKntvCerwsyV3bpIH6Pas=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-fbomtype后事件 * @PageInfo: BOM维护卡片-fbomtype后事件
@ -9,7 +10,7 @@
import { BOM_AREA, BOM_BUSIENUM, BOM_CARD_HEAD_PROPERTY, BOM_CARD_ITEMS_PROPERTY, BOM_CARD_OUTPUTS_PROPERTY } from '../../constance' import { BOM_AREA, BOM_BUSIENUM, BOM_CARD_HEAD_PROPERTY, BOM_CARD_ITEMS_PROPERTY, BOM_CARD_OUTPUTS_PROPERTY } from '../../constance'
import { confirmDialog } from '../../components' import { confirmDialog } from '../../components'
import { matoidEvent, matvidEvent } from '../../utils' import { matoidEvent, matvidEvent } from '../../utils'
import { cardButtonController, outputButtonController } from '../viewController' import { cardButtonController, outputButtonController } from '../viewController/index'
import { fillBodyItemDefaultValueByIndx } from '../events' import { fillBodyItemDefaultValueByIndx } from '../events'
import { initLang, getLangByResId } from '../../../public/tools/multiLangUtil' import { initLang, getLangByResId } from '../../../public/tools/multiLangUtil'
import { RownoUtils } from '../../../utils/cardTools/RownoUtil' import { RownoUtils } from '../../../utils/cardTools/RownoUtil'
@ -146,3 +147,4 @@ function getServiceRequestParam(props, value, oldValue) {
} }
export { onFbomtypeAfterEvent } export { onFbomtypeAfterEvent }
/*+dS6EdPWJ3n6ajXm0K91ncTKntvCerwsyV3bpIH6Pas=*/

View File

@ -1,3 +1,4 @@
/*L9+E/ic0o8E23B0YTau3cFOZJVQGlApKwQvawMAJuTe37WSYbfPC0NLbKZKw6yGN*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-hcassmeasureid后事件 * @PageInfo: BOM维护卡片-hcassmeasureid后事件
@ -64,3 +65,4 @@ function getServiceRequestParam(props, value, oldValue){
} }
export { onHcassmeasureidAfterEvent } export { onHcassmeasureidAfterEvent }
/*L9+E/ic0o8E23B0YTau3cFOZJVQGlApKwQvawMAJuTe37WSYbfPC0NLbKZKw6yGN*/

View File

@ -1,3 +1,4 @@
/*1CW1303plnNGny4jQIT2FL7KuPBusJsFjSMrCSozb8FMpZHMAnZaSjlM+BCFrgmo*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-hcmaterialid后事件 * @PageInfo: BOM维护卡片-hcmaterialid后事件
@ -91,3 +92,4 @@ function getServiceRequestParam(props, value, oldValue){
} }
export { onHcmaterialidAfterEvent } export { onHcmaterialidAfterEvent }
/*1CW1303plnNGny4jQIT2FL7KuPBusJsFjSMrCSozb8FMpZHMAnZaSjlM+BCFrgmo*/

View File

@ -1,3 +1,4 @@
/*hHux4ngfkmboGx/kfG1zXr0jk0R40cCqGSqxsvqMSZL1NgJ6AorxPg4yJ9v3Ai5b*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-hcmaterialvid后事件 * @PageInfo: BOM维护卡片-hcmaterialvid后事件
@ -91,3 +92,4 @@ function getServiceRequestParam(props, value, oldValue){
} }
export { onHcmaterialvidAfterEvent } export { onHcmaterialvidAfterEvent }
/*hHux4ngfkmboGx/kfG1zXr0jk0R40cCqGSqxsvqMSZL1NgJ6AorxPg4yJ9v3Ai5b*/

View File

@ -1,3 +1,4 @@
/*bSURFqzdeLWD4RxKtjIFgyreYsrOvO7GqMMTXvSAp0k=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-表头后事件 * @PageInfo: BOM维护卡片-表头后事件
@ -83,3 +84,4 @@ function onHeadAfterEvent(props, moduleId, key, value, oldValue){
export { onHeadAfterEvent} export { onHeadAfterEvent}
/*bSURFqzdeLWD4RxKtjIFgyreYsrOvO7GqMMTXvSAp0k=*/

View File

@ -1,3 +1,4 @@
/*jwIaIBQ7vWWnXt8zqQ//daQa7/wJlXzlZ93V6boG9wyx++mREgmmArBsh1aSjuXo*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-hfversiontype后事件 * @PageInfo: BOM维护卡片-hfversiontype后事件
@ -33,3 +34,4 @@ function onHfversiontypeAfterEvent(props, value, oldValue, changeType){
export { onHfversiontypeAfterEvent } export { onHfversiontypeAfterEvent }
/*jwIaIBQ7vWWnXt8zqQ//daQa7/wJlXzlZ93V6boG9wyx++mREgmmArBsh1aSjuXo*/

View File

@ -1,3 +1,4 @@
/*QwRfkIis1TOPuxIjklpe765h9zV0SzqUYxniIHuEYKrpVcYZKYPBb3th6Mh1nWg2*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-hnassparentnum后事件 * @PageInfo: BOM维护卡片-hnassparentnum后事件
@ -58,3 +59,4 @@ function getServiceRequestParam(props, value, oldValue){
} }
export { onHnassparentnumAfterEvent } export { onHnassparentnumAfterEvent }
/*QwRfkIis1TOPuxIjklpe765h9zV0SzqUYxniIHuEYKrpVcYZKYPBb3th6Mh1nWg2*/

View File

@ -1,3 +1,4 @@
/*pCHLpMwu0DaOMdCv7RxvG5pvIQjwzn6Crm2O4H7V7okwccf6p5tE1k0EBUDIIftP*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-hnparentnum后事件 * @PageInfo: BOM维护卡片-hnparentnum后事件
@ -58,3 +59,4 @@ function getServiceRequestParam(props, value, oldValue){
} }
export { onHnparentnumAfterEvent } export { onHnparentnumAfterEvent }
/*pCHLpMwu0DaOMdCv7RxvG5pvIQjwzn6Crm2O4H7V7okwccf6p5tE1k0EBUDIIftP*/

View File

@ -1,3 +1,4 @@
/*wtnb9epCYwCsUPqxYUnm+B+Q9Q9TltbX2uZGEa2ndLlaJorE/Sew5dF/PPLA9WL5*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-hvchangerate后事件 * @PageInfo: BOM维护卡片-hvchangerate后事件
@ -58,3 +59,4 @@ function getServiceRequestParam(props, value, oldValue){
} }
export { onHvchangerateAfterEvent } export { onHvchangerateAfterEvent }
/*wtnb9epCYwCsUPqxYUnm+B+Q9Q9TltbX2uZGEa2ndLlaJorE/Sew5dF/PPLA9WL5*/

View File

@ -1,3 +1,4 @@
/*d1aJjjLAb4pmLdn2tLdlF5aHlDbv9KvHM68zvn0NwATk1D/ucqdPZ6qJBhc6QuwE*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项ndissipationum后事件 * @PageInfo: BOM维护卡片-材料表体子项ndissipationum后事件
@ -47,3 +48,4 @@ function fillMatPropertyData(props, data){
} }
export { onNdissipationumAfterEvent} export { onNdissipationumAfterEvent}
/*d1aJjjLAb4pmLdn2tLdlF5aHlDbv9KvHM68zvn0NwATk1D/ucqdPZ6qJBhc6QuwE*/

View File

@ -1,3 +1,4 @@
/*6vDFw34Xo3lR0DuKN71Hieb+diX2eBjdFyb5Kv+ccs3IGynzzYu9HuSHO118VfVS*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体子项vid后事件 * @PageInfo: BOM维护卡片-联副产品表体子项vid后事件
@ -135,3 +136,4 @@ function clearMatPropertyData(props, index){
} }
export { onOutputsCmaterialidAfterEvent} export { onOutputsCmaterialidAfterEvent}
/*6vDFw34Xo3lR0DuKN71Hieb+diX2eBjdFyb5Kv+ccs3IGynzzYu9HuSHO118VfVS*/

View File

@ -1,3 +1,4 @@
/*6vDFw34Xo3lR0DuKN71HifYDPbMzqWBDN0rZcyQJYdup9u8HI5Uwywim1cthMQ6s*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体子项vid后事件 * @PageInfo: BOM维护卡片-联副产品表体子项vid后事件
@ -135,3 +136,4 @@ function clearMatPropertyData(props, index){
} }
export { onOutputsCmaterialvidAfterEvent} export { onOutputsCmaterialvidAfterEvent}
/*6vDFw34Xo3lR0DuKN71HifYDPbMzqWBDN0rZcyQJYdup9u8HI5Uwywim1cthMQ6s*/

View File

@ -1,3 +1,4 @@
/*zwVucKEirbtUMAMyZ2UzSryCfBAe0VqstZxpxnd0eicdlPu9bZiKFDU8XUIbyLs3*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体子项通用后事件 * @PageInfo: BOM维护卡片-联副产品表体子项通用后事件
@ -57,3 +58,4 @@ function initRequstParam(props, propertyname){
export { onOutputsCommonPropertyAfterEvent} export { onOutputsCommonPropertyAfterEvent}
/*zwVucKEirbtUMAMyZ2UzSryCfBAe0VqstZxpxnd0eicdlPu9bZiKFDU8XUIbyLs3*/

View File

@ -1,3 +1,4 @@
/*tWL210U6OyBUtsn6JwPwwpMdH3MDExCriB5RIuNer+A=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-pk_org后事件 * @PageInfo: BOM维护卡片-pk_org后事件
@ -101,3 +102,4 @@ function clearPageDataAfterChangeOrg(props){
} }
export { onPkorgAfterEvent } export { onPkorgAfterEvent }
/*tWL210U6OyBUtsn6JwPwwpMdH3MDExCriB5RIuNer+A=*/

View File

@ -1,3 +1,4 @@
/*IHTivaHGTSm9T7chEWjS8QMwpg1SIEMOeDuzFmjloOo=*/
import {onHeadBeforeEvent} from './onHeadBeforeEvent' import {onHeadBeforeEvent} from './onHeadBeforeEvent'
import {onCardItemBeforeEvent} from './onCardItemBeforeEvent' import {onCardItemBeforeEvent} from './onCardItemBeforeEvent'
import {onOutputsBeforeEvent} from './onOutputsBeforeEvent' import {onOutputsBeforeEvent} from './onOutputsBeforeEvent'
@ -7,3 +8,4 @@ export {
onCardItemBeforeEvent, //材料表体前事件 onCardItemBeforeEvent, //材料表体前事件
onOutputsBeforeEvent onOutputsBeforeEvent
} }
/*IHTivaHGTSm9T7chEWjS8QMwpg1SIEMOeDuzFmjloOo=*/

View File

@ -1,3 +1,4 @@
/*eQb2gBjvlz7BuAZwrzpPYdIjzRnAJlcQY0aLQTt2vRsF64LVjCoHxkroemQDDJj1*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项通用前事件 * @PageInfo: BOM维护卡片-材料表体子项通用前事件
@ -36,3 +37,4 @@ function onBodyItemCommonBeforeEvent(props, key, value, index, record){
} }
export { onBodyItemCommonBeforeEvent} export { onBodyItemCommonBeforeEvent}
/*eQb2gBjvlz7BuAZwrzpPYdIjzRnAJlcQY0aLQTt2vRsF64LVjCoHxkroemQDDJj1*/

View File

@ -1,3 +1,4 @@
/*i+Yer5lLJNvhMnO99CcUXjsljeRwUjTgn8Kj+v9Uxg9gknShXBu4rPmEfY3qomJK*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体自由辅助属性前事件 * @PageInfo: BOM维护卡片-材料表体自由辅助属性前事件
@ -45,3 +46,4 @@ function onBodyItemVfreeBeforeEvent(props, key, value, index, record){
} }
export { onBodyItemVfreeBeforeEvent} export { onBodyItemVfreeBeforeEvent}
/*i+Yer5lLJNvhMnO99CcUXjsljeRwUjTgn8Kj+v9Uxg9gknShXBu4rPmEfY3qomJK*/

View File

@ -1,3 +1,4 @@
/*8zDMVMV+EluBqhDw/TR1o7KR6vwD1j0rwC9gExAkFeLqAaIg4g1941EdN96v8KxQ*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体前事件 * @PageInfo: BOM维护卡片-材料表体前事件
@ -292,3 +293,4 @@ async function onCardItemBeforeEvent(props, moduleId, key, value, index, record,
export { onCardItemBeforeEvent } export { onCardItemBeforeEvent }
/*8zDMVMV+EluBqhDw/TR1o7KR6vwD1j0rwC9gExAkFeLqAaIg4g1941EdN96v8KxQ*/

View File

@ -1,3 +1,4 @@
/*k31kX00VQIlBmfnAhk/iNOo9shJrOa0XHjEYJsOVtTHT6r4E0O7+ywUmmM7RsL1z*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项cassmeasureid前事件 * @PageInfo: BOM维护卡片-材料表体子项cassmeasureid前事件
@ -25,3 +26,4 @@ function onCassmeasureidBeforeEvent(props, key, value, index, record){
} }
export { onCassmeasureidBeforeEvent} export { onCassmeasureidBeforeEvent}
/*k31kX00VQIlBmfnAhk/iNOo9shJrOa0XHjEYJsOVtTHT6r4E0O7+ywUmmM7RsL1z*/

View File

@ -1,3 +1,4 @@
/*C1HaivJy+Iib4VVozKpgzIS86WHeqgBTlkXURyN2hzeITF9zj+NncbuWkY523hmP*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体子项cassmeasureid前事件 * @PageInfo: BOM维护卡片-联副产品表体子项cassmeasureid前事件
@ -25,3 +26,4 @@ function onCastunitidBeforeEvent(props, key, value, index, record){
} }
export { onCastunitidBeforeEvent} export { onCastunitidBeforeEvent}
/*C1HaivJy+Iib4VVozKpgzIS86WHeqgBTlkXURyN2hzeITF9zj+NncbuWkY523hmP*/

View File

@ -1,3 +1,4 @@
/*mkSOwrM2Hk/vOi8wYgo8Qd2Eu/OUApGY4BEKEknY4idCKduvPigjuAHv48xQSnmg*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项vid前事件 * @PageInfo: BOM维护卡片-材料表体子项vid前事件
@ -26,3 +27,4 @@ function onCmaterialvidBeforeEvent(props, moduleId, key, value, index, record, s
} }
export { onCmaterialvidBeforeEvent} export { onCmaterialvidBeforeEvent}
/*mkSOwrM2Hk/vOi8wYgo8Qd2Eu/OUApGY4BEKEknY4idCKduvPigjuAHv48xQSnmg*/

View File

@ -1,3 +1,4 @@
/*bP+/RHNIEmErxdQaf4OpWa5QoebZyeh1Z7/LCkMj6FMOhxv8AwAEnEMkNNNDYc+w*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体自由辅助属性前事件 * @PageInfo: BOM维护卡片-材料表体自由辅助属性前事件
@ -40,3 +41,4 @@ function onGetGrandDataByBomidEvent(props, key, value, index, record){
} }
export { onGetGrandDataByBomidEvent} export { onGetGrandDataByBomidEvent}
/*bP+/RHNIEmErxdQaf4OpWa5QoebZyeh1Z7/LCkMj6FMOhxv8AwAEnEMkNNNDYc+w*/

View File

@ -1,3 +1,4 @@
/*Lag0Rl8t8/4et/dd+Itg3yrbbb7flsbiAleLLtElNYw=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-表头前事件 * @PageInfo: BOM维护卡片-表头前事件
@ -80,3 +81,4 @@ function onHvchangerateBeforeEvent(props, key, restparam){
} }
export { onHeadBeforeEvent} export { onHeadBeforeEvent}
/*Lag0Rl8t8/4et/dd+Itg3yrbbb7flsbiAleLLtElNYw=*/

View File

@ -1,3 +1,4 @@
/*XpNrHBYvyvqYv9hKldenxK6Qjuzk+kSAKFegCLaHC7s=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体前事件 * @PageInfo: BOM维护卡片-联副产品表体前事件
@ -87,3 +88,4 @@ async function onOutputsBeforeEvent(props, moduleId, key, value, index, record,
} }
export { onOutputsBeforeEvent} export { onOutputsBeforeEvent}
/*XpNrHBYvyvqYv9hKldenxK6Qjuzk+kSAKFegCLaHC7s=*/

View File

@ -1,3 +1,4 @@
/*6vDFw34Xo3lR0DuKN71HiTtgq+TB0aArYagke3R2fpvAc5qGjpNpzgegPyLghf5N*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体子项vid前事件 * @PageInfo: BOM维护卡片-联副产品表体子项vid前事件
@ -25,3 +26,4 @@ function onOutputsCmaterialvidBeforeEvent(props, key, value, index, record){
} }
export { onOutputsCmaterialvidBeforeEvent} export { onOutputsCmaterialvidBeforeEvent}
/*6vDFw34Xo3lR0DuKN71HiTtgq+TB0aArYagke3R2fpvAc5qGjpNpzgegPyLghf5N*/

View File

@ -1,3 +1,4 @@
/*BJDUNcchy8B+0MMMiATWAiu4Agzm+eKw+jIbWPcb+a6NTZBJAQhbOdLKDnNPQOSs*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体子项通用前事件 * @PageInfo: BOM维护卡片-联副产品表体子项通用前事件
@ -36,3 +37,4 @@ function onOutputsCommonBeforeEvent(props, key, value, index, record){
} }
export { onOutputsCommonBeforeEvent} export { onOutputsCommonBeforeEvent}
/*BJDUNcchy8B+0MMMiATWAiu4Agzm+eKw+jIbWPcb+a6NTZBJAQhbOdLKDnNPQOSs*/

View File

@ -1,3 +1,4 @@
/*kSQGuoyidZs1v4V7l8rwnBhMy0IE38zAH4DRIi1poKr7eS8GzMzwTCOYWTSjoCRh*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体自由辅助属性前事件 * @PageInfo: BOM维护卡片-联副产品表体自由辅助属性前事件
@ -43,3 +44,4 @@ function onOutputsVfreeBeforeEvent(props, key, value, index, record){
} }
export { onOutputsVfreeBeforeEvent} export { onOutputsVfreeBeforeEvent}
/*kSQGuoyidZs1v4V7l8rwnBhMy0IE38zAH4DRIi1poKr7eS8GzMzwTCOYWTSjoCRh*/

View File

@ -1,3 +1,4 @@
/*UmZBEVe2U13IxUxsq6MHookZD5SIkxd3DjgWV2JKe/2YE9mYJYCXbQs2CxrkaT2Y*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项vitemversion前事件 * @PageInfo: BOM维护卡片-材料表体子项vitemversion前事件
@ -36,3 +37,4 @@ function onVitemversionBeforeEvent(props, value, index, record){
} }
export { onVitemversionBeforeEvent} export { onVitemversionBeforeEvent}
/*UmZBEVe2U13IxUxsq6MHookZD5SIkxd3DjgWV2JKe/2YE9mYJYCXbQs2CxrkaT2Y*/

View File

@ -1,3 +1,4 @@
/*CjQdSW1bgLOQDjv7/SWEtyO1TizQoD+yCp41u8SThEcNk0rvMGjoU1037ui1PMdt*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项vpackversion前事件 * @PageInfo: BOM维护卡片-材料表体子项vpackversion前事件
@ -34,3 +35,4 @@ function onVpackversionBeforeEvent(props, value, index, record){
} }
export { onVpackversionBeforeEvent} export { onVpackversionBeforeEvent}
/*CjQdSW1bgLOQDjv7/SWEtyO1TizQoD+yCp41u8SThEcNk0rvMGjoU1037ui1PMdt*/

View File

@ -1,3 +1,4 @@
/*yCubUiPnlfkqvN4Dt7E+1K/Zv6PKU3H/Y326Bx8NLmg=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-新增按钮事件 * @PageInfo: BOM维护-新增按钮事件
@ -58,3 +59,4 @@ function afterAdd(props, old_cbomid, callback){
export {addClick} export {addClick}
/*yCubUiPnlfkqvN4Dt7E+1K/Zv6PKU3H/Y326Bx8NLmg=*/

View File

@ -1,3 +1,4 @@
/*mqrfHmcTIPoq14QD21zeKqyJoBzIvY3zDaYoj0YfI7E=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体新增行按钮事件 * @PageInfo: BOM维护-材料表体新增行按钮事件
@ -65,3 +66,4 @@ function doAddLine(props, callback){
export {addLineClick} export {addLineClick}
/*mqrfHmcTIPoq14QD21zeKqyJoBzIvY3zDaYoj0YfI7E=*/

View File

@ -1,3 +1,4 @@
/*GS2JHjRW0JH+X0mXQLR4XzKCQeY3T4mPTebHCGdADbM=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-审批详情按钮事件 * @PageInfo: BOM维护卡片-审批详情按钮事件
@ -26,3 +27,4 @@ function approveClick(props, id){
export {approveClick} export {approveClick}
/*GS2JHjRW0JH+X0mXQLR4XzKCQeY3T4mPTebHCGdADbM=*/

View File

@ -1,3 +1,4 @@
/*2B5hQrZazXIbfQU0WS5U7eh5Oc/BxlpilCzDz/iG4hY=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-(批量)BOM分配按钮事件 * @PageInfo: BOM维护卡片-(批量)BOM分配按钮事件
@ -138,3 +139,4 @@ function afterAssign(props, success, callback){
} }
export {assignClick} export {assignClick}
/*2B5hQrZazXIbfQU0WS5U7eh5Oc/BxlpilCzDz/iG4hY=*/

View File

@ -1,3 +1,4 @@
/*RsxzZ66hF1WSna4NS5NX9CsCvOqNT6thXJu6NP+sgrw=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-解密按钮事件 * @PageInfo: BOM维护卡片-解密按钮事件
@ -123,3 +124,4 @@ function afterBdBomOpenKeyClick(props, success, retdata, callback){
} }
export {bdBomOpenKeyClick} export {bdBomOpenKeyClick}
/*RsxzZ66hF1WSna4NS5NX9CsCvOqNT6thXJu6NP+sgrw=*/

View File

@ -1,3 +1,4 @@
/*q2LCmxM8POvl78IL0LiydqJ/RITUXLjH1kojvbLBRO8=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-按钮事件 * @PageInfo: BOM维护卡片-按钮事件
@ -7,8 +8,14 @@
*/ */
//常量 //常量
import { BOM_CARD_HEAD_BUTTON, BOM_CARD_ITEMS_BUTTON, BOM_CARD_ITEMS_ROW_BUTTON, BOM_CARD_OUTPUTS_BUTTON, BOM_CARD_OUTPUTS_ROW_BUTTON } from '../../constance'; import {
BOM_CARD_HEAD_BUTTON,
BOM_CARD_ITEMS_BUTTON,
BOM_CARD_ITEMS_ROW_BUTTON,
BOM_CARD_OUTPUTS_BUTTON,
BOM_CARD_OUTPUTS_ROW_BUTTON
} from '../../constance';
import {addClick} from './addClick' import {addClick} from './addClick'
import {refreshClick} from './refreshClick' import {refreshClick} from './refreshClick'
@ -65,12 +72,12 @@ import {outputsDelRowClick} from './outputsDelRowClick'
import {outputsPasteHereRowClick} from './outputsPasteHereRowClick' import {outputsPasteHereRowClick} from './outputsPasteHereRowClick'
import {importClick} from './importClick' import {importClick} from './importClick'
import {exportTemClick} from './exportTemClick' import {exportTemClick} from './exportTemClick'
import downloadPlmBtnClick from "./downloadPlmBtnClick";
function buttonClick (props, id, text, record, index) { function buttonClick(props, id, text, record, index) {
console.log({'Card buttonClick':{index: index}}) console.log({'Card buttonClick': {index: index}})
switch(id) { switch (id) {
case BOM_CARD_HEAD_BUTTON.Return: case BOM_CARD_HEAD_BUTTON.Return: {
{
returnClick.call(this, props, id) returnClick.call(this, props, id)
} }
break; break;
@ -200,9 +207,8 @@ function buttonClick (props, id, text, record, index) {
} }
break break
//选配修改:约束关系定义 //选配修改:约束关系定义
case BOM_CARD_HEAD_BUTTON.Relation: case BOM_CARD_HEAD_BUTTON.Relation: {
{ relationClick.call(this, props, id)
relationClick.call(this,props,id)
} }
break break
//材料区域肩部按钮 //材料区域肩部按钮
@ -247,8 +253,7 @@ function buttonClick (props, id, text, record, index) {
} }
break break
case BOM_CARD_ITEMS_ROW_BUTTON.More: //展开-行操作 case BOM_CARD_ITEMS_ROW_BUTTON.More: //展开-行操作
case BOM_CARD_ITEMS_ROW_BUTTON.MoreR: case BOM_CARD_ITEMS_ROW_BUTTON.MoreR: {
{
moreRowClick.call(this, props, id, record, index) moreRowClick.call(this, props, id, record, index)
} }
break break
@ -305,8 +310,7 @@ function buttonClick (props, id, text, record, index) {
} }
break break
case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsMore: //展开-行操作 case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsMore: //展开-行操作
case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsMoreR: case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsMoreR: {
{
outputsMoreRowClick.call(this, props, id, record, index) outputsMoreRowClick.call(this, props, id, record, index)
} }
break break
@ -341,8 +345,14 @@ function buttonClick (props, id, text, record, index) {
linkReplsClick.call(this, props, id, text, record, index) linkReplsClick.call(this, props, id, text, record, index)
} }
break break
case BOM_CARD_HEAD_BUTTON.Download_plm: //图纸下载
{
downloadPlmBtnClick.call(this, props, id)
}
break
} }
} }
export { buttonClick } export {buttonClick}
/*q2LCmxM8POvl78IL0LiydqJ/RITUXLjH1kojvbLBRO8=*/

View File

@ -1,3 +1,4 @@
/*wWrfx6wiDGbMu1lwo1jlOKwcEEBwdbWHB+Yu70hV2TY=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-取消按钮事件 * @PageInfo: BOM维护卡片-取消按钮事件
@ -76,3 +77,5 @@ function doCancel(props, callback) {
} }
export { cancelClick }; export { cancelClick };
/*wWrfx6wiDGbMu1lwo1jlOKwcEEBwdbWHB+Yu70hV2TY=*/

View File

@ -1,3 +1,4 @@
/*ahZy7qAlobnlH47cL5wAUsZXCzJLSAg+CA3/DK3KRq4=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-取消默认按钮事件 * @PageInfo: BOM维护卡片-取消默认按钮事件
@ -88,3 +89,4 @@ function afterCancelDefault(props, success, callback){
} }
export {cancelDefaultClick} export {cancelDefaultClick}
/*ahZy7qAlobnlH47cL5wAUsZXCzJLSAg+CA3/DK3KRq4=*/

View File

@ -1,3 +1,4 @@
/*QQ9HG25tZE00zILxOUi0aYOCB+GHSyNC8Bd9mbvKdc8=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体取消复制按钮事件 * @PageInfo: BOM维护-材料表体取消复制按钮事件
@ -32,3 +33,4 @@ function cancelPasteClick(props, id){
} }
export {cancelPasteClick} export {cancelPasteClick}
/*QQ9HG25tZE00zILxOUi0aYOCB+GHSyNC8Bd9mbvKdc8=*/

View File

@ -1,3 +1,4 @@
/*I9p7WUa5uG4jczvs3yq9GBCgqKOphWOBtQ7lk+Uvq5s=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-(批量)提交按钮事件 * @PageInfo: BOM维护卡片-(批量)提交按钮事件
@ -151,3 +152,4 @@ function afterCommit(props, success, formdata, callback) {
} }
export { commitClick } export { commitClick }
/*I9p7WUa5uG4jczvs3yq9GBCgqKOphWOBtQ7lk+Uvq5s=*/

View File

@ -1,3 +1,4 @@
/*xnRnesVW1bLBFLG+auX6cjYNyjEMCezwiBk1G2v+/P4=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-复制按钮事件 * @PageInfo: BOM维护卡片-复制按钮事件
@ -76,3 +77,4 @@ function afterCopy(props, old_cbomid, callback){
export {copyClick} export {copyClick}
/*xnRnesVW1bLBFLG+auX6cjYNyjEMCezwiBk1G2v+/P4=*/

View File

@ -1,3 +1,4 @@
/*25DGjNLKoCS99NNrML+8nV3dV8jEqjzfcQhZQt5vIQw=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体复制行按钮事件 * @PageInfo: BOM维护-材料表体复制行按钮事件
@ -29,3 +30,4 @@ function copyLineClick(props, id){
} }
export {copyLineClick} export {copyLineClick}
/*25DGjNLKoCS99NNrML+8nV3dV8jEqjzfcQhZQt5vIQw=*/

View File

@ -1,3 +1,4 @@
/*xmTFu6FW7X8wEm1vn2kR3EkQ/wwYzneV3TXpmI7ltmA=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-默认按钮事件 * @PageInfo: BOM维护卡片-默认按钮事件
@ -121,3 +122,4 @@ function afterDefault(props, success, callback){
} }
export {defaultClick} export {defaultClick}
/*xmTFu6FW7X8wEm1vn2kR3EkQ/wwYzneV3TXpmI7ltmA=*/

View File

@ -1,3 +1,4 @@
/*nZLoHM4oQe8CxW+/Odh7ZQGY2EDntbc9lwk5uax81PI=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体删除行按钮事件 * @PageInfo: BOM维护-材料表体删除行按钮事件
@ -29,3 +30,4 @@ function delLineClick(props, id){
} }
export {delLineClick} export {delLineClick}
/*nZLoHM4oQe8CxW+/Odh7ZQGY2EDntbc9lwk5uax81PI=*/

View File

@ -1,3 +1,4 @@
/*jhrPNdSJYjGpEm6hQyA4Z4yG7TsEMK+AosQXdTBm3Qc=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体删行行操作事件 * @PageInfo: BOM维护-材料表体删行行操作事件
@ -21,3 +22,4 @@ function delRowClick(props, id, text, record, index){
} }
export {delRowClick} export {delRowClick}
/*jhrPNdSJYjGpEm6hQyA4Z4yG7TsEMK+AosQXdTBm3Qc=*/

View File

@ -1,3 +1,4 @@
/*4lvs3jJO+hGN9/ovHdfdJkXn95Mto9PLacCCuTqDUDk=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-(批量)删除按钮事件 * @PageInfo: BOM维护卡片-(批量)删除按钮事件
@ -161,3 +162,4 @@ function afterDelete(props, success, callback){
export {deleteClick} export {deleteClick}
/*4lvs3jJO+hGN9/ovHdfdJkXn95Mto9PLacCCuTqDUDk=*/

View File

@ -1,3 +1,4 @@
/*fa2xJZlcI5dVpXQv3A6ycjE5rC2W/1x90P3GW96AYcw=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-(批量)停用按钮事件 * @PageInfo: BOM维护卡片-(批量)停用按钮事件
@ -108,3 +109,4 @@ function afterDisable(props, success, callback){
} }
export {disableClick} export {disableClick}
/*fa2xJZlcI5dVpXQv3A6ycjE5rC2W/1x90P3GW96AYcw=*/

View File

@ -0,0 +1,35 @@
/*
* @Author: mzr
* @PageInfo: 图纸下载按钮事件
* @Date: 2025-08-08 10:36:58
* @Last Modified by: mzr
* @Last Modified time: 2025-08-08 10:13:07
*/
import {formDownload} from 'nc-lightapp-front';
import {BOM_AREA, BOM_PAGECODE, URL} from "../../constance";
import {showErrorInfo} from "../../../public/tools/messageUtil";
let tableId = BOM_AREA.bom_card_b;
export default function downloadPlmBtnClick(props) {
// 获取选中行
let rows = this.props.cardTable.getCheckedRows(tableId);
// console.log('rows = ', rows);
if (rows == null || rows.length === 0) {
showErrorInfo('', '请先选择物料', 'infinity')
return;
}
let data = [];
rows.forEach((row) => {
data.push(row.data.values['cmaterialvid'].display);
});
let params = {
sys_appcode: BOM_PAGECODE.bom_card,
materialCode: data
}
formDownload({
params,
url: URL.downloadPlmUrl,
enctype: 1
});
}

View File

@ -1,3 +1,4 @@
/*Mxz6zHc2L23eJ6RbXCcQcWyMGMBBaIw7SgExuoq68FY=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-修改按钮事件 * @PageInfo: BOM维护卡片-修改按钮事件
@ -70,3 +71,4 @@ function afterEdit(props, callback){
export {editClick } export {editClick }
/*Mxz6zHc2L23eJ6RbXCcQcWyMGMBBaIw7SgExuoq68FY=*/

View File

@ -1,3 +1,4 @@
/*vByibQXz5KybzjLQ7vb11PaLvXM4SEEVezPKjRZEwnM=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-(批量)启用按钮事件 * @PageInfo: BOM维护卡片-(批量)启用按钮事件
@ -107,3 +108,4 @@ function afterEnable(props, success, callback){
} }
export {enableClick} export {enableClick}
/*vByibQXz5KybzjLQ7vb11PaLvXM4SEEVezPKjRZEwnM=*/

View File

@ -1,3 +1,4 @@
/*J0uw44qW1RGETlZjjBsXf7EQftmXeF+ZAdvBNo7TbHc=*/
function exportTemClick(props, id){ function exportTemClick(props, id){
console.log('Card buttonClick-exportTemClick') console.log('Card buttonClick-exportTemClick')
@ -23,3 +24,4 @@ function exportTemClick(props, id){
export {exportTemClick} export {exportTemClick}
/*J0uw44qW1RGETlZjjBsXf7EQftmXeF+ZAdvBNo7TbHc=*/

View File

@ -1,3 +1,4 @@
/*uxbwZdhp2UgHPng/n+z9zYdn64kYcpDaEd+2+zYQhOc=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-工艺路线一致性检测按钮事件 * @PageInfo: BOM维护卡片-工艺路线一致性检测按钮事件
@ -86,3 +87,4 @@ function afterGylxyzxjc(props, success, formdatas, callback){
} }
export {gylxyzxjcClick} export {gylxyzxjcClick}
/*uxbwZdhp2UgHPng/n+z9zYdn64kYcpDaEd+2+zYQhOc=*/

View File

@ -1,3 +1,4 @@
/*qHU+wnUP1coTPMG2p9ccThJgtb8vXdEMKTV/XU/WdPQ=*/
function importClick(props, id){ function importClick(props, id){
console.log('Card buttonClick-importClick') console.log('Card buttonClick-importClick')
@ -13,3 +14,4 @@ function afterImport(props, success, callback){
} }
export {importClick} export {importClick}
/*qHU+wnUP1coTPMG2p9ccThJgtb8vXdEMKTV/XU/WdPQ=*/

View File

@ -1,3 +1,4 @@
/*IHTivaHGTSm9T7chEWjS8QMwpg1SIEMOeDuzFmjloOo=*/
import { buttonClick } from './buttonClick' import { buttonClick } from './buttonClick'
import { pageInfoChangeClick } from './pageInfoChangeClick' import { pageInfoChangeClick } from './pageInfoChangeClick'
@ -5,3 +6,4 @@ export {
buttonClick, buttonClick,
pageInfoChangeClick pageInfoChangeClick
} }
/*IHTivaHGTSm9T7chEWjS8QMwpg1SIEMOeDuzFmjloOo=*/

View File

@ -1,3 +1,4 @@
/*F/xJGpSv2cln+KnlIVOPeNhVYc7TO7zkqSzyhXQ0Zms=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体插入行行操作事件 * @PageInfo: BOM维护-材料表体插入行行操作事件
@ -63,3 +64,4 @@ function doInsertLine(props, index, callback){
export {insertLineClick} export {insertLineClick}
/*F/xJGpSv2cln+KnlIVOPeNhVYc7TO7zkqSzyhXQ0Zms=*/

View File

@ -1,3 +1,4 @@
/*iQhtvnts8WZYV90ERlTwX55gJPJCWfrZAr3bSG72ilg=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-联查工艺路线按钮事件 * @PageInfo: BOM维护卡片-联查工艺路线按钮事件
@ -113,3 +114,4 @@ function afterLcgylx(props, rtids, callback){
} }
export {lcgylxClick} export {lcgylxClick}
/*iQhtvnts8WZYV90ERlTwX55gJPJCWfrZAr3bSG72ilg=*/

View File

@ -1,3 +1,4 @@
/*Nhx7IdWIO5s8dTtS39TEUd/GC0Vxm2wovPmrzdHbGMA=*/
/* /*
* @Author: gaoyuanx * @Author: gaoyuanx
* @PageInfo: BOM维护卡片-联查替代方案 * @PageInfo: BOM维护卡片-联查替代方案
@ -63,3 +64,4 @@ function openToRepls(props, ids){
export {linkReplsClick} export {linkReplsClick}
/*Nhx7IdWIO5s8dTtS39TEUd/GC0Vxm2wovPmrzdHbGMA=*/

View File

@ -1,3 +1,4 @@
/*PiBEQzJQ1LaWLNtqJ1551jBDOlQ5ihFwsxDBc6GvOgw=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-BOM树联查按钮事件 * @PageInfo: BOM维护卡片-BOM树联查按钮事件
@ -44,3 +45,4 @@ function linkTreeClick(props, id){
export {linkTreeClick} export {linkTreeClick}
/*PiBEQzJQ1LaWLNtqJ1551jBDOlQ5ihFwsxDBc6GvOgw=*/

View File

@ -1,3 +1,4 @@
/*NqCBpRV2wXUZVlWmavP1YvtR47ugRxJrmaoZPyFmXWI=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体展开行操作事件 * @PageInfo: BOM维护-材料表体展开行操作事件
@ -43,3 +44,4 @@ function moreRowClick(props, id, record, index){
} }
export {moreRowClick} export {moreRowClick}
/*NqCBpRV2wXUZVlWmavP1YvtR47ugRxJrmaoZPyFmXWI=*/

View File

@ -1,3 +1,4 @@
/*gktfRyQQLSSqFoGP5hAbpbR+PeQpiyOYvgIGQ/zTWD0=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-输出按钮事件 * @PageInfo: BOM维护卡片-输出按钮事件
@ -71,3 +72,4 @@ function doOutput(props, cbomids, callback){
} }
export {outputClick} export {outputClick}
/*gktfRyQQLSSqFoGP5hAbpbR+PeQpiyOYvgIGQ/zTWD0=*/

View File

@ -1,3 +1,4 @@
/*BMAxQ1VGpJE3c3NnKh4pfW3r4FzZGnFnjdCy7/zOwYY=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体新增行按钮事件 * @PageInfo: BOM维护-联副产品表体新增行按钮事件
@ -66,3 +67,4 @@ function doOutputsAddLine(props, callback){
export {outputsAddLineClick} export {outputsAddLineClick}
/*BMAxQ1VGpJE3c3NnKh4pfW3r4FzZGnFnjdCy7/zOwYY=*/

View File

@ -1,3 +1,4 @@
/*x6I/QsJY71QXJKIp5hyHton81gKyojYC8wILaI/OysibcXIRuRqtKSzZIEOP/+cU*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-连副产品表体取消复制按钮事件 * @PageInfo: BOM维护-连副产品表体取消复制按钮事件
@ -31,3 +32,4 @@ function outputsCancelPasteClick(props, id){
} }
export {outputsCancelPasteClick} export {outputsCancelPasteClick}
/*x6I/QsJY71QXJKIp5hyHton81gKyojYC8wILaI/OysibcXIRuRqtKSzZIEOP/+cU*/

View File

@ -1,3 +1,4 @@
/*EKklTNSsZdlih1xuN1WTS+3dUYsyDxuwSEly8u3ts3o=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体复制行按钮事件 * @PageInfo: BOM维护-联副产品表体复制行按钮事件
@ -24,3 +25,4 @@ function outputsCopyLineClick(props, id){
} }
export {outputsCopyLineClick} export {outputsCopyLineClick}
/*EKklTNSsZdlih1xuN1WTS+3dUYsyDxuwSEly8u3ts3o=*/

View File

@ -1,3 +1,4 @@
/*2RS+xBnqd2p14L4btWI/lRp6qWVTuAU1glSBAy2fr5k=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体删除行按钮事件 * @PageInfo: BOM维护-联副产品表体删除行按钮事件
@ -31,3 +32,4 @@ function outputsDelLineClick(props, id){
} }
export {outputsDelLineClick} export {outputsDelLineClick}
/*2RS+xBnqd2p14L4btWI/lRp6qWVTuAU1glSBAy2fr5k=*/

View File

@ -1,3 +1,4 @@
/*cpCRIsFJ+sQ6RSZzgxPFfKB9JSTsDQLegVVXjKYtSAQ=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体删行行操作事件 * @PageInfo: BOM维护-联副产品表体删行行操作事件
@ -21,3 +22,4 @@ function outputsDelRowClick(props, id, text, record, index){
} }
export {outputsDelRowClick} export {outputsDelRowClick}
/*cpCRIsFJ+sQ6RSZzgxPFfKB9JSTsDQLegVVXjKYtSAQ=*/

View File

@ -1,3 +1,4 @@
/*0ryuSEj52F/YVoDhfokLlUcpjYyPw32itdJ1Do1uB47vNELUM/fenp475p2rM+Fg*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体插入行行操作事件 * @PageInfo: BOM维护-联副产品表体插入行行操作事件
@ -64,3 +65,4 @@ function doOutputsInsertLine(props, index, callback){
export {outputsInsertLineClick} export {outputsInsertLineClick}
/*0ryuSEj52F/YVoDhfokLlUcpjYyPw32itdJ1Do1uB47vNELUM/fenp475p2rM+Fg*/

View File

@ -1,3 +1,4 @@
/*oKqdDifEa5eUTRF9V/kyFRXXms+VqDH3c8R+DoquWps=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体展开行操作事件 * @PageInfo: BOM维护-联副产品表体展开行操作事件
@ -39,3 +40,4 @@ function outputsMoreRowClick(props, id, record, index){
} }
export {outputsMoreRowClick} export {outputsMoreRowClick}
/*oKqdDifEa5eUTRF9V/kyFRXXms+VqDH3c8R+DoquWps=*/

View File

@ -1,3 +1,4 @@
/*ciEpjPhVvhP51cHipvcls9ftJ9K4Xs3Twm3QErYC5zjMWTCGPDckO+nsI5bgLoL3*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体粘贴至末行行按钮事件 * @PageInfo: BOM维护-联副产品表体粘贴至末行行按钮事件
@ -73,3 +74,4 @@ function doOutputsPasteHereRow(props, index, callback){
export {outputsPasteHereRowClick} export {outputsPasteHereRowClick}
/*ciEpjPhVvhP51cHipvcls9ftJ9K4Xs3Twm3QErYC5zjMWTCGPDckO+nsI5bgLoL3*/

View File

@ -1,3 +1,4 @@
/*0XsFxZlpSyzn8kLuA0L52n7H2lS0TvQo4a5SVk0U5CnnLRcddOiZ63cQxbdLzb2q*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体粘贴至末行行按钮事件 * @PageInfo: BOM维护-联副产品表体粘贴至末行行按钮事件
@ -61,3 +62,4 @@ function doPasteLineEnd(props, callback){
export {outputsPasteLineEndClick} export {outputsPasteLineEndClick}
/*0XsFxZlpSyzn8kLuA0L52n7H2lS0TvQo4a5SVk0U5CnnLRcddOiZ63cQxbdLzb2q*/

View File

@ -1,3 +1,4 @@
/*aJdygLJu9cY6MuiTVvR8rCj3p/wt2vaSW1yOoyWEa1Q=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体行号重排按钮事件 * @PageInfo: BOM维护-联副产品表体行号重排按钮事件
@ -29,3 +30,4 @@ function outputsResetRowClick(props, id){
} }
export {outputsResetRowClick} export {outputsResetRowClick}
/*aJdygLJu9cY6MuiTVvR8rCj3p/wt2vaSW1yOoyWEa1Q=*/

View File

@ -1,3 +1,4 @@
/*IZ1GjrffUp+UDHF1NPQeaJOq2iJCXgudi3pI7pLRfI0=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-翻页按钮点击事件 * @PageInfo: BOM维护卡片-翻页按钮点击事件
@ -36,3 +37,4 @@ function doChangePage(props, pk, callback){
export { pageInfoChangeClick } export { pageInfoChangeClick }
/*IZ1GjrffUp+UDHF1NPQeaJOq2iJCXgudi3pI7pLRfI0=*/

View File

@ -1,3 +1,4 @@
/*TMNpA7vOXDWbC1sZNkWTAxAF81HjhAb0QsyX35gQm30=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体粘贴至末行行按钮事件 * @PageInfo: BOM维护-材料表体粘贴至末行行按钮事件
@ -74,3 +75,4 @@ function doPasteHereRow(props, index, callback){
export {pasteHereRowClick} export {pasteHereRowClick}
/*TMNpA7vOXDWbC1sZNkWTAxAF81HjhAb0QsyX35gQm30=*/

View File

@ -1,3 +1,4 @@
/*CSldCu2W4/X1P+PlTWpN66j7jnglukofKN/k0r3se2g=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体粘贴至末行行按钮事件 * @PageInfo: BOM维护-材料表体粘贴至末行行按钮事件
@ -61,3 +62,4 @@ function doPasteLineEnd(props, callback){
export {pasteLineEndClick} export {pasteLineEndClick}
/*CSldCu2W4/X1P+PlTWpN66j7jnglukofKN/k0r3se2g=*/

View File

@ -1,3 +1,4 @@
/*2JEEsycHkLbTM91Y6MeBAsHLmF/Ze760nabWHNqBseU=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护列表-(批量)打印按钮事件 * @PageInfo: BOM维护列表-(批量)打印按钮事件
@ -77,3 +78,4 @@ function doPrint(props, requestparam, callback){
export {printClick} export {printClick}
/*2JEEsycHkLbTM91Y6MeBAsHLmF/Ze760nabWHNqBseU=*/

View File

@ -1,3 +1,4 @@
/*x1SP19nhytnXhu06x/Eruz8fJs87oXrAYip3eogenN8=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护列表-刷新按钮事件 * @PageInfo: BOM维护列表-刷新按钮事件
@ -45,3 +46,4 @@ function doRefresh(props, cbomid, bShowToast = true, callback) {
export { refreshClick } export { refreshClick }
/*x1SP19nhytnXhu06x/Eruz8fJs87oXrAYip3eogenN8=*/

View File

@ -1,3 +1,4 @@
/*O6y3pnAdfhVUWAenJ4to+1gmy1AwveZ2xlsnUO+ePao=*/
import { ajax, cacheTools } from 'nc-lightapp-front'; import { ajax, cacheTools } from 'nc-lightapp-front';
import { GOTO_PAGE, HYPER_LINK, BOM_AREA, BOM_CARD_HEAD_PROPERTY } from '../../constance'; import { GOTO_PAGE, HYPER_LINK, BOM_AREA, BOM_CARD_HEAD_PROPERTY } from '../../constance';
@ -18,3 +19,4 @@ function relationClick(props,id){
}); });
} }
export{relationClick} export{relationClick}
/*O6y3pnAdfhVUWAenJ4to+1gmy1AwveZ2xlsnUO+ePao=*/

View File

@ -1,3 +1,4 @@
/*5irGclktn86D/6SE85nGORhzUmFbQgZbGWiljGQK5Nk=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体行号重排按钮事件 * @PageInfo: BOM维护-材料表体行号重排按钮事件
@ -29,3 +30,4 @@ function resetRowClick(props, id){
} }
export {resetRowClick} export {resetRowClick}
/*5irGclktn86D/6SE85nGORhzUmFbQgZbGWiljGQK5Nk=*/

View File

@ -1,3 +1,4 @@
/*NYO2RtKA9YHamE+Kf9nFdKc8bEq+TJRKnf3gIy+aoms=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-返回事件 * @PageInfo: BOM维护卡片-返回事件
@ -49,3 +50,4 @@ function getCardData(props){
} }
export { returnClick } export { returnClick }
/*NYO2RtKA9YHamE+Kf9nFdKc8bEq+TJRKnf3gIy+aoms=*/

View File

@ -1,3 +1,4 @@
/*lKhF0iX/oXmI3/WBubk6Ku/vCrxGZn6G/a4ab3Nfqwc=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-修订按钮事件 * @PageInfo: BOM维护卡片-修订按钮事件
@ -72,3 +73,4 @@ function afterReviseEdit(props, callback){
export {reviseEditClick } export {reviseEditClick }
/*lKhF0iX/oXmI3/WBubk6Ku/vCrxGZn6G/a4ab3Nfqwc=*/

View File

@ -1,3 +1,4 @@
/*Z18d4oafcLIX6Zr70BLilWH7AVsOxU8Enwc9BeS321E=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-保存按钮事件 * @PageInfo: BOM维护卡片-保存按钮事件
@ -659,3 +660,4 @@ function clearEmptyRows(props) {
} }
export { saveClick } export { saveClick }
/*Z18d4oafcLIX6Zr70BLilWH7AVsOxU8Enwc9BeS321E=*/

View File

@ -1,3 +1,4 @@
/*5KxArPNcB8T6ZCkBBwgJcezKD2d7pmXOop1FBsBuJ0A=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-保存提交按钮事件 * @PageInfo: BOM维护卡片-保存提交按钮事件
@ -662,3 +663,4 @@ function clearEmptyRows(props) {
} }
export { saveCommitClick } export { saveCommitClick }
/*5KxArPNcB8T6ZCkBBwgJcezKD2d7pmXOop1FBsBuJ0A=*/

View File

@ -1,3 +1,4 @@
/*L6MKK7CTVo6akLq4jdffe12XGiPxDTHEsz2hIozA3fc=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体详细信息按钮事件 * @PageInfo: BOM维护-材料表体详细信息按钮事件
@ -118,3 +119,4 @@ function clearEmptyRows(props) {
} }
export { showGrandClick } export { showGrandClick }
/*L6MKK7CTVo6akLq4jdffe12XGiPxDTHEsz2hIozA3fc=*/

View File

@ -1,3 +1,4 @@
/*5DCWGb80y+l5l4k+uVmSXxDs3csRTDfNfehwqPZYNBw=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体详细信息行操作事件 * @PageInfo: BOM维护-材料表体详细信息行操作事件
@ -80,3 +81,4 @@ function clearEmptyRows( props ){
} }
export {showGrandRowClick} export {showGrandRowClick}
/*5DCWGb80y+l5l4k+uVmSXxDs3csRTDfNfehwqPZYNBw=*/

View File

@ -1,3 +1,4 @@
/*KtV921Mro87QcHcqeqRNXyDVUIJrXGpfKCs0CdnbaC4=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-BOM取消分配按钮事件 * @PageInfo: BOM维护卡片-BOM取消分配按钮事件
@ -136,3 +137,4 @@ function afterUnAssign(props, success, callback){
} }
export {unAssignClick} export {unAssignClick}
/*KtV921Mro87QcHcqeqRNXyDVUIJrXGpfKCs0CdnbaC4=*/

View File

@ -1,3 +1,4 @@
/*6DCdDxonZTX0cP6wwRLxr7BBS8f923zuO4oVQuPa4tQ=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护卡片-收回按钮事件 * @PageInfo: BOM维护卡片-收回按钮事件
@ -117,3 +118,4 @@ function afterUnCommit(props, success, formdata, callback){
} }
export {unCommitClick} export {unCommitClick}
/*6DCdDxonZTX0cP6wwRLxr7BBS8f923zuO4oVQuPa4tQ=*/

View File

@ -1,3 +1,4 @@
/*+EWLv+OcG1cXymF+FFYdHO86GwpXYUiS6jBmdp/wK+Y=*/
/* /*
* @Author: liuyanp * @Author: liuyanp
* @PageInfo: BOM维护-材料表体详细信息按钮事件 * @PageInfo: BOM维护-材料表体详细信息按钮事件
@ -64,3 +65,4 @@ function clearEmptyRows( props ){
} }
export {wipsMaintainClick} export {wipsMaintainClick}
/*+EWLv+OcG1cXymF+FFYdHO86GwpXYUiS6jBmdp/wK+Y=*/

Some files were not shown because too many files have changed in this diff Show More