|
...
|
...
|
@@ -174,113 +174,6 @@ |
|
174
|
174
|
</view>
|
|
175
|
175
|
</view>
|
|
176
|
176
|
|
|
177
|
|
- <view v-else-if="mode === 'fill'" class="section">
|
|
178
|
|
- <view v-for="(item, idx) in items" :key="'a-' + idx" class="block">
|
|
179
|
|
- <uni-list class="edit-list">
|
|
180
|
|
- <uni-list-item title="牌号">
|
|
181
|
|
- <template v-slot:footer>
|
|
182
|
|
- <text class="value">{{ item.brand }}</text>
|
|
183
|
|
- </template>
|
|
184
|
|
- </uni-list-item>
|
|
185
|
|
- <!-- 厚(公差) * 宽(公差) * 长(公差) -->
|
|
186
|
|
- <uni-list-item title="规格(mm)">
|
|
187
|
|
- <template v-slot:footer>
|
|
188
|
|
- <view class="value value-spec">
|
|
189
|
|
- <view v-if="item.thickness" class="value-spec_val">{{ item.thickness }}</view>
|
|
190
|
|
- <view v-if="item.thickness" class="value-spec_box">
|
|
191
|
|
- <view v-if="item.thicknessTolPos" class="value-spec_box_1">{{ item.thicknessTolPos >
|
|
192
|
|
- 0 ? '+'
|
|
193
|
|
- +
|
|
194
|
|
- item.thicknessTolPos : item.thicknessTolPos }}
|
|
195
|
|
- </view>
|
|
196
|
|
- <view v-if="item.thicknessTolNeg" class="value-spec_box_2">{{ item.thicknessTolNeg >
|
|
197
|
|
- 0 ? '+'
|
|
198
|
|
- +
|
|
199
|
|
- item.thicknessTolNeg : item.thicknessTolNeg }}
|
|
200
|
|
- </view>
|
|
201
|
|
- </view>
|
|
202
|
|
- <view v-if="item.width" class="value-spec_val p12">*</view>
|
|
203
|
|
- <view v-if="item.width" class="value-spec_val">{{ item.width }}</view>
|
|
204
|
|
- <view v-if="item.width" class="value-spec_box">
|
|
205
|
|
- <view v-if="item.widthTolPos" class="value-spec_box_1">{{ item.widthTolPos > 0 ? '+'
|
|
206
|
|
- +
|
|
207
|
|
- item.widthTolPos : item.widthTolPos }}
|
|
208
|
|
- </view>
|
|
209
|
|
- <view v-if="item.widthTolNeg" class="value-spec_box_2">{{ item.widthTolNeg > 0 ? '+'
|
|
210
|
|
- +
|
|
211
|
|
- item.widthTolNeg : item.widthTolNeg }}
|
|
212
|
|
- </view>
|
|
213
|
|
- </view>
|
|
214
|
|
- <view v-if="item.length" class="value-spec_val p12">*</view>
|
|
215
|
|
- <view v-if="item.length" class="value-spec_val">{{ item.length }}</view>
|
|
216
|
|
- <view v-if="item.length" class="value-spec_box">
|
|
217
|
|
- <view v-if="item.lengthTolPos" class="value-spec_box_1">{{ item.lengthTolPos > 0 ?
|
|
218
|
|
- '+' +
|
|
219
|
|
- item.lengthTolPos : item.lengthTolPos }}
|
|
220
|
|
- </view>
|
|
221
|
|
- <view v-if="item.lengthTolNeg" class="value-spec_box_2">{{ item.lengthTolNeg > 0 ?
|
|
222
|
|
- '+' +
|
|
223
|
|
- item.lengthTolNeg : item.lengthTolNeg }}
|
|
224
|
|
- </view>
|
|
225
|
|
- </view>
|
|
226
|
|
- </view>
|
|
227
|
|
- </template>
|
|
228
|
|
- </uni-list-item>
|
|
229
|
|
- <view v-show="!item.collapsed">
|
|
230
|
|
- <uni-list-item title="状态">
|
|
231
|
|
- <template v-slot:footer>
|
|
232
|
|
- <text class="value">{{ item.status }}</text>
|
|
233
|
|
- </template>
|
|
234
|
|
- </uni-list-item>
|
|
235
|
|
- <uni-list-item title="需发数量(kg)">
|
|
236
|
|
- <template v-slot:footer>
|
|
237
|
|
- <text class="value">{{ item.quantity }}</text>
|
|
238
|
|
- </template>
|
|
239
|
|
- </uni-list-item>
|
|
240
|
|
- <uni-list-item title="实发数量(kg)">
|
|
241
|
|
- <template v-slot:footer>
|
|
242
|
|
- <text class="value">{{ item.shippedQuantity }}</text>
|
|
243
|
|
- </template>
|
|
244
|
|
- </uni-list-item>
|
|
245
|
|
- <uni-list-item title="需求补货数量(kg)">
|
|
246
|
|
- <template v-slot:footer>
|
|
247
|
|
- <text class="value">{{ item.supplementaryQuantity }}</text>
|
|
248
|
|
- </template>
|
|
249
|
|
- </uni-list-item>
|
|
250
|
|
- <uni-list-item class="amount-item" title="单价(元/kg)">
|
|
251
|
|
- <template v-slot:footer>
|
|
252
|
|
- <text class="value">{{ item.salesPrice }}</text>
|
|
253
|
|
- </template>
|
|
254
|
|
- </uni-list-item>
|
|
255
|
|
- <uni-list-item class="amount-item" title="包装费(元/kg)">
|
|
256
|
|
- <template v-slot:footer>
|
|
257
|
|
- <text class="value">{{ item.packagingFee }}</text>
|
|
258
|
|
- </template>
|
|
259
|
|
- </uni-list-item>
|
|
260
|
|
- <uni-list-item title="生产科(车间)确认交付时间">
|
|
261
|
|
- <template v-slot:footer>
|
|
262
|
|
- <uni-datetime-picker type="date"
|
|
263
|
|
- v-model="item.confirmedDeliveryDate" />
|
|
264
|
|
- </template>
|
|
265
|
|
- </uni-list-item>
|
|
266
|
|
- <uni-list-item title="备注">
|
|
267
|
|
- <template v-slot:footer>
|
|
268
|
|
- <text class="value">{{ item.remarks }}元</text>
|
|
269
|
|
- </template>
|
|
270
|
|
- </uni-list-item>
|
|
271
|
|
- </view>
|
|
272
|
|
- </uni-list>
|
|
273
|
|
-
|
|
274
|
|
- <view class="block-ops">
|
|
275
|
|
- <div class="toggle" @click="toggleItem(idx)">
|
|
276
|
|
- <image :src="item.collapsed ? '/static/images/up.png' : '/static/images/down.png'"
|
|
277
|
|
- class="icon" />
|
|
278
|
|
- {{ item.collapsed ? '展开' : '收起' }}
|
|
279
|
|
- </div>
|
|
280
|
|
- </view>
|
|
281
|
|
- </view>
|
|
282
|
|
- </view>
|
|
283
|
|
-
|
|
284
|
177
|
<view v-else-if="mode === 'approve'" class="section">
|
|
285
|
178
|
<view v-for="(item, idx) in items" :key="'a-' + idx" class="block">
|
|
286
|
179
|
<uni-list class="edit-list">
|
|
...
|
...
|
@@ -432,34 +325,10 @@ |
|
432
|
325
|
</view>
|
|
433
|
326
|
</view>
|
|
434
|
327
|
<view class="row"><text class="label">状态</text><text class="value">{{ item.status }}</text></view>
|
|
435
|
|
- <view class="row"><text class="label">需发数量(kg)</text><text class="value">{{ item.quantity }}</text>
|
|
436
|
|
- </view>
|
|
437
|
|
- <view class="row"><text class="label">实发数量(kg)</text><text class="value">{{ item.shippedQuantity
|
|
438
|
|
- }}</text>
|
|
439
|
|
- </view>
|
|
440
|
|
- <view class="row"><text class="label">需求补货数量(kg)</text><text class="value">{{ item.supplementaryQuantity
|
|
441
|
|
- }}</text></view>
|
|
442
|
|
- <view class="row"><text class="label">单价(元/kg)</text><text class="value">{{ item.salesPrice }}</text>
|
|
443
|
|
- </view>
|
|
444
|
|
- <view class="row"><text class="label">包装费(元/kg)</text><text class="value">{{
|
|
445
|
|
- item.packagingFee }}</text></view>
|
|
446
|
|
- <view class="row"><text class="label">生产科(车间)确认交付时间</text><text class="value">{{
|
|
447
|
|
- item.confirmedDeliveryDate
|
|
448
|
|
- }}</text>
|
|
449
|
|
- </view>
|
|
450
|
|
- <view class="row"><text class="label">备注</text><text class="value">{{ item.remarks }}</text></view>
|
|
451
|
|
- </view>
|
|
452
|
|
- <view class="view-total">
|
|
453
|
|
- <view class="head">合计</view>
|
|
454
|
|
- <view class="row">
|
|
455
|
|
- <text class="label">需发</text><text class="value">{{ totalQuantity }}</text>
|
|
456
|
|
- </view>
|
|
457
|
|
- <view class="row">
|
|
458
|
|
- <text class="label">实发</text><text class="value">{{ totalShippedQuantity }}</text>
|
|
459
|
|
- </view>
|
|
460
|
|
- <view class="row">
|
|
461
|
|
- <text class="label">需求补货</text><text class="value">{{ totalSupplementaryQuantity }}</text>
|
|
|
328
|
+ <view class="row"><text class="label">数量(kg)</text><text class="value">{{ item.quantity }}</text>
|
|
462
|
329
|
</view>
|
|
|
330
|
+ <view class="row"><text class="label">是否提供样品</text><text class="value">{{ item.provideSamplesName }}</text></view>
|
|
|
331
|
+ <view class="row"><text class="label">是否提供明确参数</text><text class="value">{{ item.clearParametersName }}</text></view>
|
|
463
|
332
|
</view>
|
|
464
|
333
|
</view>
|
|
465
|
334
|
|
...
|
...
|
|