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 {onCardItemAfterEvent} from './onCardItemAfterEvent'
import {onCardOutputsAfterEvent} from './onCardOutputsAfterEvent'
@ -6,4 +7,5 @@ export {
onHeadAfterEvent, //BOM卡片表头后事件
onCardItemAfterEvent,
onCardOutputsAfterEvent
}
}
/*IHTivaHGTSm9T7chEWjS8QMwpg1SIEMOeDuzFmjloOo=*/

View File

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

View File

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

View File

@ -1,3 +1,4 @@
/*Tda5LEeAaO5R7aCjkqBgiEaPmfFEYVBt2+Fn3C9dEq3MmDUNmRRXZOXpB+obUzfw*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体后事件
@ -56,4 +57,5 @@ 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
* @PageInfo: BOM维护卡片-材料表体子项vid后事件
@ -145,4 +146,5 @@ function clearMatPropertyData(props, index){
}
export { onCmaterialidAfterEvent}
export { onCmaterialidAfterEvent}
/*WVFUdXHAj9sV1Qz72BP/zF9Dr/4pJ1ghEZoqUYOO9PF6vHLWwvbYjzzwMqeZ4cwq*/

View File

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

View File

@ -1,3 +1,4 @@
/*+dS6EdPWJ3n6ajXm0K91ncTKntvCerwsyV3bpIH6Pas=*/
/*
* @Author: liuyanp
* @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 { confirmDialog } from '../../components'
import { matoidEvent, matvidEvent } from '../../utils'
import { cardButtonController, outputButtonController } from '../viewController'
import { cardButtonController, outputButtonController } from '../viewController/index'
import { fillBodyItemDefaultValueByIndx } from '../events'
import { initLang, getLangByResId } from '../../../public/tools/multiLangUtil'
import { RownoUtils } from '../../../utils/cardTools/RownoUtil'
@ -145,4 +146,5 @@ function getServiceRequestParam(props, value, oldValue) {
return requestparam
}
export { onFbomtypeAfterEvent }
export { onFbomtypeAfterEvent }
/*+dS6EdPWJ3n6ajXm0K91ncTKntvCerwsyV3bpIH6Pas=*/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
/*i+Yer5lLJNvhMnO99CcUXjsljeRwUjTgn8Kj+v9Uxg9gknShXBu4rPmEfY3qomJK*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体自由辅助属性前事件
@ -44,4 +45,5 @@ 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
* @PageInfo: BOM维护卡片-材料表体前事件
@ -291,4 +292,5 @@ 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
* @PageInfo: BOM维护卡片-材料表体子项cassmeasureid前事件
@ -24,4 +25,5 @@ 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
* @PageInfo: BOM维护卡片-联副产品表体子项cassmeasureid前事件
@ -24,4 +25,5 @@ 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
* @PageInfo: BOM维护卡片-材料表体子项vid前事件
@ -25,4 +26,5 @@ 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
* @PageInfo: BOM维护卡片-材料表体自由辅助属性前事件
@ -39,4 +40,5 @@ 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
* @PageInfo: BOM维护卡片-表头前事件
@ -79,4 +80,5 @@ function onHvchangerateBeforeEvent(props, key, restparam){
})
}
export { onHeadBeforeEvent}
export { onHeadBeforeEvent}
/*Lag0Rl8t8/4et/dd+Itg3yrbbb7flsbiAleLLtElNYw=*/

View File

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

View File

@ -1,3 +1,4 @@
/*6vDFw34Xo3lR0DuKN71HiTtgq+TB0aArYagke3R2fpvAc5qGjpNpzgegPyLghf5N*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护卡片-联副产品表体子项vid前事件
@ -24,4 +25,5 @@ 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
* @PageInfo: BOM维护卡片-联副产品表体子项通用前事件
@ -35,4 +36,5 @@ 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
* @PageInfo: BOM维护卡片-联副产品表体自由辅助属性前事件
@ -42,4 +43,5 @@ function onOutputsVfreeBeforeEvent(props, key, value, index, record){
}
export { onOutputsVfreeBeforeEvent}
export { onOutputsVfreeBeforeEvent}
/*kSQGuoyidZs1v4V7l8rwnBhMy0IE38zAH4DRIi1poKr7eS8GzMzwTCOYWTSjoCRh*/

View File

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

View File

@ -1,3 +1,4 @@
/*CjQdSW1bgLOQDjv7/SWEtyO1TizQoD+yCp41u8SThEcNk0rvMGjoU1037ui1PMdt*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护卡片-材料表体子项vpackversion前事件
@ -33,4 +34,5 @@ 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
* @PageInfo: BOM维护-新增按钮事件
@ -57,4 +58,5 @@ function afterAdd(props, old_cbomid, callback){
}
export {addClick}
export {addClick}
/*yCubUiPnlfkqvN4Dt7E+1K/Zv6PKU3H/Y326Bx8NLmg=*/

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
/*q2LCmxM8POvl78IL0LiydqJ/RITUXLjH1kojvbLBRO8=*/
/*
* @Author: liuyanp
* @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 {refreshClick} from './refreshClick'
@ -65,284 +72,287 @@ import {outputsDelRowClick} from './outputsDelRowClick'
import {outputsPasteHereRowClick} from './outputsPasteHereRowClick'
import {importClick} from './importClick'
import {exportTemClick} from './exportTemClick'
import downloadPlmBtnClick from "./downloadPlmBtnClick";
function buttonClick (props, id, text, record, index) {
console.log({'Card buttonClick':{index: index}})
switch(id) {
case BOM_CARD_HEAD_BUTTON.Return:
{
returnClick.call(this, props, id)
}
function buttonClick(props, id, text, record, index) {
console.log({'Card buttonClick': {index: index}})
switch (id) {
case BOM_CARD_HEAD_BUTTON.Return: {
returnClick.call(this, props, id)
}
break;
case BOM_CARD_HEAD_BUTTON.Refresh: //刷新
{
refreshClick.call(this, props, id)
}
{
refreshClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Add: //新增
{
addClick.call(this, props, id)
}
{
addClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Delete: //删除(按钮)
{
deleteClick.call(this, props, id)
}
{
deleteClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Disable: //停用
{
disableClick.call(this, props, id)
}
{
disableClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Enable: //启用
{
enableClick.call(this, props, id)
}
{
enableClick.call(this, props, id)
}
break;
case BOM_CARD_HEAD_BUTTON.Default: //默认
{
defaultClick.call(this, props, id)
}
{
defaultClick.call(this, props, id)
}
break;
case BOM_CARD_HEAD_BUTTON.CancelDefault: //取消默认
{
cancelDefaultClick.call(this, props, id)
}
{
cancelDefaultClick.call(this, props, id)
}
break;
case BOM_CARD_HEAD_BUTTON.Commit: //提交
{
commitClick.call(this, props)
}
{
commitClick.call(this, props)
}
break
case BOM_CARD_HEAD_BUTTON.UnCommit: //收回
{
unCommitClick.call(this, props, id)
}
{
unCommitClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Assign: //分配
{
assignClick.call(this, props, id)
}
{
assignClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Unassign: //取消分配
{
unAssignClick.call(this, props, id)
}
{
unAssignClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.lcgylx: //联查工艺路线
{
lcgylxClick.call(this, props, id)
}
{
lcgylxClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.BDBomOpenKey: //解密
{
bdBomOpenKeyClick.call(this, props, id)
}
{
bdBomOpenKeyClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Print: //打印
{
printClick.call(this, props, id)
}
{
printClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Output: //输出
{
outputClick.call(this, props, id)
}
{
outputClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.ApproveDetail: //审批详情
{
approveClick.call(this, props, id)
}
{
approveClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.LinkTree: //BOM树联查
{
linkTreeClick.call(this, props, id)
}
{
linkTreeClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.gylxyzx: //工艺路线一致性检测
{
gylxyzxjcClick.call(this, props, id)
}
{
gylxyzxjcClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Cancel: //取消按钮(编辑态)
{
cancelClick.call(this, props, id)
}
{
cancelClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Save: //保存
{
saveClick.call(this, props, id, false, false) //保存新增-false保存提交-false
}
{
saveClick.call(this, props, id, false, false) //保存新增-false保存提交-false
}
break
case BOM_CARD_HEAD_BUTTON.SaveAdd: //保存新增
{
saveClick.call(this, props, id, true, false) //保存新增-true保存提交-false
}
{
saveClick.call(this, props, id, true, false) //保存新增-true保存提交-false
}
break
case BOM_CARD_HEAD_BUTTON.SaveCommit: //保存提交
{
saveCommitClick.call(this, props, false, true) //保存新增-false保存提交-true
}
{
saveCommitClick.call(this, props, false, true) //保存新增-false保存提交-true
}
break
case BOM_CARD_HEAD_BUTTON.Edit: //编辑按钮
{
editClick.call(this, props, id)
}
{
editClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.ReviseEdit: //修订按钮
{
reviseEditClick.call(this, props, id)
}
{
reviseEditClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Copy: //复制按钮
{
copyClick.call(this, props, id)
}
{
copyClick.call(this, props, id)
}
break
//选配修改:约束关系定义
case BOM_CARD_HEAD_BUTTON.Relation:
{
relationClick.call(this,props,id)
}
case BOM_CARD_HEAD_BUTTON.Relation: {
relationClick.call(this, props, id)
}
break
//材料区域肩部按钮
case BOM_CARD_ITEMS_BUTTON.AddLine: //増行
{
addLineClick.call(this, props, id)
}
{
addLineClick.call(this, props, id)
}
break
case BOM_CARD_ITEMS_BUTTON.DelLine: //删行
{
delLineClick.call(this, props, id)
}
{
delLineClick.call(this, props, id)
}
break
case BOM_CARD_ITEMS_BUTTON.CopyLine: //复制行
{
copyLineClick.call(this, props, id)
}
{
copyLineClick.call(this, props, id)
}
break
case BOM_CARD_ITEMS_BUTTON.ResetRow: //重排行号
{
resetRowClick.call(this, props, id)
}
{
resetRowClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.WipsMaintain: //线上仓维护
{
wipsMaintainClick.call(this, props, id)
}
{
wipsMaintainClick.call(this, props, id)
}
break
case BOM_CARD_ITEMS_BUTTON.ShowGrand: //详细信息
{
showGrandClick.call(this, props, id)
}
{
showGrandClick.call(this, props, id)
}
break
case BOM_CARD_ITEMS_BUTTON.PasteLineEnd: //粘贴至末行
{
pasteLineEndClick.call(this, props, id)
}
{
pasteLineEndClick.call(this, props, id)
}
break
case BOM_CARD_ITEMS_BUTTON.CancelPaste: //取消粘贴行
{
cancelPasteClick.call(this, props, id)
}
{
cancelPasteClick.call(this, props, id)
}
break
case BOM_CARD_ITEMS_ROW_BUTTON.More: //展开-行操作
case BOM_CARD_ITEMS_ROW_BUTTON.MoreR:
{
moreRowClick.call(this, props, id, record, index)
}
case BOM_CARD_ITEMS_ROW_BUTTON.MoreR: {
moreRowClick.call(this, props, id, record, index)
}
break
case BOM_CARD_ITEMS_ROW_BUTTON.InsertLine: //插行-行操作
{
insertLineClick.call(this, props, id, record, index)
}
{
insertLineClick.call(this, props, id, record, index)
}
break
case BOM_CARD_ITEMS_ROW_BUTTON.DelRow: //删行-行操作
{
delRowClick.call(this, props, id, text, record, index)
}
{
delRowClick.call(this, props, id, text, record, index)
}
break
case BOM_CARD_ITEMS_ROW_BUTTON.ShowRowGrand: //详细信息-行操作
{
showGrandRowClick.call(this, props, id, record, index)
}
break
case BOM_CARD_ITEMS_ROW_BUTTON.PasteHere: //粘至此处-行操作
{
pasteHereRowClick.call(this, props, id, text, record, index)
}
break
case BOM_CARD_ITEMS_ROW_BUTTON.PasteHere: //粘至此处-行操作
{
pasteHereRowClick.call(this, props, id, text, record, index)
}
break
//联副产品区域按钮
case BOM_CARD_OUTPUTS_BUTTON.OutputsAddLine: //联副产品増行
{
outputsAddLineClick.call(this, props, id)
}
{
outputsAddLineClick.call(this, props, id)
}
break
case BOM_CARD_OUTPUTS_BUTTON.OutputsDelLine: //删行
{
outputsDelLineClick.call(this, props, id)
}
{
outputsDelLineClick.call(this, props, id)
}
break
case BOM_CARD_OUTPUTS_BUTTON.OutputsCopyLine: //复制行
{
outputsCopyLineClick.call(this, props, id)
}
{
outputsCopyLineClick.call(this, props, id)
}
break
case BOM_CARD_OUTPUTS_BUTTON.OutputsResetRow: //重排行号
{
outputsResetRowClick.call(this, props, id)
}
{
outputsResetRowClick.call(this, props, id)
}
break
case BOM_CARD_OUTPUTS_BUTTON.OutputsPasteLineEnd: //粘贴至末行
{
outputsPasteLineEndClick.call(this, props, id)
}
{
outputsPasteLineEndClick.call(this, props, id)
}
break
case BOM_CARD_OUTPUTS_BUTTON.OutputsCancelPaste: //取消粘贴行
{
outputsCancelPasteClick.call(this, props, id)
}
{
outputsCancelPasteClick.call(this, props, id)
}
break
case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsMore: //展开-行操作
case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsMoreR:
{
outputsMoreRowClick.call(this, props, id, record, index)
}
case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsMoreR: {
outputsMoreRowClick.call(this, props, id, record, index)
}
break
case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsInsertLine: //插行-行操作
{
outputsInsertLineClick.call(this, props, id, record, index)
}
{
outputsInsertLineClick.call(this, props, id, record, index)
}
break
case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsDelRow: //删行-行操作
{
outputsDelRowClick.call(this, props, id, text, record, index)
}
{
outputsDelRowClick.call(this, props, id, text, record, index)
}
break
case BOM_CARD_OUTPUTS_ROW_BUTTON.OutputsPasteHere: //粘至此处-行操作
{
outputsPasteHereRowClick.call(this, props, id, text, record, index)
}
{
outputsPasteHereRowClick.call(this, props, id, text, record, index)
}
break
case BOM_CARD_HEAD_BUTTON.ExportTem: //导出
{
exportTemClick.call(this, props, id)
}
{
exportTemClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.Import: //导入
{
importClick.call(this, props, id)
}
{
importClick.call(this, props, id)
}
break
case BOM_CARD_HEAD_BUTTON.LinkRepls: //联查替代方案
{
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
* @PageInfo: BOM维护卡片-取消按钮事件
@ -76,3 +77,5 @@ function doCancel(props, callback) {
}
export { cancelClick };
/*wWrfx6wiDGbMu1lwo1jlOKwcEEBwdbWHB+Yu70hV2TY=*/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
/*fa2xJZlcI5dVpXQv3A6ycjE5rC2W/1x90P3GW96AYcw=*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护卡片-(批量)停用按钮事件
@ -107,4 +108,5 @@ 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
* @PageInfo: BOM维护卡片-修改按钮事件
@ -69,4 +70,5 @@ function afterEdit(props, callback){
}
export {editClick }
export {editClick }
/*Mxz6zHc2L23eJ6RbXCcQcWyMGMBBaIw7SgExuoq68FY=*/

View File

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

View File

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

View File

@ -1,3 +1,4 @@
/*uxbwZdhp2UgHPng/n+z9zYdn64kYcpDaEd+2+zYQhOc=*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护卡片-工艺路线一致性检测按钮事件
@ -85,4 +86,5 @@ 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){
console.log('Card buttonClick-importClick')
@ -12,4 +13,5 @@ function afterImport(props, success, callback){
callback.call(this)
}
export {importClick}
export {importClick}
/*qHU+wnUP1coTPMG2p9ccThJgtb8vXdEMKTV/XU/WdPQ=*/

View File

@ -1,7 +1,9 @@
/*IHTivaHGTSm9T7chEWjS8QMwpg1SIEMOeDuzFmjloOo=*/
import { buttonClick } from './buttonClick'
import { pageInfoChangeClick } from './pageInfoChangeClick'
export {
buttonClick,
pageInfoChangeClick
}
}
/*IHTivaHGTSm9T7chEWjS8QMwpg1SIEMOeDuzFmjloOo=*/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
/*0ryuSEj52F/YVoDhfokLlUcpjYyPw32itdJ1Do1uB47vNELUM/fenp475p2rM+Fg*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护-联副产品表体插入行行操作事件
@ -63,4 +64,5 @@ 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
* @PageInfo: BOM维护-联副产品表体展开行操作事件
@ -38,4 +39,5 @@ function outputsMoreRowClick(props, id, record, index){
}
export {outputsMoreRowClick}
export {outputsMoreRowClick}
/*oKqdDifEa5eUTRF9V/kyFRXXms+VqDH3c8R+DoquWps=*/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
/*x1SP19nhytnXhu06x/Eruz8fJs87oXrAYip3eogenN8=*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护列表-刷新按钮事件
@ -44,4 +45,5 @@ 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 { GOTO_PAGE, HYPER_LINK, BOM_AREA, BOM_CARD_HEAD_PROPERTY } from '../../constance';
@ -17,4 +18,5 @@ function relationClick(props,id){
status: 'browse'
});
}
export{relationClick}
export{relationClick}
/*O6y3pnAdfhVUWAenJ4to+1gmy1AwveZ2xlsnUO+ePao=*/

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
/*Z18d4oafcLIX6Zr70BLilWH7AVsOxU8Enwc9BeS321E=*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护卡片-保存按钮事件
@ -658,4 +659,5 @@ function clearEmptyRows(props) {
props.cardTable.filterEmptyRows(BOM_AREA.bom_card_outputs, [BOM_CARD_OUTPUTS_PROPERTY.cmaterialvid], 'include')
}
export { saveClick }
export { saveClick }
/*Z18d4oafcLIX6Zr70BLilWH7AVsOxU8Enwc9BeS321E=*/

View File

@ -1,3 +1,4 @@
/*5KxArPNcB8T6ZCkBBwgJcezKD2d7pmXOop1FBsBuJ0A=*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护卡片-保存提交按钮事件
@ -661,4 +662,5 @@ function clearEmptyRows(props) {
props.cardTable.filterEmptyRows(BOM_AREA.bom_card_outputs, [BOM_CARD_OUTPUTS_PROPERTY.cmaterialvid], 'include')
}
export { saveCommitClick }
export { saveCommitClick }
/*5KxArPNcB8T6ZCkBBwgJcezKD2d7pmXOop1FBsBuJ0A=*/

View File

@ -1,3 +1,4 @@
/*L6MKK7CTVo6akLq4jdffe12XGiPxDTHEsz2hIozA3fc=*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护-材料表体详细信息按钮事件
@ -117,4 +118,5 @@ function clearEmptyRows(props) {
props.cardTable.filterEmptyRows(BOM_AREA.bom_card_b, [BOM_CARD_ITEMS_PROPERTY.cmaterialvid], 'include');
}
export { showGrandClick }
export { showGrandClick }
/*L6MKK7CTVo6akLq4jdffe12XGiPxDTHEsz2hIozA3fc=*/

View File

@ -1,3 +1,4 @@
/*5DCWGb80y+l5l4k+uVmSXxDs3csRTDfNfehwqPZYNBw=*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护-材料表体详细信息行操作事件
@ -79,4 +80,5 @@ function clearEmptyRows( props ){
props.cardTable.filterEmptyRows(BOM_AREA.bom_card_b, [BOM_CARD_ITEMS_PROPERTY.cmaterialvid], 'include');
}
export {showGrandRowClick}
export {showGrandRowClick}
/*5DCWGb80y+l5l4k+uVmSXxDs3csRTDfNfehwqPZYNBw=*/

View File

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

View File

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

View File

@ -1,3 +1,4 @@
/*+EWLv+OcG1cXymF+FFYdHO86GwpXYUiS6jBmdp/wK+Y=*/
/*
* @Author: liuyanp
* @PageInfo: BOM维护-材料表体详细信息按钮事件
@ -63,4 +64,5 @@ function clearEmptyRows( props ){
props.cardTable.filterEmptyRows(BOM_AREA.bom_card_b, [BOM_CARD_ITEMS_PROPERTY.cmaterialvid], 'include');
}
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