| | |
| | | <PropertyDef name="djsj"> |
| | | <Property></Property> |
| | | <Property name="label">登记时间</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zz"> |
| | | <Property></Property> |
| | |
| | | </DataType> |
| | | </Model> |
| | | <View layout="regionPadding:10"> |
| | | <ClientEvent name="onReady">
 |
| | | edit = function(){
 |
| | | var dialog= view.get("#dialogMain1");
 |
| | | dialog.show();
 |
| | | }
 |
| | | 
 |
| | | 
 |
| | | save = function(){
 |
| | | var dialog= view.get("#dialogMain2");
 |
| | | var list = view.get("#dsMain.data:#").get("crkmx");
 |
| | | list.insert({});
 |
| | | dialog.show();
 |
| | | 
 |
| | | }</ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | |
| | | <Property name="property">yscch</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <ClientEvent name="onRenderCell">arg.dom.innerHTML="<a href='javascript:;' class ='btn-s-default' onClick='edit()'>详情</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a class ='btn-s-warm' href='javascript:;' onClick='save()'>新增</a>";
 |
| | | arg.progressDefault= false;</ClientEvent> |
| | | <Property name="caption">操作</Property> |
| | | <Property name="width">150</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Container> |
| | | <Dialog id="dialogMain1"> |
| | | <Property name="width">85%</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="height">80%</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | self.get("parent").hide();
 |
| | | if(cur) cur.cancel();</ClientEvent> |
| | | <Property name="caption">取消</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Panel layout="regionPadding:5"> |
| | | <Property name="caption">出入库明细</Property> |
| | | <Property name="height">400</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <DataGrid id="dgCrkmx"> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="dataPath">#.crkmx</Property> |
| | | <DataColumn name="crkmxid"> |
| | | <Property name="property">crkmxid</Property> |
| | | </DataColumn> |
| | | <DataColumn name="ajbh"> |
| | | <Property name="property">ajbh</Property> |
| | | </DataColumn> |
| | | <DataColumn name="ajmc"> |
| | | <Property name="property">ajmc</Property> |
| | | </DataColumn> |
| | | <DataColumn name="hwbh"> |
| | | <Property name="property">hwbh</Property> |
| | | </DataColumn> |
| | | <DataColumn name="hwmc"> |
| | | <Property name="property">hwmc</Property> |
| | | </DataColumn> |
| | | <DataColumn name="kctzbh"> |
| | | <Property name="property">kctzbh</Property> |
| | | </DataColumn> |
| | | <DataColumn name="kctzcppcid"> |
| | | <Property name="property">kctzcppcid</Property> |
| | | </DataColumn> |
| | | <DataColumn name="psmxid"> |
| | | <Property name="property">psmxid</Property> |
| | | </DataColumn> |
| | | <DataColumn name="yjfamxid"> |
| | | <Property name="property">yjfamxid</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Children> |
| | | <Tools/> |
| | | </Panel> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">85%</Property> |
| | | <Property name="closeable">false</Property> |
| | |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <Panel layout="regionPadding:5"> |
| | | <Property name="caption">盘点明细</Property> |
| | | <Property name="height">400</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="labelPosition">top</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelAlign">left</Property> |
| | | <Property name="dataPath">#.crkmx</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">crkmxid</Property> |
| | | <Property name="property">crkmxid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ajbh</Property> |
| | | <Property name="property">ajbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ajmc</Property> |
| | | <Property name="property">ajmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hwbh</Property> |
| | | <Property name="property">hwbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hwmc</Property> |
| | | <Property name="property">hwmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kctzbh</Property> |
| | | <Property name="property">kctzbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kctzcppcid</Property> |
| | | <Property name="property">kctzcppcid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">psmxid</Property> |
| | | <Property name="property">psmxid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yjfamxid</Property> |
| | | <Property name="property">yjfamxid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lspzbm</Property> |
| | | <Property name="property">lspzbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lspzmc</Property> |
| | | <Property name="property">lspzmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cpbh</Property> |
| | | <Property name="property">cpbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cpmc</Property> |
| | | <Property name="property">cpmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jldwbm</Property> |
| | | <Property name="property">jldwbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jldwmc</Property> |
| | | <Property name="property">jldwmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jsdwbm</Property> |
| | | <Property name="property">jsdwbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jsdwmc</Property> |
| | | <Property name="property">jsdwmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">crlx</Property> |
| | | <Property name="property">crlx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">crksl</Property> |
| | | <Property name="property">crksl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">crkzl</Property> |
| | | <Property name="property">crkzl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qcsl</Property> |
| | | <Property name="property">qcsl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qmsl</Property> |
| | | <Property name="property">qmsl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qczl</Property> |
| | | <Property name="property">qczl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qmzl</Property> |
| | | <Property name="property">qmzl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">shsl</Property> |
| | | <Property name="property">shsl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">shzl</Property> |
| | | <Property name="property">shzl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysyq</Property> |
| | | <Property name="property">ysyq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sfhx</Property> |
| | | <Property name="property">sfhx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qkxm</Property> |
| | | <Property name="property">qkxm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dj</Property> |
| | | <Property name="property">dj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">je</Property> |
| | | <Property name="property">je</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cpdj</Property> |
| | | <Property name="property">cpdj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cd</Property> |
| | | <Property name="property">cd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sccj</Property> |
| | | <Property name="property">sccj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">gg</Property> |
| | | <Property name="property">gg</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cppc</Property> |
| | | <Property name="property">cppc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">scrq</Property> |
| | | <Property name="property">scrq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bzq</Property> |
| | | <Property name="property">bzq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bzqjzrq</Property> |
| | | <Property name="property">bzqjzrq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bgy</Property> |
| | | <Property name="property">bgy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ckfs</Property> |
| | | <Property name="property">ckfs</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">djsj</Property> |
| | | <Property name="property">djsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zz</Property> |
| | | <Property name="property">zz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jjy</Property> |
| | | <Property name="property">jjy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sxh</Property> |
| | | <Property name="property">sxh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bz</Property> |
| | | <Property name="property">bz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Panel> |
| | | <Panel layout="regionPadding:5"> |
| | | <Property name="caption">质检报告文件</Property> |
| | | <Property name="height">400</Property> |
| | | <Buttons/> |
| | |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <Dialog id="dialogMain2"> |
| | | <Property name="width">85%</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="caption">出入库明细</Property> |
| | | <Property name="height">80%</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | view.get("#updateSave").execute(function(){
 |
| | | self.get("parent").hide();
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | });</ClientEvent> |
| | | <Property name="caption">确定</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | self.get("parent").hide();
 |
| | | if(cur) cur.cancel();</ClientEvent> |
| | | <Property name="caption">取消</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="labelPosition">top</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelAlign">left</Property> |
| | | <Property name="dataPath">#.crkmx</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">crkmxid</Property> |
| | | <Property name="property">crkmxid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ajbh</Property> |
| | | <Property name="property">ajbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ajmc</Property> |
| | | <Property name="property">ajmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hwbh</Property> |
| | | <Property name="property">hwbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hwmc</Property> |
| | | <Property name="property">hwmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kctzbh</Property> |
| | | <Property name="property">kctzbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kctzcppcid</Property> |
| | | <Property name="property">kctzcppcid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">psmxid</Property> |
| | | <Property name="property">psmxid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yjfamxid</Property> |
| | | <Property name="property">yjfamxid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lspzbm</Property> |
| | | <Property name="property">lspzbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lspzmc</Property> |
| | | <Property name="property">lspzmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cpbh</Property> |
| | | <Property name="property">cpbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cpmc</Property> |
| | | <Property name="property">cpmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jldwbm</Property> |
| | | <Property name="property">jldwbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jldwmc</Property> |
| | | <Property name="property">jldwmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jsdwbm</Property> |
| | | <Property name="property">jsdwbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jsdwmc</Property> |
| | | <Property name="property">jsdwmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">crlx</Property> |
| | | <Property name="property">crlx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">crksl</Property> |
| | | <Property name="property">crksl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">crkzl</Property> |
| | | <Property name="property">crkzl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qcsl</Property> |
| | | <Property name="property">qcsl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qmsl</Property> |
| | | <Property name="property">qmsl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qczl</Property> |
| | | <Property name="property">qczl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qmzl</Property> |
| | | <Property name="property">qmzl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">shsl</Property> |
| | | <Property name="property">shsl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">shzl</Property> |
| | | <Property name="property">shzl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysyq</Property> |
| | | <Property name="property">ysyq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sfhx</Property> |
| | | <Property name="property">sfhx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qkxm</Property> |
| | | <Property name="property">qkxm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dj</Property> |
| | | <Property name="property">dj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">je</Property> |
| | | <Property name="property">je</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cpdj</Property> |
| | | <Property name="property">cpdj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cd</Property> |
| | | <Property name="property">cd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sccj</Property> |
| | | <Property name="property">sccj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">gg</Property> |
| | | <Property name="property">gg</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cppc</Property> |
| | | <Property name="property">cppc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">scrq</Property> |
| | | <Property name="property">scrq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bzq</Property> |
| | | <Property name="property">bzq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bzqjzrq</Property> |
| | | <Property name="property">bzqjzrq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bgy</Property> |
| | | <Property name="property">bgy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ckfs</Property> |
| | | <Property name="property">ckfs</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">djsj</Property> |
| | | <Property name="property">djsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zz</Property> |
| | | <Property name="property">zz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jjy</Property> |
| | | <Property name="property">jjy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sxh</Property> |
| | | <Property name="property">sxh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bz</Property> |
| | | <Property name="property">bz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">whjlApi1212PR#saveData</Property> |
| | | <UpdateItem> |