|

楼主 |
发表于 2014-10-30 14:15:02
|
显示全部楼层
<?xml version="1.0" encoding="utf-8"?>
<xui:window xmlns:xui="http://www.justep.com/xui" xmlns="http://www.justep.com/xui"
xmlns:xforms="http://www.justep.com/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:ev="http://www.w3.org/2001/xml-events" component="/UI/system/components/window.xbl.xml#window" id="wMian">
<xforms:model id="mdMain" style="top:395px;height:auto;left:406px;">
<data component="/UI/system/components/data.xbl.xml#bizData" update-mode="whereVersion"
data-type="xml" auto-load="false" id="dataPurchase" concept="OA_FC_PURCHASE"
store-type="simple" auto-new="true">
<creator id="default3" action="/OA/purchase/logic/action/createOA_FC_PURCHASEAction"/>
<reader id="default4" action="/OA/purchase/logic/action/queryOA_FC_PURCHASEAction"/>
<writer id="default5" action="/OA/purchase/logic/action/saveOA_FC_PURCHASEAction"/>
</data>
<data component="/UI/system/components/data.xbl.xml#bizData" update-mode="whereVersion"
data-type="xml" auto-load="true" id="dataPurchaseM" concept="OA_FC_PURCHASE_M">
<creator id="default6" action="/OA/purchase/logic/action/createOA_FC_PURCHASE_MAction"/>
<reader id="default8" action="/OA/purchase/logic/action/queryOA_FC_PURCHASE_MAction"/>
<writer id="default9" action="/OA/purchase/logic/action/saveOA_FC_PURCHASE_MAction"/>
</data>
</xforms:model>
<xui:view id="rootView" auto-load="true">
<xhtml:div component="/UI/system/components/process.xbl.xml#process" id="purchaseProcess"
data="dataPurchase"/>
<xhtml:div component="/UI/system/components/windowDialog.xbl.xml#windowDialog"
title="HR人员列表" width="700px" height="530px" modal="true" id="dlgSelectPersonInfo"
url="/UI/OA/finance/process/dialog/selectHrPerson/selectHrPersonInfo.w"
onReceive="startActivity.dlgSelectPersonInfoReceive"/>
<xhtml:div component="/UI/system/components/processChart.xbl.xml#processChart"
id="processChart"/>
<xui:view id="vBar">
<xhtml:div component="/UI/system/components/toolbars.xbl.xml#toolbars" id="toolbars">
<xui:bar component="/UI/system/components/bar.xbl.xml#navigatorBar" data="dataPurchase"
id="navigatorBar" mode="IMG_TXT_LR">
<item id="barItem2" name="save-item"/>
</xui:bar>
<xui:bar component="/UI/system/components/processBar.xbl.xml#processBar"
id="processBar" mode="IMG_TXT_LR" process="purchaseProcess">
<item id="barItem13" name="advance-process-item"/>
<item id="barItem12" name="back-process-item"/>
<item id="barItem16" name="abort-process-item"/>
</xui:bar>
</xhtml:div>
<xui:layout style="height:100%;">
<place control="toolbars"/>
</xui:layout>
</xui:view>
<xui:view id="vPurchase">
<xforms:output id="fNO" ref="data('dataPurchase')/fNO" auto-size="true" style="width:100%;background-color:transparent;"/>
<xforms:textarea ref="data('dataPurchase')/remarks" id="remarks" auto-size="true"
style="height:100%;width:100%;"/>
<xui:view id="vBarPurchase">
<xhtml:div component="/UI/system/components/toolbars.xbl.xml#toolbars" id="toolbars2">
<xui:bar component="/UI/system/components/bar.xbl.xml#navigatorBar" id="navigatorBar2"
data="dataPurchaseM">
<item name="insert-item" id="insertBtn" readonly="(call('justep.Context.getRequestParameter', 'activity-pattern') = 'detail')"/>
<item name="delete-item" id="deleteBtn" readonly="(call('justep.Context.getRequestParameter', 'activity-pattern') = 'detail')"/>
</xui:bar>
</xhtml:div>
<xui:layout style="height:100%">
<place control="toolbars2"/>
</xui:layout>
</xui:view>
<xui:view id="vGrdPurchase">
<xhtml:div component="/UI/system/components/grid.xbl.xml#grid" show-header-menu="hide-column,save-layout,group-column,adjust-column"
id="grdPurchaseM" data="dataPurchaseM">
<xui:column id="gridColumn9" ref="fNO" label="采购单NO" type="ed" width="100px"/>
<xui:column id="gridColumn3" ref="purchaseType" label="分类" type="ed" width="100px"/>
<xui:column id="gridColumn4" ref="purchaseNo" label="物料编码" type="ed" width="100px"/>
<xui:column id="gridColumn5" ref="purchaseName" label="名称" type="ed" width="100px"/>
<xui:column id="gridColumn6" ref="unit" label="单位" type="ed" width="100px"/>
<xui:column id="gridColumn7" ref="num" label="数量" type="ed" width="100px"/>
<xui:column id="gridColumn8" ref="specifications" label="规格型号" type="ed"
width="100px"/>
</xhtml:div>
<xui:layout style="height:100%">
<place control="grdPurchaseM" style="width:100%;height:100%;"/>
</xui:layout>
</xui:view>
<xui:layout style="height:100%;" type="excel" src="purchase.xls"/>
</xui:view>
<xui:layout style="height:100%;width:100%">
<xhtml:div component="/UI/system/components/tabs.xbl.xml#tabs" id="tabpanel1"
style="height:100%;width:100%;;">
<xui:tab id="tabPage1">
<xui:label>详细</xui:label>
<xhtml:table id="table" align="center">
<xhtml:tr>
<xhtml:td style="height:35px">
<place control="vBar"/>
<place control="dlgSelectPersonInfo" style="top:81px;left:251px;"/>
</xhtml:td>
</xhtml:tr>
<xhtml:tr>
<xhtml:td>
<place control="vPurchase"/>
</xhtml:td>
</xhtml:tr>
<xhtml:tr id="default7">
<xhtml:td id="td1"/>
</xhtml:tr>
</xhtml:table>
<place control="purchaseProcess" style="width:24px;top:84px;left:219px;"/>
</xui:tab>
<xui:tab id="tabProcessChart">
<xui:label>流程轨迹</xui:label>
<xforms:action ev:event="xforms-select" if="event('target')='tabProcessChart'">
<xforms:script>onClickFlowChartPage(event)</xforms:script>
</xforms:action>
<place control="processChart" style="height:100%;width:100%;"/>
</xui:tab>
</xhtml:div>
</xui:layout>
</xui:view>
<xui:resource>
<xhtml:script src="startActivity.js"/>
<xhtml:link rel="STYLESHEET" type="text/css" href="/UI/appCommon/css/common.css"/>
<xhtml:script src="/UI/appCommon/js/appCommon.js"/>
</xui:resource>
</xui:window>
|
|