| | |
| | | <PropertyDef name="customerBank"> |
| | | <Property></Property> |
| | | <Property name="label">客户开户行</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicTriggerPR#dicTrigger").getResult("KHKHH")}</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerBankAccount"> |
| | | <Property></Property> |
| | |
| | | <PropertyDef name="bank"> |
| | | <Property></Property> |
| | | <Property name="label">本方开户行</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicTriggerPR#dicTrigger").getResult("KHKHH")}</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bankAccount"> |
| | | <Property></Property> |
| | |
| | | <PropertyDef name="price"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">单价</Property> |
| | | <Property name="displayFormat">#,###0.000 元/公斤</Property> |
| | | <Property name="displayFormat">#,###0.000 元/吨</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="money"> |
| | |
| | | if(price && contactAmount){
 |
| | | 
 |
| | | //计算倒入数量
 |
| | | var money = price*contactAmount;
 |
| | | var money = price*contactAmount/1000;
 |
| | | curData.set("money",money); 
 |
| | | }
 |
| | | };</ClientEvent> |
| | |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#dsParam").setData({type:'1'});
 |
| | | view.get("#dsMain").set("parameter",{type:'1'}).flushAsync();</ClientEvent> |
| | | <ClientEvent name="onClick">view.get("#dsParam").setData({});
 |
| | | view.get("#dsMain").set("parameter",{}).flushAsync();</ClientEvent> |
| | | <Property name="exClassName">btn-warn</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="caption">重置</Property> |
| | |
| | | <DataColumn name="name"> |
| | | <Property name="property">name</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">340</Property> |
| | | </DataColumn> |
| | | <DataColumn name="type"> |
| | | <Property name="property">type</Property> |
| | |
| | | <DataColumn name="customerName"> |
| | | <Property name="property">customerName</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">300</Property> |
| | | </DataColumn> |
| | | <DataColumn name="money"> |
| | | <Property name="property">money</Property> |
| | |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">signAddress</Property> |
| | | <Property name="property">signAddress</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |