jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.ld.igds.models.InoutSysConf</Property>
      <PropertyDef name="companyId">
        <Property></Property>
        <Property name="label">组织编码</Property>
        <Property name="required">true</Property>
      </PropertyDef>
      <PropertyDef name="deptId">
        <Property></Property>
        <Property name="label">所属分库</Property>
      </PropertyDef>
      <PropertyDef name="progressIn">
        <Property></Property>
        <Property name="label">入库流程</Property>
        <Property name="required">true</Property>
      </PropertyDef>
      <PropertyDef name="progressOut">
        <Property></Property>
        <Property name="label">出库流程</Property>
        <Property name="required">true</Property>
      </PropertyDef>
      <PropertyDef name="noticeTagIn">
        <Property></Property>
        <Property name="label">入库通知单启用</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;inoutSysConfPR#triggerYesOrNo&quot;).getResult()}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
        <Property name="required">true</Property>
      </PropertyDef>
      <PropertyDef name="noticeTagOut">
        <Property></Property>
        <Property name="label">出库通知单启用</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;inoutSysConfPR#triggerYesOrNo&quot;).getResult()}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
        <Property name="required">true</Property>
      </PropertyDef>
      <PropertyDef name="noticeWx">
        <Property></Property>
        <Property name="label">微信通知启用</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;inoutSysConfPR#triggerYesOrNo&quot;).getResult()}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
        <Property name="required">true</Property>
      </PropertyDef>
      <PropertyDef name="weightEditTag">
        <Property></Property>
        <Property name="label">地磅是否可编辑</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;inoutSysConfPR#triggerYesOrNo&quot;).getResult()}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
        <Property name="required">true</Property>
      </PropertyDef>
      <PropertyDef name="noPassNext">
        <Property></Property>
        <Property name="label">化验不合格后流程</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;inoutSysConfPR#triggerNoPassType&quot;).getResult()}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
        <Property name="required">true</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
    </DataType>
  </Model>
  <View layout="padding:5;regionPadding:5">
    <ClientEvent name="onReady">var deptId = &quot;${request.getParameter('deptId')}&quot;;&#xD;
&#xD;
//查询&#xD;
query = function(){&#xD;
    var data = {deptId:deptId};&#xD;
    view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data).flushAsync();&#xD;
};&#xD;
query();</ClientEvent>
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataProvider">inoutSysConfPR#getSysConfData</Property>
      <Property name="dataType">dtMain</Property>
      <Property name="loadMode">manual</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Property name="contentOverflow">hidden</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <Property name="caption">确认修改</Property>
        <Property name="exClassName">btn-normal</Property>
        <Property name="iconClass">fa fa-check</Property>
        <Property name="action">updateData</Property>
      </Button>
    </Container>
    <Container layout="regionPadding:10" layoutConstraint="center">
      <Property name="exClassName">bg-color</Property>
      <AutoForm>
        <Property name="dataSet">dsMain</Property>
        <Property name="labelAlign">right</Property>
        <Property name="labelSeparator">:</Property>
        <Property name="labelWidth">140</Property>
        <Property name="cols">*,*,*,*,*,*,*</Property>
        <Control/>
        <AutoFormElement layoutConstraint="colSpan:3">
          <Property name="name">progressIn</Property>
          <Property name="property">progressIn</Property>
          <Property name="editorType">TextArea</Property>
          <Editor/>
        </AutoFormElement>
        <Label layoutConstraint="colSpan:3">
          <Property name="text">说明:配置出入库流程时,选择下面流程,流程之间用“-”隔开。流程如下:REGISTER(登记)、CHECK(化验)、WEIGHT_FULL(满车称重)、HANDLE(值仓)、WEIGHT_EMPTY(空车称重)、CARD_BACK(卡回收)、DRYING(待烘干)、RECORD(备案)</Property>
        </Label>
        <Control/>
        <AutoFormElement layoutConstraint="colSpan:3">
          <Property name="name">progressOut</Property>
          <Property name="property">progressOut</Property>
          <Property name="editorType">TextArea</Property>
          <Editor/>
        </AutoFormElement>
        <Label layoutConstraint="colSpan:3"/>
        <Control/>
        <AutoFormElement layoutConstraint="colSpan:3">
          <Property name="name">noticeTagIn</Property>
          <Property name="property">noticeTagIn</Property>
          <Editor/>
        </AutoFormElement>
        <Label layoutConstraint="colSpan:3"/>
        <Control/>
        <AutoFormElement layoutConstraint="colSpan:3">
          <Property name="name">noticeTagOut</Property>
          <Property name="property">noticeTagOut</Property>
          <Editor/>
        </AutoFormElement>
        <Label layoutConstraint="colSpan:3"/>
        <Control/>
        <AutoFormElement layoutConstraint="colSpan:3">
          <Property name="name">noticeWx</Property>
          <Property name="property">noticeWx</Property>
          <Editor/>
        </AutoFormElement>
        <Label layoutConstraint="colSpan:3"/>
        <Control/>
        <AutoFormElement layoutConstraint="colSpan:3">
          <Property name="name">weightEditTag</Property>
          <Property name="property">weightEditTag</Property>
          <Editor/>
        </AutoFormElement>
        <Label layoutConstraint="colSpan:3"/>
        <Control/>
        <AutoFormElement layoutConstraint="colSpan:3">
          <Property name="name">noPassNext</Property>
          <Property name="property">noPassNext</Property>
          <Editor/>
        </AutoFormElement>
        <Label layoutConstraint="colSpan:3"/>
        <Control/>
        <AutoFormElement layoutConstraint="colSpan:3">
          <Property name="name">remark</Property>
          <Property name="property">remark</Property>
          <Editor/>
        </AutoFormElement>
        <Label layoutConstraint="colSpan:3"/>
      </AutoForm>
    </Container>
    <UpdateAction id="updateData">
      <Property name="dataResolver">inoutSysConfPR#saveSysConfData</Property>
      <Property name="confirmMessage">确定要执行更新么?</Property>
      <Property name="successMessage">数据更新完成!!!</Property>
      <UpdateItem>
        <Property name="dataSet">dsMain</Property>
        <Property name="dataPath">[#current]</Property>
      </UpdateItem>
    </UpdateAction>
  </View>
</ViewConfig>