95 lines
6.3 KiB
XML
95 lines
6.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<pages>
|
|
<maintainPage id="editInvoiceBoxFBPage" title="editInvoiceBoxPage" autoQuery="true" width='800' height='500'>
|
|
<search>
|
|
<inputUIs>
|
|
<text id="customsRecord.hsCode" title="customsOrder.code" row="0" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true"/>
|
|
<text id="item.code" title="item.code" row="0" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true"/>
|
|
<text id="itemtype" title="itemtype" defaultValue="非保二线" row="0" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="true" trimSpace="true"/>
|
|
<text id="itemNumber" title="商品备案序号" row="1" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true"/>
|
|
<text id="item.name" title="品名" row="1" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true"/>
|
|
<text id="odd.lotInfo.propC1" title="批号" row="2" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true"/>
|
|
<text id="odd.lotInfo.propC4" title="原产国" row="2" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true"/>
|
|
|
|
</inputUIs>
|
|
</search>
|
|
<datasource type="hql"><![CDATA[SELECT
|
|
od.id,
|
|
od.qty-od.idvQty,
|
|
item.customsRecord.hsCode,
|
|
item.customsRecord.itemNumber,
|
|
item.code,
|
|
odd.lotInfo.propC5,
|
|
item.name,
|
|
odd.lotInfo.propC1,
|
|
odd.lotInfo.propC4,
|
|
item.specs,
|
|
od.qty,
|
|
odd.lotInfo.propC3,
|
|
od.weight
|
|
FROM AddInvoiceDetial od
|
|
left join od.item item
|
|
left join od.orderDetail odd
|
|
left join item.bgxx as customsRecord
|
|
left join item.customsRecord
|
|
WHERE 1=1 and (od.qty-od.idvQty>0) and od.order.id={invoiceBox.customsOrder.id} and od.type='INVOICE3'
|
|
/~customsRecord.hsCode: and customsRecord.hsCode like {customsRecord.hsCode}~/
|
|
/~item.code: and item.code like {item.code}~/
|
|
/~itemNumber: and customsRecord.itemNumber like {itemNumber}~/
|
|
/~item.name: and item.name like {item.name}~/
|
|
/~odd.lotInfo.propC1: and odd.lotInfo.propC1 like {odd.lotInfo.propC1}~/
|
|
/~odd.lotInfo.propC4: and odd.lotInfo.propC4 like {odd.lotInfo.propC4}~/
|
|
order by od.id asc
|
|
]]></datasource>
|
|
<columns>
|
|
<column id="od.id" title="od.id" visible="false" horizonAlign="center" verticalAlign="middle"/>
|
|
<column id="od.receivedQuantity" title="od.receivedQuantity" visible="true" horizonAlign="center" verticalAlign="middle" inputUI="text" inputUIValidator="integerRequired"/>
|
|
<column id="customsRecord.hsCode" title="customsRecord.hsCode" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
|
<column id="customsRecord.itemNumber" title="customsRecord.itemNumber" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
|
<column id="item.code" title="item.code" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
|
<column id="odd.lotInfo.propC5" title="lotInfo.propC5" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
|
<column id="customsRecord.name" title="productName" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
|
<column id="od.lotInfo.propC1" title="od.lotInfo.propC1" visible="true" horizonAlign="center" verticalAlign="middle" />
|
|
<column id="od.lotInfo.propC4" title="od.lotInfo.propC4" visible="true" horizonAlign="center" verticalAlign="middle" />
|
|
<column id="item.specs" title="specs" visible="true" horizonAlign="center" verticalAlign="middle" />
|
|
<column id="od.expectedQuantity" title="quantity" visible="true" horizonAlign="center" verticalAlign="middle" />
|
|
<column id="od.lotInfo.propC3" title="od.lotInfo.propC3" visible="true" horizonAlign="center" verticalAlign="middle" />
|
|
<column id="od.weight" title="od.weight" visible="true" horizonAlign="center" verticalAlign="middle" />
|
|
</columns>
|
|
<buttons>
|
|
<!-- <popup id="new" title="new" enableType="none" invisible="false" containId="false" pageId="modifyInvoiceBoxPage"/> -->
|
|
<!-- <popup id="modify" title="modify" enableType="single" invisible="false" containId="true" pageId="editCustomsOrderPage"/> -->
|
|
<commit id="add" title="保存" enableType="multi" invisible="false" >
|
|
<mappings>
|
|
<mapping id="invoiceBox.id" className="long"/>
|
|
<mapping id="map" className="map"/>
|
|
<mapping id="itemtype" className="string"/>
|
|
</mappings>
|
|
<actions>
|
|
<action managerName="customsOrderManager" methodName="addInvoiceDetial" parameter="invoiceBox.id,map,itemtype"/>
|
|
</actions>
|
|
<forwards>
|
|
<forward name="refreshWindow" newEnabled="true" editEnabled="true"/>
|
|
<forward name="refreshParent" newEnabled="true" editEnabled="true"/>
|
|
</forwards>
|
|
</commit>
|
|
<commit id="addAll" title="全部添加" enableType="none" invisible="false" >
|
|
<mappings>
|
|
<mapping id="invoiceBox.id" className="long"/>
|
|
<mapping id="itemtype" className="string"/>
|
|
</mappings>
|
|
<actions>
|
|
<action managerName="customsOrderManager" methodName="addFBInvoiceDetial" parameter="invoiceBox.id,itemtype"/>
|
|
</actions>
|
|
<forwards>
|
|
<forward name="refreshWindow" newEnabled="true" editEnabled="true"/>
|
|
<forward name="refreshParent" newEnabled="true" editEnabled="true"/>
|
|
</forwards>
|
|
</commit>
|
|
<!-- <popup id="customsOrderFee" title="customsOrderFee" enableType="single" invisible="false" containId="true" pageId="modifyCustomsOrderFeePage"/> -->
|
|
<!-- <popup id="customsOrderPayFee" title="customsOrderPayFee" enableType="single" invisible="false" containId="true" pageId="modifyCustomsPayFeePage"/> -->
|
|
</buttons>
|
|
</maintainPage>
|
|
</pages>
|