Merge remote-tracking branch 'origin/main'
This commit is contained in:
		
						commit
						043986bdc2
					
				|  | @ -170,6 +170,23 @@ export default function (props) { | ||||||
| 			} | 			} | ||||||
| 		); | 		); | ||||||
| 		props.button.setUploadConfig(PMO_CARD_BUTTON.Import, excelimportconfig); | 		props.button.setUploadConfig(PMO_CARD_BUTTON.Import, excelimportconfig); | ||||||
|  | 		// 导入序列号
 | ||||||
|  | 		let excelimportconfig1 = excelImportconfig( | ||||||
|  | 			props, | ||||||
|  | 			PMO_LIST.excelOutput.module, | ||||||
|  | 			'pmo_sernio', | ||||||
|  | 			true, | ||||||
|  | 			'', | ||||||
|  | 			{ | ||||||
|  | 				appcode: PMO_LIST.appcode, | ||||||
|  | 				pagecode: '50080000_import1' | ||||||
|  | 			}, | ||||||
|  | 			() => { | ||||||
|  | 				//导入按钮的回调
 | ||||||
|  | 				buttonClick.call(this, props, PMO_CARD_BUTTON.Import); | ||||||
|  | 			} | ||||||
|  | 		); | ||||||
|  | 		props.button.setUploadConfig(PMO_CARD_BUTTON.ImportNo, excelimportconfig1); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -622,6 +622,11 @@ export default function clickBtn(props, id, text, record, index) { | ||||||
|             let importC = importClick.bind(this, props, id); |             let importC = importClick.bind(this, props, id); | ||||||
|             return importC(props); |             return importC(props); | ||||||
|         } |         } | ||||||
|  |         case PMO_CARD_BUTTON.ImportNo: { | ||||||
|  |             //导入序列号
 | ||||||
|  |             let importC = importClick.bind(this, props, id); | ||||||
|  |             return importC(props); | ||||||
|  |         } | ||||||
|         case PMO_CARD_BUTTON.PushToPlm: { |         case PMO_CARD_BUTTON.PushToPlm: { | ||||||
|             let billId = props.form.getFormItemsValue(formId, HEADATTRCODE.CPMOHID).value; |             let billId = props.form.getFormItemsValue(formId, HEADATTRCODE.CPMOHID).value; | ||||||
|             // 传递设计任务
 |             // 传递设计任务
 | ||||||
|  |  | ||||||
|  | @ -377,5 +377,10 @@ export default function clickBtn(props, id, text, record, index) { | ||||||
| 			let importC = importClick.bind(this, props, id); | 			let importC = importClick.bind(this, props, id); | ||||||
| 			return importC(props); | 			return importC(props); | ||||||
| 		} | 		} | ||||||
|  | 		case PMO_LIST_BUTTON.ImportNo: { | ||||||
|  | 			//导入序列号
 | ||||||
|  | 			let importC = importClick.bind(this, props, id); | ||||||
|  | 			return importC(props); | ||||||
|  | 		} | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -2,445 +2,467 @@ | ||||||
|  * 模板初始化 |  * 模板初始化 | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| import { base, ajax, toast, cacheTools, getGlobalStorage, removeGlobalStorage, cardCache } from 'nc-lightapp-front'; | import {base, ajax, toast, cacheTools, getGlobalStorage, removeGlobalStorage, cardCache} from 'nc-lightapp-front'; | ||||||
| import { PMO_LIST, PMO_CARD, DATECONST, PMO_LIST_BUTTON, HEADATTRCODE } from '../../pmoconst'; | import {PMO_LIST, PMO_CARD, DATECONST, PMO_LIST_BUTTON, HEADATTRCODE, PMO_CARD_BUTTON} from '../../pmoconst'; | ||||||
| import buttonClick from '../btnclicks/buttonClick'; | import buttonClick from '../btnclicks/buttonClick'; | ||||||
| import { buttonController, btnClickController } from '../viewControl'; | import {buttonController, btnClickController} from '../viewControl'; | ||||||
| import { transtypeUtils, setPsndocShowLeavePower, setRefShowDisabledData } from '../../../../../mmpub/mmpub/pub/tool'; | import {transtypeUtils, setPsndocShowLeavePower, setRefShowDisabledData} from '../../../../../mmpub/mmpub/pub/tool'; | ||||||
| import { getLangByResId } from '../../../../../mmpub/mmpub/pub/tool/multiLangUtil'; | import {getLangByResId} from '../../../../../mmpub/mmpub/pub/tool/multiLangUtil'; | ||||||
| import { conf as unitConf } from '../../../../../uapbd/refer/org/FactoryGridRef/index'; | import {conf as unitConf} from '../../../../../uapbd/refer/org/FactoryGridRef/index'; | ||||||
| //excel导入工具类(平台提供)
 | //excel导入工具类(平台提供)
 | ||||||
| import excelImportconfig from '../../../../../uap/common/components/excelImportconfig'; | import excelImportconfig from '../../../../../uap/common/components/excelImportconfig'; | ||||||
|  | 
 | ||||||
| let tableId = PMO_LIST.tableId; | let tableId = PMO_LIST.tableId; | ||||||
| let searchId = PMO_LIST.searchId; | let searchId = PMO_LIST.searchId; | ||||||
| let listpageid = PMO_LIST.pageid; | let listpageid = PMO_LIST.pageid; | ||||||
| const linkItem = PMO_LIST.vbillcode; | const linkItem = PMO_LIST.vbillcode; | ||||||
| const cpmohid = HEADATTRCODE.CPMOHID; | const cpmohid = HEADATTRCODE.CPMOHID; | ||||||
| const deleteUrl = PMO_LIST.deleteURL; | const deleteUrl = PMO_LIST.deleteURL; | ||||||
| const { getDefData, setDefData } = cardCache; | const {getDefData, setDefData} = cardCache; | ||||||
| export default function(props) { | export default function (props) { | ||||||
| 	//查询按钮使用
 |     //查询按钮使用
 | ||||||
| 	this.props.createUIDom( |     this.props.createUIDom( | ||||||
| 		{ |         { | ||||||
| 			pagecode: listpageid |             pagecode: listpageid | ||||||
| 		}, |         }, | ||||||
| 		(templedata) => { |         (templedata) => { | ||||||
| 			if (templedata) { |             if (templedata) { | ||||||
| 				transtypeUtils.init.call(this, templedata.context); |                 transtypeUtils.init.call(this, templedata.context); | ||||||
| 				if (templedata.template) { |                 if (templedata.template) { | ||||||
| 					let meta = templedata.template; |                     let meta = templedata.template; | ||||||
| 					transtypeUtils.initQuery.call(this, this.props, meta, searchId, HEADATTRCODE.CTRANTYPEID); |                     transtypeUtils.initQuery.call(this, this.props, meta, searchId, HEADATTRCODE.CTRANTYPEID); | ||||||
| 					meta = modifierMeta.call(this, this.props, meta); |                     meta = modifierMeta.call(this, this.props, meta); | ||||||
| 					props.meta.setMeta(meta); |                     props.meta.setMeta(meta); | ||||||
| 					//设置查询模板默认值
 |                     //设置查询模板默认值
 | ||||||
| 					//setQueryDefault.call(this, this.props, meta);
 |                     //setQueryDefault.call(this, this.props, meta);
 | ||||||
| 				} |                 } | ||||||
| 				if (templedata.button) { |                 if (templedata.button) { | ||||||
| 					let button = templedata.button; |                     let button = templedata.button; | ||||||
| 					//初始化excel导入按钮
 |                     //初始化excel导入按钮
 | ||||||
| 					initExcelImportConfig.call(this, props); |                     initExcelImportConfig.call(this, props); | ||||||
| 					props.button.setButtons(button); |                     props.button.setButtons(button); | ||||||
| 					buttonController.setListButtonVisiable(this.props, PMO_LIST.toCommit); |                     buttonController.setListButtonVisiable(this.props, PMO_LIST.toCommit); | ||||||
| 					props.button.setPopContent( |                     props.button.setPopContent( | ||||||
| 						PMO_LIST_BUTTON.delete, |                         PMO_LIST_BUTTON.delete, | ||||||
| 						getLangByResId(this, '50080000-000103') /* 国际化处理: 确定要删除吗?*/ |                         getLangByResId(this, '50080000-000103') /* 国际化处理: 确定要删除吗?*/ | ||||||
| 					); |                     ); | ||||||
| 				} |                 } | ||||||
| 				toggleShow.call(this); |                 toggleShow.call(this); | ||||||
| 			} |             } | ||||||
| 		} |         } | ||||||
| 	); |     ); | ||||||
| 	function modifierMeta(props, meta) { | 
 | ||||||
| 		let noshowOrgFileds = [ |     function modifierMeta(props, meta) { | ||||||
| 			HEADATTRCODE.APPROVER, |         let noshowOrgFileds = [ | ||||||
| 			HEADATTRCODE.BILLMAKER, |             HEADATTRCODE.APPROVER, | ||||||
| 			'mm_mo.mocloser', |             HEADATTRCODE.BILLMAKER, | ||||||
| 			'mm_mo.vfirsttrantypeid', |             'mm_mo.mocloser', | ||||||
| 			'mm_mo.vfirsttype', |             'mm_mo.vfirsttrantypeid', | ||||||
| 			'mm_mo.vsrctype', |             'mm_mo.vfirsttype', | ||||||
| 			'mm_mo.vsrctrantypeid' |             'mm_mo.vsrctype', | ||||||
| 		]; |             'mm_mo.vsrctrantypeid' | ||||||
| 		meta[searchId].items.map((item) => { |         ]; | ||||||
| 			setPsndocShowLeavePower(item); |         meta[searchId].items.map((item) => { | ||||||
| 			setRefShowDisabledData(item); |             setPsndocShowLeavePower(item); | ||||||
| 			if (item.attrcode == HEADATTRCODE.PK_ORG) { |             setRefShowDisabledData(item); | ||||||
| 				//设置可多选
 |             if (item.attrcode == HEADATTRCODE.PK_ORG) { | ||||||
| 				item.isMultiSelectedEnabled = true; |                 //设置可多选
 | ||||||
| 				//主组织权限过滤
 |                 item.isMultiSelectedEnabled = true; | ||||||
| 				item.queryCondition = () => { |                 //主组织权限过滤
 | ||||||
| 					return { GridRefActionExt: 'nccloud.web.mmpub.pub.ref.AppPermissionOrgRefFilter' }; |                 item.queryCondition = () => { | ||||||
| 				}; |                     return {GridRefActionExt: 'nccloud.web.mmpub.pub.ref.AppPermissionOrgRefFilter'}; | ||||||
| 			} else if (item.attrcode == HEADATTRCODE.PK_ORG_V) { |                 }; | ||||||
| 				//设置可多选
 |             } else if (item.attrcode == HEADATTRCODE.PK_ORG_V) { | ||||||
| 				item.isMultiSelectedEnabled = true; |                 //设置可多选
 | ||||||
| 				//主组织权限过滤
 |                 item.isMultiSelectedEnabled = true; | ||||||
| 				item.queryCondition = () => { |                 //主组织权限过滤
 | ||||||
| 					return { GridRefActionExt: 'nccloud.web.mmpub.pub.ref.AppPermissionOrgVidRefFilter' }; |                 item.queryCondition = () => { | ||||||
| 				}; |                     return {GridRefActionExt: 'nccloud.web.mmpub.pub.ref.AppPermissionOrgVidRefFilter'}; | ||||||
| 			} else if (item.attrcode == HEADATTRCODE.CPLANFACTORYID) { |                 }; | ||||||
| 				//设置可多选
 |             } else if (item.attrcode == HEADATTRCODE.CPLANFACTORYID) { | ||||||
| 				item.isMultiSelectedEnabled = true; |                 //设置可多选
 | ||||||
| 				//主组织权限过滤
 |                 item.isMultiSelectedEnabled = true; | ||||||
| 				item.queryCondition = () => { |                 //主组织权限过滤
 | ||||||
| 					return { |                 item.queryCondition = () => { | ||||||
| 						orgtype: 'PRODUCEPLANTYPE00000', |                     return { | ||||||
| 						GridRefActionExt: 'nccloud.web.mmpub.pub.ref.OrgTypePermissionOrgRefFilter' |                         orgtype: 'PRODUCEPLANTYPE00000', | ||||||
| 					}; |                         GridRefActionExt: 'nccloud.web.mmpub.pub.ref.OrgTypePermissionOrgRefFilter' | ||||||
| 					//return { GridRefActionExt: 'nccloud.web.mmpub.pub.ref.AppPermissionOrgRefFilter' };
 |                     }; | ||||||
| 				}; |                     //return { GridRefActionExt: 'nccloud.web.mmpub.pub.ref.AppPermissionOrgRefFilter' };
 | ||||||
| 			} else if (item.attrcode == HEADATTRCODE.CPLANFACTORYVID) { |                 }; | ||||||
| 				//设置可多选
 |             } else if (item.attrcode == HEADATTRCODE.CPLANFACTORYVID) { | ||||||
| 				item.isMultiSelectedEnabled = true; |                 //设置可多选
 | ||||||
| 				//主组织权限过滤
 |                 item.isMultiSelectedEnabled = true; | ||||||
| 				item.queryCondition = () => { |                 //主组织权限过滤
 | ||||||
| 					return { |                 item.queryCondition = () => { | ||||||
| 						orgtype: 'PRODUCEPLANTYPE00000', |                     return { | ||||||
| 						GridRefActionExt: 'nccloud.web.mmpub.pub.ref.OrgTypePermissionOrgVidRefFilter' |                         orgtype: 'PRODUCEPLANTYPE00000', | ||||||
| 					}; |                         GridRefActionExt: 'nccloud.web.mmpub.pub.ref.OrgTypePermissionOrgVidRefFilter' | ||||||
| 					//return { GridRefActionExt: 'nccloud.web.mmpub.pub.ref.AppPermissionOrgVidRefFilter' };
 |                     }; | ||||||
| 				}; |                     //return { GridRefActionExt: 'nccloud.web.mmpub.pub.ref.AppPermissionOrgVidRefFilter' };
 | ||||||
| 			} else if (item.attrcode == HEADATTRCODE.CTRANTYPEID) { |                 }; | ||||||
| 				//设置交易类型
 |             } else if (item.attrcode == HEADATTRCODE.CTRANTYPEID) { | ||||||
| 				item.queryCondition = () => { |                 //设置交易类型
 | ||||||
| 					return { parentbilltype: PMO_LIST.billType }; |                 item.queryCondition = () => { | ||||||
| 				}; |                     return {parentbilltype: PMO_LIST.billType}; | ||||||
| 			} else if (item.attrcode == 'mm_mo.cmaterialid' || item.attrcode == 'mm_mo.cmaterialvid') { |                 }; | ||||||
| 				item.isShowUnit = true; |             } else if (item.attrcode == 'mm_mo.cmaterialid' || item.attrcode == 'mm_mo.cmaterialvid') { | ||||||
| 				item.queryCondition = () => { |                 item.isShowUnit = true; | ||||||
| 					let pk_org = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); |                 item.queryCondition = () => { | ||||||
| 					let condition = { productmode: 1 }; |                     let pk_org = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); | ||||||
| 					pk_org = |                     let condition = {productmode: 1}; | ||||||
| 						pk_org != null |                     pk_org = | ||||||
| 							? pk_org.value.firstvalue.includes(',') ? null : pk_org.value.firstvalue |                         pk_org != null | ||||||
| 							: null; |                             ? pk_org.value.firstvalue.includes(',') ? null : pk_org.value.firstvalue | ||||||
| 					if (pk_org) { |                             : null; | ||||||
| 						condition.pk_org = pk_org; |                     if (pk_org) { | ||||||
| 					} |                         condition.pk_org = pk_org; | ||||||
| 					condition.productmode = 1; |                     } | ||||||
| 					condition.matchmode = 2; |                     condition.productmode = 1; | ||||||
| 					if (item.attrcode == 'mm_mo.cmaterialid') { |                     condition.matchmode = 2; | ||||||
| 						condition.GridRefActionExt = 'nccloud.web.mmpub.pub.ref.MaterialoidRefSqlBuilder'; |                     if (item.attrcode == 'mm_mo.cmaterialid') { | ||||||
| 					} else { |                         condition.GridRefActionExt = 'nccloud.web.mmpub.pub.ref.MaterialoidRefSqlBuilder'; | ||||||
| 						condition.GridRefActionExt = 'nccloud.web.mmpub.pub.ref.MaterialRefSqlBuilder'; |                     } else { | ||||||
| 					} |                         condition.GridRefActionExt = 'nccloud.web.mmpub.pub.ref.MaterialRefSqlBuilder'; | ||||||
| 					return condition; |                     } | ||||||
| 				}; |                     return condition; | ||||||
| 			} else if (item.attrcode == 'mm_mo.cdeptid' || item.attrcode == 'mm_mo.cdeptvid') { |                 }; | ||||||
| 				item.isShowUnit = true; |             } else if (item.attrcode == 'mm_mo.cdeptid' || item.attrcode == 'mm_mo.cdeptvid') { | ||||||
| 				//生产部门
 |                 item.isShowUnit = true; | ||||||
| 				item.queryCondition = () => { |                 //生产部门
 | ||||||
| 					let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); |                 item.queryCondition = () => { | ||||||
| 					data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; |                     let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); | ||||||
| 					return { pk_org: data, busifuncode: 'fa' }; |                     data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; | ||||||
| 				}; |                     return {pk_org: data, busifuncode: 'fa'}; | ||||||
| 			} else if (item.attrcode == 'mm_mo.cwkid') { |                 }; | ||||||
| 				//生产线
 |             } else if (item.attrcode == 'mm_mo.cwkid') { | ||||||
| 				item.isShowUnit = true; |                 //生产线
 | ||||||
| 				item.refName = getLangByResId(this, '50080000-000107') /*生产线*/; |                 item.isShowUnit = true; | ||||||
| 				item.queryCondition = () => { |                 item.refName = getLangByResId(this, '50080000-000107') /*生产线*/; | ||||||
| 					let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); |                 item.queryCondition = () => { | ||||||
| 					data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; |                     let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); | ||||||
| 					let cdeptid = props.search.getSearchValByField(searchId, 'mm_mo.cdeptid'); |                     data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; | ||||||
| 					//支持生产部门多选
 |                     let cdeptid = props.search.getSearchValByField(searchId, 'mm_mo.cdeptid'); | ||||||
| 					cdeptid = cdeptid.value.firstvalue; |                     //支持生产部门多选
 | ||||||
| 					let condition = { |                     cdeptid = cdeptid.value.firstvalue; | ||||||
| 						pk_org: data, |                     let condition = { | ||||||
| 						bprodline: 'Y', |                         pk_org: data, | ||||||
| 						GridRefActionExt: 'nccloud.web.mmpub.pub.ref.WorkCenterRefSqlBuilder' |                         bprodline: 'Y', | ||||||
| 					}; |                         GridRefActionExt: 'nccloud.web.mmpub.pub.ref.WorkCenterRefSqlBuilder' | ||||||
| 					if (cdeptid) { |                     }; | ||||||
| 						condition.pk_dept = cdeptid; |                     if (cdeptid) { | ||||||
| 					} |                         condition.pk_dept = cdeptid; | ||||||
| 					return condition; |                     } | ||||||
| 				}; |                     return condition; | ||||||
| 			} else if (item.attrcode == 'mm_mo.cemployeeid') { |                 }; | ||||||
| 				item.isShowUnit = true; |             } else if (item.attrcode == 'mm_mo.cemployeeid') { | ||||||
| 				item.queryCondition = () => { |                 item.isShowUnit = true; | ||||||
| 					let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); |                 item.queryCondition = () => { | ||||||
| 					data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; |                     let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); | ||||||
| 					return { pk_org: data, busifuncode: 'fa' }; |                     data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; | ||||||
| 				}; |                     return {pk_org: data, busifuncode: 'fa'}; | ||||||
| 			} else if (item.attrcode == 'mm_mo.cffileid') { |                 }; | ||||||
| 				item.queryCondition = () => { |             } else if (item.attrcode == 'mm_mo.cffileid') { | ||||||
| 					let cmaterialid = props.search.getSearchValByField(searchId, 'mm_mo.cmaterialid').value.firstvalue; |                 item.queryCondition = () => { | ||||||
| 					let condition = {}; |                     let cmaterialid = props.search.getSearchValByField(searchId, 'mm_mo.cmaterialid').value.firstvalue; | ||||||
| 					condition.pk_group = window.parent.GETBUSINESSINFO().groupId; |                     let condition = {}; | ||||||
| 					condition.cmaterialid = cmaterialid; |                     condition.pk_group = window.parent.GETBUSINESSINFO().groupId; | ||||||
| 					return condition; |                     condition.cmaterialid = cmaterialid; | ||||||
| 				}; |                     return condition; | ||||||
| 			} else if (item.attrcode == 'mm_mo.ccustmaterialid') { |                 }; | ||||||
| 				item.queryCondition = () => { |             } else if (item.attrcode == 'mm_mo.ccustmaterialid') { | ||||||
| 					let cmaterialid = props.search.getSearchValByField(searchId, 'mm_mo.cmaterialid'); |                 item.queryCondition = () => { | ||||||
| 					let pk_org = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); |                     let cmaterialid = props.search.getSearchValByField(searchId, 'mm_mo.cmaterialid'); | ||||||
| 					let condition = {}; |                     let pk_org = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); | ||||||
| 					condition.pk_org = |                     let condition = {}; | ||||||
| 						pk_org && pk_org.value |                     condition.pk_org = | ||||||
| 							? pk_org.value.firstvalue.includes(',') ? null : pk_org.value.firstvalue |                         pk_org && pk_org.value | ||||||
| 							: null; |                             ? pk_org.value.firstvalue.includes(',') ? null : pk_org.value.firstvalue | ||||||
| 					return condition; |                             : null; | ||||||
| 				}; |                     return condition; | ||||||
| 			} else if (item.attrcode == 'mm_mo.tplanstarttime') { |                 }; | ||||||
| 				//这里是不是要设置默认值
 |             } else if (item.attrcode == 'mm_mo.tplanstarttime') { | ||||||
| 				let curdays = []; |                 //这里是不是要设置默认值
 | ||||||
| 				curdays.push('#day(0)#'); |                 let curdays = []; | ||||||
| 				curdays.push('#day(0)#'); |                 curdays.push('#day(0)#'); | ||||||
| 				item.initialvalue = { |                 curdays.push('#day(0)#'); | ||||||
| 					display: getLangByResId(this, '50080000-000104'), |                 item.initialvalue = { | ||||||
| 					value: curdays |                     display: getLangByResId(this, '50080000-000104'), | ||||||
| 				}; /* 国际化处理: 今天,今天*/ |                     value: curdays | ||||||
| 			} else if (item.attrcode == 'mm_mo.cclassid') { |                 }; /* 国际化处理: 今天,今天*/ | ||||||
| 				item.queryCondition = () => { |             } else if (item.attrcode == 'mm_mo.cclassid') { | ||||||
| 					item.isShowUnit = true; |                 item.queryCondition = () => { | ||||||
| 					let pkorg = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); |                     item.isShowUnit = true; | ||||||
| 					pkorg = |                     let pkorg = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); | ||||||
| 						pkorg != null ? (pkorg.value.firstvalue.includes(',') ? null : pkorg.value.firstvalue) : null; |                     pkorg = | ||||||
| 					let cwkid = props.search.getSearchValByField(searchId, 'mm_mo.cwkid'); |                         pkorg != null ? (pkorg.value.firstvalue.includes(',') ? null : pkorg.value.firstvalue) : null; | ||||||
| 					cwkid = cwkid.value.firstvalue; |                     let cwkid = props.search.getSearchValByField(searchId, 'mm_mo.cwkid'); | ||||||
| 					let condition = { |                     cwkid = cwkid.value.firstvalue; | ||||||
| 						pk_org: pkorg, |                     let condition = { | ||||||
| 						orgshifttype: '2', |                         pk_org: pkorg, | ||||||
| 						GridRefActionExt: 'nccloud.web.mmpub.pub.ref.ShiftRefSqlBuilder' |                         orgshifttype: '2', | ||||||
| 					}; |                         GridRefActionExt: 'nccloud.web.mmpub.pub.ref.ShiftRefSqlBuilder' | ||||||
| 					if (cwkid) { |                     }; | ||||||
| 						condition.cwkid = cwkid; |                     if (cwkid) { | ||||||
| 					} |                         condition.cwkid = cwkid; | ||||||
| 					return condition; |                     } | ||||||
| 				}; |                     return condition; | ||||||
| 				item.unitProps = unitConf; |                 }; | ||||||
| 			} else if (item.attrcode == 'mm_mo.cteamid') { |                 item.unitProps = unitConf; | ||||||
| 				item.queryCondition = () => { |             } else if (item.attrcode == 'mm_mo.cteamid') { | ||||||
| 					let pk_org = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); |                 item.queryCondition = () => { | ||||||
| 					pk_org = |                     let pk_org = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); | ||||||
| 						pk_org != null |                     pk_org = | ||||||
| 							? pk_org.value.firstvalue.includes(',') ? null : pk_org.value.firstvalue |                         pk_org != null | ||||||
| 							: null; |                             ? pk_org.value.firstvalue.includes(',') ? null : pk_org.value.firstvalue | ||||||
| 					return { |                             : null; | ||||||
| 						pk_org: pk_org, |                     return { | ||||||
| 						GridRefActionExt: 'nccloud.web.mmpub.pub.ref.TeamRefSqlBuilder' |                         pk_org: pk_org, | ||||||
| 					}; |                         GridRefActionExt: 'nccloud.web.mmpub.pub.ref.TeamRefSqlBuilder' | ||||||
| 				}; |                     }; | ||||||
| 				item.unitProps = unitConf; |                 }; | ||||||
| 			} else if (item.attrcode == HEADATTRCODE.FBILLSTATUS) { |                 item.unitProps = unitConf; | ||||||
| 				if ((item.options.value = 2)) { |             } else if (item.attrcode == HEADATTRCODE.FBILLSTATUS) { | ||||||
| 					item.options.splice(2, 1); |                 if ((item.options.value = 2)) { | ||||||
| 				} |                     item.options.splice(2, 1); | ||||||
| 			} else if (noshowOrgFileds.includes(item.attrcode)) { |                 } | ||||||
| 				item.queryCondition = () => { |             } else if (noshowOrgFileds.includes(item.attrcode)) { | ||||||
| 					//用户档案的人,不需要显示业务单元
 |                 item.queryCondition = () => { | ||||||
| 					let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); |                     //用户档案的人,不需要显示业务单元
 | ||||||
| 					data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; |                     let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); | ||||||
| 					return { pk_org: data }; |                     data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; | ||||||
| 				}; |                     return {pk_org: data}; | ||||||
| 			} else { |                 }; | ||||||
| 				item.isShowUnit = true; |             } else { | ||||||
| 				item.queryCondition = () => { |                 item.isShowUnit = true; | ||||||
| 					let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); |                 item.queryCondition = () => { | ||||||
| 					data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; |                     let data = props.search.getSearchValByField(searchId, HEADATTRCODE.PK_ORG); | ||||||
| 					return { pk_org: data }; |                     data = data != null ? (data.value.firstvalue.includes(',') ? null : data.value.firstvalue) : null; | ||||||
| 				}; |                     return {pk_org: data}; | ||||||
| 			} |                 }; | ||||||
| 		}); |             } | ||||||
| 		//	}
 |         }); | ||||||
| 		//设置显示页码
 |         //	}
 | ||||||
| 		meta[tableId].pagination = true; |         //设置显示页码
 | ||||||
| 		meta[tableId].items = meta[tableId].items.map((item, key) => { |         meta[tableId].pagination = true; | ||||||
| 			if (item.attrcode == linkItem) { |         meta[tableId].items = meta[tableId].items.map((item, key) => { | ||||||
| 				item.render = (text, record, index) => { |             if (item.attrcode == linkItem) { | ||||||
| 					return ( |                 item.render = (text, record, index) => { | ||||||
| 						<span |                     return ( | ||||||
| 							className="code-detail-link" |                         <span | ||||||
| 							onClick={() => { |                             className="code-detail-link" | ||||||
| 								// let searchVal = props.search.getAllSearchData(searchId);
 |                             onClick={() => { | ||||||
| 								// cacheTools.set('searchParams', searchVal);
 |                                 // let searchVal = props.search.getAllSearchData(searchId);
 | ||||||
| 								props.pushTo(PMO_CARD.cardUrl, { |                                 // cacheTools.set('searchParams', searchVal);
 | ||||||
| 									pagecode: PMO_CARD.pageid, |                                 props.pushTo(PMO_CARD.cardUrl, { | ||||||
| 									status: PMO_CARD.browse, |                                     pagecode: PMO_CARD.pageid, | ||||||
| 									id: record[cpmohid].value //列表卡片传参
 |                                     status: PMO_CARD.browse, | ||||||
| 								}); |                                     id: record[cpmohid].value //列表卡片传参
 | ||||||
| 							}} |                                 }); | ||||||
| 						> |                             }} | ||||||
|  |                         > | ||||||
| 							{record && record[linkItem] && record[linkItem].value} | 							{record && record[linkItem] && record[linkItem].value} | ||||||
| 						</span> | 						</span> | ||||||
| 					); |                     ); | ||||||
| 				}; |                 }; | ||||||
| 			} |             } | ||||||
| 			return item; |             return item; | ||||||
| 		}); |         }); | ||||||
| 		//添加操作列
 |         //添加操作列
 | ||||||
| 		let porCol = { |         let porCol = { | ||||||
| 			attrcode: 'opr', |             attrcode: 'opr', | ||||||
| 			label: getLangByResId(this, '50080000-000061') /* 国际化处理: 操作*/ /* 国际化处理: 操作*/, |             label: getLangByResId(this, '50080000-000061') /* 国际化处理: 操作*/ /* 国际化处理: 操作*/, | ||||||
| 			//attrcode: 'pay_opr',
 |             //attrcode: 'pay_opr',
 | ||||||
| 			itemtype: 'customer', //默认必输
 |             itemtype: 'customer', //默认必输
 | ||||||
| 			fixed: 'right', //锁定操作列
 |             fixed: 'right', //锁定操作列
 | ||||||
| 			visible: true, |             visible: true, | ||||||
| 			width: '200px', |             width: '200px', | ||||||
| 			render: (text, record, index) => { |             render: (text, record, index) => { | ||||||
| 				let state = record.fbillstatus.value; |                 let state = record.fbillstatus.value; | ||||||
| 				let buttonAry = buttonController.setRowButtons(state); |                 let buttonAry = buttonController.setRowButtons(state); | ||||||
| 				return props.button.createOprationButton(buttonAry, { |                 return props.button.createOprationButton(buttonAry, { | ||||||
| 					area: PMO_LIST_BUTTON.list_inner, |                     area: PMO_LIST_BUTTON.list_inner, | ||||||
| 					buttonLimit: 3, |                     buttonLimit: 3, | ||||||
| 					ignoreHotkeyCode: buttonAry, |                     ignoreHotkeyCode: buttonAry, | ||||||
| 					onButtonClick: (props, key) => buttonClick.call(this, props, key, text, record, index) |                     onButtonClick: (props, key) => buttonClick.call(this, props, key, text, record, index) | ||||||
| 				}); |                 }); | ||||||
| 			} |             } | ||||||
| 		}; |         }; | ||||||
| 		// 将操作列添加到列表态的table中
 |         // 将操作列添加到列表态的table中
 | ||||||
| 		meta[tableId].items.push(porCol); |         meta[tableId].items.push(porCol); | ||||||
| 		return meta; |         return meta; | ||||||
| 	} |     } | ||||||
| 	function setQueryDefault(props, meta) { |  | ||||||
| 		let searchVal = cacheTools.get('searchVal'); |  | ||||||
| 		if (!searchVal) { |  | ||||||
| 			props.search.setSearchValue(searchId, [ |  | ||||||
| 				{ |  | ||||||
| 					field: 'mm_mo.tplanstarttime', |  | ||||||
| 					oprtype: 'between', |  | ||||||
| 					value: { firstvalue: '#day(0)#', secondvalue: '#day(0)#' } |  | ||||||
| 				} |  | ||||||
| 			]); |  | ||||||
| 		} |  | ||||||
| 	} |  | ||||||
| 
 | 
 | ||||||
| 	/** |     function setQueryDefault(props, meta) { | ||||||
| 		 * 处理生产大屏数据穿透 |         let searchVal = cacheTools.get('searchVal'); | ||||||
| 		 */ |         if (!searchVal) { | ||||||
| 	function process4dashboard() { |             props.search.setSearchValue(searchId, [ | ||||||
| 		let queryCriteria = getGlobalStorage('localStorage', 'QueryCriteria'); |                 { | ||||||
| 		queryCriteria = JSON.parse(queryCriteria); |                     field: 'mm_mo.tplanstarttime', | ||||||
|  |                     oprtype: 'between', | ||||||
|  |                     value: {firstvalue: '#day(0)#', secondvalue: '#day(0)#'} | ||||||
|  |                 } | ||||||
|  |             ]); | ||||||
|  |         } | ||||||
|  |     } | ||||||
| 
 | 
 | ||||||
| 		if (queryCriteria && queryCriteria.urlParam && queryCriteria.urlParam.condition) { |     /** | ||||||
| 			let condition = queryCriteria.urlParam.condition; |      * 处理生产大屏数据穿透 | ||||||
| 			let pagecode = queryCriteria.urlParam.pagecode; |      */ | ||||||
| 			let pk_org = queryCriteria.urlParam.pk_org; |     function process4dashboard() { | ||||||
| 			let dimension = queryCriteria.urlParam.dimension; |         let queryCriteria = getGlobalStorage('localStorage', 'QueryCriteria'); | ||||||
|  |         queryCriteria = JSON.parse(queryCriteria); | ||||||
| 
 | 
 | ||||||
| 			let pageInfo = this.props.table.getTablePageInfo(tableId); //分页信息
 |         if (queryCriteria && queryCriteria.urlParam && queryCriteria.urlParam.condition) { | ||||||
| 			let paramdata = |             let condition = queryCriteria.urlParam.condition; | ||||||
| 				condition + |             let pagecode = queryCriteria.urlParam.pagecode; | ||||||
| 				'#' + |             let pk_org = queryCriteria.urlParam.pk_org; | ||||||
| 				pagecode + |             let dimension = queryCriteria.urlParam.dimension; | ||||||
| 				'#' + |  | ||||||
| 				pk_org + |  | ||||||
| 				'#' + |  | ||||||
| 				dimension + |  | ||||||
| 				'#' + |  | ||||||
| 				pageInfo.pageSize + |  | ||||||
| 				'#' + |  | ||||||
| 				pageInfo.pageIndex; |  | ||||||
| 
 | 
 | ||||||
| 			ajax({ |             let pageInfo = this.props.table.getTablePageInfo(tableId); //分页信息
 | ||||||
| 				url: PMO_LIST.queryByCondURL, |             let paramdata = | ||||||
| 				data: paramdata, |                 condition + | ||||||
| 				success: (res) => { |                 '#' + | ||||||
| 					if (res.success) { |                 pagecode + | ||||||
| 						if (res.data) { |                 '#' + | ||||||
| 							//调用查询方法
 |                 pk_org + | ||||||
| 							setDefData(PMO_LIST.dataSource, 'currentTab', PMO_LIST.all); |                 '#' + | ||||||
| 							this.setState({ |                 dimension + | ||||||
| 								currentTab: PMO_LIST.all |                 '#' + | ||||||
| 							}); |                 pageInfo.pageSize + | ||||||
| 							let rowsData = { rows: [] }; |                 '#' + | ||||||
| 							if (res.data.currentGrid && res.data.currentGrid[tableId]) { |                 pageInfo.pageIndex; | ||||||
| 								rowsData = res.data.currentGrid[tableId]; |  | ||||||
| 							} |  | ||||||
| 							this.props.table.setAllTableData(tableId, rowsData); |  | ||||||
| 							buttonController.setListButtonVisiable(this.props, PMO_LIST.all); |  | ||||||
| 						} |  | ||||||
| 					} |  | ||||||
| 					removeGlobalStorage('localStorage', 'QueryCriteria'); |  | ||||||
| 				} |  | ||||||
| 			}); |  | ||||||
| 		} |  | ||||||
| 	} |  | ||||||
| 	function toggleShow() { |  | ||||||
| 		//处理生产大屏数据穿透
 |  | ||||||
| 		process4dashboard.call(this); |  | ||||||
| 		if (!this.linkquery) { |  | ||||||
| 			return; |  | ||||||
| 		} |  | ||||||
| 		let _this = this; |  | ||||||
| 		//这里需要处理下计划订单联查流程生产订单服务
 |  | ||||||
| 		let linkparam = cacheTools.get('55B4LinkTo55A2'); |  | ||||||
| 		if (!linkparam) { |  | ||||||
| 			//配套变更建议
 |  | ||||||
| 			linkparam = cacheTools.get('mosLinkTo55A2'); |  | ||||||
| 		} |  | ||||||
| 
 | 
 | ||||||
| 		let linkkey = props.getUrlParam(PMO_LIST.LINK_KEY); |             ajax({ | ||||||
| 		//供应链控制台
 |                 url: PMO_LIST.queryByCondURL, | ||||||
| 		if (!linkparam && linkkey) { |                 data: paramdata, | ||||||
| 			linkparam = cacheTools.get(linkkey); |                 success: (res) => { | ||||||
| 		} |                     if (res.success) { | ||||||
| 		let pageInfo = this.props.table.getTablePageInfo(tableId); //分页信息
 |                         if (res.data) { | ||||||
| 		//处理其他单据联查
 |                             //调用查询方法
 | ||||||
| 		if (linkparam) { |                             setDefData(PMO_LIST.dataSource, 'currentTab', PMO_LIST.all); | ||||||
| 			//this.linkquery = true;
 |                             this.setState({ | ||||||
| 			if (linkparam) { |                                 currentTab: PMO_LIST.all | ||||||
| 				let ids = linkparam.linkids; |                             }); | ||||||
| 				if (ids) { |                             let rowsData = {rows: []}; | ||||||
| 					let condition = 'querybyid'; |                             if (res.data.currentGrid && res.data.currentGrid[tableId]) { | ||||||
| 					let byids = JSON.stringify(ids); |                                 rowsData = res.data.currentGrid[tableId]; | ||||||
| 					let paramdata = |                             } | ||||||
| 						condition + |                             this.props.table.setAllTableData(tableId, rowsData); | ||||||
| 						'#' + |                             buttonController.setListButtonVisiable(this.props, PMO_LIST.all); | ||||||
| 						PMO_LIST.pageid + |                         } | ||||||
| 						'#' + |                     } | ||||||
| 						byids + |                     removeGlobalStorage('localStorage', 'QueryCriteria'); | ||||||
| 						'#' + |                 } | ||||||
| 						'' + |             }); | ||||||
| 						'#' + |         } | ||||||
| 						pageInfo.pageSize + |     } | ||||||
| 						'#' + | 
 | ||||||
| 						pageInfo.pageIndex; |     function toggleShow() { | ||||||
| 					ajax({ |         //处理生产大屏数据穿透
 | ||||||
| 						url: PMO_LIST.queryByCondURL, |         process4dashboard.call(this); | ||||||
| 						data: paramdata, |         if (!this.linkquery) { | ||||||
| 						success: (res) => { |             return; | ||||||
| 							if (res.success) { |         } | ||||||
| 								if (res.data) { |         let _this = this; | ||||||
| 									//调用查询方法
 |         //这里需要处理下计划订单联查流程生产订单服务
 | ||||||
| 									setDefData(PMO_LIST.dataSource, 'currentTab', PMO_LIST.all); |         let linkparam = cacheTools.get('55B4LinkTo55A2'); | ||||||
| 									this.setState({ |         if (!linkparam) { | ||||||
| 										currentTab: PMO_LIST.all |             //配套变更建议
 | ||||||
| 									}); |             linkparam = cacheTools.get('mosLinkTo55A2'); | ||||||
| 									let rowsData = { rows: [] }; |         } | ||||||
| 									if (res.data.currentGrid && res.data.currentGrid[tableId]) { | 
 | ||||||
| 										rowsData = res.data.currentGrid[tableId]; |         let linkkey = props.getUrlParam(PMO_LIST.LINK_KEY); | ||||||
| 									} |         //供应链控制台
 | ||||||
| 									this.props.table.setAllTableData(tableId, rowsData); |         if (!linkparam && linkkey) { | ||||||
| 									buttonController.setListButtonVisiable(this.props, PMO_LIST.all); |             linkparam = cacheTools.get(linkkey); | ||||||
| 								} |         } | ||||||
| 							} |         let pageInfo = this.props.table.getTablePageInfo(tableId); //分页信息
 | ||||||
| 						} |         //处理其他单据联查
 | ||||||
| 					}); |         if (linkparam) { | ||||||
| 				} |             //this.linkquery = true;
 | ||||||
| 			} |             if (linkparam) { | ||||||
| 			if (linkkey) { |                 let ids = linkparam.linkids; | ||||||
| 				this.props.setUrlParam({ [PMO_LIST.LINK_KEY]: null }); |                 if (ids) { | ||||||
| 				cacheTools.remove(linkkey); |                     let condition = 'querybyid'; | ||||||
| 			} |                     let byids = JSON.stringify(ids); | ||||||
| 		} |                     let paramdata = | ||||||
| 	} |                         condition + | ||||||
| 	//初始化Excel导入配置
 |                         '#' + | ||||||
| 	function initExcelImportConfig(props) { |                         PMO_LIST.pageid + | ||||||
| 		//导入主子表
 |                         '#' + | ||||||
| 		let excelimportconfig = excelImportconfig( |                         byids + | ||||||
| 			props, |                         '#' + | ||||||
| 			PMO_LIST.excelOutput.module, |                         '' + | ||||||
| 			PMO_LIST.excelOutput.billtype, |                         '#' + | ||||||
| 			true, |                         pageInfo.pageSize + | ||||||
| 			'', |                         '#' + | ||||||
| 			{ |                         pageInfo.pageIndex; | ||||||
| 				appcode: PMO_LIST.appcode, |                     ajax({ | ||||||
| 				pagecode: PMO_CARD.pageimportid |                         url: PMO_LIST.queryByCondURL, | ||||||
| 			}, |                         data: paramdata, | ||||||
| 			() => { |                         success: (res) => { | ||||||
| 				//导入按钮的回调
 |                             if (res.success) { | ||||||
| 				buttonClick.call(this, props, PMO_LIST_BUTTON.Import); |                                 if (res.data) { | ||||||
| 			} |                                     //调用查询方法
 | ||||||
| 		); |                                     setDefData(PMO_LIST.dataSource, 'currentTab', PMO_LIST.all); | ||||||
| 		props.button.setUploadConfig(PMO_LIST_BUTTON.Import, excelimportconfig); |                                     this.setState({ | ||||||
| 	} |                                         currentTab: PMO_LIST.all | ||||||
|  |                                     }); | ||||||
|  |                                     let rowsData = {rows: []}; | ||||||
|  |                                     if (res.data.currentGrid && res.data.currentGrid[tableId]) { | ||||||
|  |                                         rowsData = res.data.currentGrid[tableId]; | ||||||
|  |                                     } | ||||||
|  |                                     this.props.table.setAllTableData(tableId, rowsData); | ||||||
|  |                                     buttonController.setListButtonVisiable(this.props, PMO_LIST.all); | ||||||
|  |                                 } | ||||||
|  |                             } | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             if (linkkey) { | ||||||
|  |                 this.props.setUrlParam({[PMO_LIST.LINK_KEY]: null}); | ||||||
|  |                 cacheTools.remove(linkkey); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     //初始化Excel导入配置
 | ||||||
|  |     function initExcelImportConfig(props) { | ||||||
|  |         //导入主子表
 | ||||||
|  |         let excelimportconfig = excelImportconfig( | ||||||
|  |             props, | ||||||
|  |             PMO_LIST.excelOutput.module, | ||||||
|  |             PMO_LIST.excelOutput.billtype, | ||||||
|  |             true, | ||||||
|  |             '', | ||||||
|  |             { | ||||||
|  |                 appcode: PMO_LIST.appcode, | ||||||
|  |                 pagecode: PMO_CARD.pageimportid | ||||||
|  |             }, | ||||||
|  |             () => { | ||||||
|  |                 //导入按钮的回调
 | ||||||
|  |                 buttonClick.call(this, props, PMO_LIST_BUTTON.Import); | ||||||
|  |             } | ||||||
|  |         ); | ||||||
|  |         props.button.setUploadConfig(PMO_LIST_BUTTON.Import, excelimportconfig); | ||||||
|  |         // 导入序列号
 | ||||||
|  |         let excelimportconfig1 = excelImportconfig( | ||||||
|  |             props, | ||||||
|  |             PMO_LIST.excelOutput.module, | ||||||
|  |             'pmo_sernio', // XML文件名称
 | ||||||
|  |             true, | ||||||
|  |             '', | ||||||
|  |             { | ||||||
|  |                 appcode: PMO_LIST.appcode, | ||||||
|  |                 pagecode: '50080000_import1' | ||||||
|  |             }, | ||||||
|  |             () => { | ||||||
|  |                 //导入按钮的回调
 | ||||||
|  |                 buttonClick.call(this, props, PMO_CARD_BUTTON.Import); | ||||||
|  |             } | ||||||
|  |         ); | ||||||
|  |         props.button.setUploadConfig(PMO_CARD_BUTTON.ImportNo, excelimportconfig1); | ||||||
|  |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -4,14 +4,16 @@ | ||||||
| 		"uap/common/components/ApproveDetail", | 		"uap/common/components/ApproveDetail", | ||||||
| 		"uap/common/components/NCUploader", | 		"uap/common/components/NCUploader", | ||||||
| 		"uap/common/components/approvalTrans", | 		"uap/common/components/approvalTrans", | ||||||
| 		"ic/ic/components/billReserve" | 		"ic/ic/components/billReserve", | ||||||
|  | 		"uap/common/components/excelImportconfig" | ||||||
| 	], | 	], | ||||||
| 	"dependjs": [ | 	"dependjs": [ | ||||||
| 		"../../../../uap/common/components/codeConfigModal/index.js", | 		"../../../../uap/common/components/codeConfigModal/index.js", | ||||||
| 		"../../../../uap/common/components/ApproveDetail/index.js", | 		"../../../../uap/common/components/ApproveDetail/index.js", | ||||||
| 		"../../../../uap/common/components/NCUploader/index.js", | 		"../../../../uap/common/components/NCUploader/index.js", | ||||||
| 		"../../../../uap/common/components/approvalTrans/index.js", | 		"../../../../uap/common/components/approvalTrans/index.js", | ||||||
| 		"../../../../ic/ic/components/billReserve/index.js" | 		"../../../../ic/ic/components/billReserve/index.js", | ||||||
|  | 		"../../../../uap/common/components/excelImportconfig/index.js" | ||||||
| 	], | 	], | ||||||
| 	"report": true | 	"report": true | ||||||
| } | } | ||||||
|  | @ -175,6 +175,7 @@ const PMO_LIST_BUTTON = { | ||||||
| 	pmobcdirectprint: 'PMOBCDirectPrint', //直接打印条码
 | 	pmobcdirectprint: 'PMOBCDirectPrint', //直接打印条码
 | ||||||
| 	pmobcprint: 'PMOBCPrint', //打印条码
 | 	pmobcprint: 'PMOBCPrint', //打印条码
 | ||||||
| 	Import: 'Import', //导入
 | 	Import: 'Import', //导入
 | ||||||
|  | 	ImportNo: 'ImportNo', //导入序列号
 | ||||||
| 	ExportTem: 'ExportTem' //导出
 | 	ExportTem: 'ExportTem' //导出
 | ||||||
| }; | }; | ||||||
| const PMO_CARD_BUTTON = { | const PMO_CARD_BUTTON = { | ||||||
|  | @ -307,6 +308,7 @@ const PMO_CARD_BUTTON = { | ||||||
| 	grand_g1: 'grand_g1', | 	grand_g1: 'grand_g1', | ||||||
| 	oresetno: 'OResetno', //联副产品重新排号
 | 	oresetno: 'OResetno', //联副产品重新排号
 | ||||||
| 	Import: 'Import', //导入
 | 	Import: 'Import', //导入
 | ||||||
|  | 	ImportNo: 'ImportNo', //导入序列号
 | ||||||
| 	ExportTem: 'ExportTem', //导出
 | 	ExportTem: 'ExportTem', //导出
 | ||||||
| 	PushToPlm: 'pushToPlm' //导出
 | 	PushToPlm: 'pushToPlm' //导出
 | ||||||
| }; | }; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue