2 Commits 576fa16348 ... c7b2cd8fc2

Author SHA1 Message Date
  lufeng c7b2cd8fc2 Merge branch 'master' of http://101.36.160.140:21044/depot-tianjin/depot-web-tianjin 2 years ago
  lufeng c5bd149433 fix: bugs 2 years ago

+ 1 - 1
src/main/resources/static/app/business/facility/views/add-facility.html

@@ -52,7 +52,7 @@
52 52
 											<label class="label">竣工年份:<span style="color: red;">*</span></label>
53 53
 											<label class="input">
54 54
                                                 <input type="text" name="jgnf" id="facility_jgnf" ng-disabled="isNotEdit" ng-model="facilityInfo.jgnf"
55
-							                		class="form-control" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy'})" ng-readonly="true" required>
55
+                                                placeholder="竣工年份" class="form-control" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy'})" required>
56 56
 											</label>
57 57
 										</section>
58 58
 										<section class="col col-3">

+ 22 - 8
src/main/resources/static/app/storage/grainCard/views/checkFoodSituationList.html

@@ -129,19 +129,33 @@
129 129
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.checkTime}}</td>
130 130
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">溶剂残留量(mg/kg)</td>
131 131
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.residualSolvent}}</td>
132
-                                                <td class="text-center" rowspan="3" colspan="2"
132
+                                                <td class="text-center" colspan="2"
133 133
                                                     style="vertical-align: middle;border:1px solid #ccc;vertical-align: middle;text-align: center;">{{grainCardView.keeperNames}}
134 134
                                                 </td>
135 135
                                             </tr>
136 136
                                             <tr>
137
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;" height="45px">出油口高度(米)</td>
138
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.oilHeight}}</td>
139
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;"></td>
140
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;"></td>
141
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;"></td>
142
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;"></td>
137
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">状态</td>
138
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">封仓</td>
139
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">存储类型</td>
140
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.storeType == 1 ? "直储" : "代储"}}</td>
141
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">收储地点</td>
142
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">库内</td>
143
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">计价数量</td>
144
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.number ? grainCardView.number/1000 : 0 | number : 3}}</td>
143 145
                                             </tr>
144 146
                                             <tr>
147
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">入仓年度</td>
148
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.inputTime.slice(0, 4)}}</td>
149
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">散存粮体积</td>
150
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.looseGrainVolume}}</td>
151
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">包存粮包数</td>
152
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainPacks}}</td>
153
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">粮权所属</td>
154
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainRights == 1 ? "市粮食局" : orgInfo.orgName}}</td>
155
+                                            </tr>
156
+                                            <tr>
157
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;" height="45px">出油口高度(米)</td>
158
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.oilHeight}}</td>
145 159
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;" height="45px">检查口高度(米)</td>
146 160
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.insportHeight}}</td>
147 161
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;"></td>
@@ -166,7 +180,7 @@
166 180
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{dicData[oneCard.tankType]}}</td>
167 181
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{oneCard.number ? oneCard.number/1000 : 0 | number : 3}}</td>
168 182
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{oneCard.keeperNames}}</td>
169
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;" colspan="2"></td>
183
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;" colspan="3">{{GrainCardByIdObj.remark}}</td>
170 184
                                             </tr>
171 185
                                             <table class="table table-striped table-bordered table-hover"
172 186
                                                    width="100%" style="table-layout: fixed;"

+ 66 - 1
src/main/resources/static/app/storage/grainCard/views/oilCarAdd.html

@@ -107,6 +107,44 @@
107 107
                                         </tr>
108 108
                                         <tr>
109 109
                                             <th>
110
+                                                <label class="label" style="margin-top: 9px;text-align: center;">散存粮体积:</label>
111
+                                            </th>
112
+                                            <th>
113
+                                                <section>
114
+                                                    <label class="input">
115
+                                                        <input type="text" ng-model="oilCard.looseGrainVolume"
116
+                                                               name="looseGrainVolume" class="form-control">
117
+                                                    </label>
118
+                                                </section>
119
+                                            </th>
120
+                                            <th>
121
+                                                <label class="label" style="margin-top: 9px;text-align: center;">存储类型:</label>
122
+                                            </th>
123
+                                            <th>
124
+                                                <section>
125
+                                                    <label class="select">
126
+                                                        <select ng-model="oilCard.storeType" name="storeType">
127
+                                                            <option value="">--请选择--</option>
128
+                                                            <option value="1">直储</option>
129
+                                                            <option value="2">代储</option>
130
+                                                        </select><i></i>
131
+                                                    </label>
132
+                                                </section>
133
+                                            </th>
134
+                                            <th style="border-bottom-width:1px">
135
+                                                <label class="label" style="margin-top: 9px;text-align: center;">包存粮包数:</label>
136
+                                            </th>
137
+                                            <th style="border-bottom-width:1px">
138
+                                                <section>
139
+                                                    <label class="input">
140
+                                                        <input type="text" ng-model="oilCard.grainPacks"
141
+                                                               name="grainPacks" class="form-control">
142
+                                                    </label>
143
+                                                </section>
144
+                                            </th>
145
+                                        </tr>
146
+                                        <tr>
147
+                                            <th>
110 148
                                                 <label class="label" style="margin-top: 9px;text-align: center;">轮换协议编号</label>
111 149
                                             </th>
112 150
                                             <th style="border-bottom-width:1px">
@@ -117,7 +155,34 @@
117 155
                                                     </label>
118 156
                                                 </section>
119 157
                                             </th>
120
-                                            <th colspan="4"></th>
158
+                                            <th>
159
+                                                <label class="label" style="margin-top: 9px;text-align: center;">粮权所属:</label>
160
+                                            </th>
161
+                                            <th style="border-bottom-width:1px">
162
+                                                <section>
163
+                                                    <label class="select">
164
+                                                        <select ng-model="oilCard.grainRights" name="grainRights" required>
165
+                                                            <option value="">--请选择--</option>
166
+                                                            <option value="1">市粮食局</option>
167
+                                                            <option value="2">{{orgInfo.orgName}}</option>
168
+                                                        </select><i></i>
169
+                                                    </label>
170
+                                                </section>
171
+                                            </th>
172
+                                            <!-- <th colspan="4"></th> -->
173
+                                        </tr>
174
+                                        <tr>
175
+                                            <th>
176
+                                                <label class="label" style="margin-top: 9px;text-align: center;">备注</label>
177
+                                            </th>
178
+                                            <th style="border-bottom-width:1px" colspan="5">
179
+                                                <section>
180
+                                                    <label class="input">
181
+                                                        <input type="text" ng-model="oilCard.remark"
182
+                                                               name="remark" class="form-control">
183
+                                                    </label>
184
+                                                </section>
185
+                                            </th>
121 186
                                         </tr>
122 187
                                     </table>
123 188
                                     <div>