|
...
|
...
|
@@ -3,23 +3,30 @@ |
|
3
|
3
|
<scroll-view class="scroll" scroll-y>
|
|
4
|
4
|
<view class="detail-page">
|
|
5
|
5
|
<view class="section">
|
|
6
|
|
- <text class="row company">{{ form.purchaseOrderName }}</text>
|
|
7
|
|
- <view class="row"><text class="label">补货单编号</text><text class="value">{{ form.code }}</text></view>
|
|
|
6
|
+ <text class="row company">{{ form.orderingUnitName }}</text>
|
|
|
7
|
+ <view :class="['status', `status_${form.status}`]" />
|
|
|
8
|
+ <view class="row"><text class="label">试样种类</text><text class="value">{{ form.sampleTypeName }}</text></view>
|
|
|
9
|
+ <view class="row"><text class="label">客户类型</text><text class="value">{{ form.customerTypeName }}</text></view>
|
|
8
|
10
|
<view class="row"><text class="label">分厂</text><text class="value">{{ form.workshopName }}</text></view>
|
|
9
|
|
- <view class="row"><text class="label">办事处</text><text class="value">{{ form.deptName }}</text></view>
|
|
10
|
|
- <view class="row"><text class="label">区域</text><text class="value">{{ form.regionName }}</text></view>
|
|
11
|
|
- <view class="row"><text class="label">购货单位</text><text class="value">{{ form.customerName }}</text></view>
|
|
12
|
|
- <view class="row"><text class="label">原计划发货日期</text><text class="value">{{ form.originPlanShipDate }}</text></view>
|
|
|
11
|
+ <view class="row"><text class="label">所属品种</text><text class="value">{{ form.belongingBreed }}</text></view>
|
|
|
12
|
+ <view class="row"><text class="label">原供货同行</text><text class="value">{{ form.originalSupplierPeer }}</text>
|
|
|
13
|
+ </view>
|
|
13
|
14
|
</view>
|
|
14
|
15
|
|
|
15
|
16
|
<!-- 产品 -->
|
|
16
|
17
|
<view class="section2">
|
|
17
|
|
- <Product mode="view" :list="form.replenishmentOrderLineList"
|
|
18
|
|
- :orderDate="form.orderDate"
|
|
19
|
|
- :totalQuantity="form.totalQuantity"
|
|
20
|
|
- :totalShippedQuantity="form.totalShippedQuantity"
|
|
21
|
|
- :totalSupplementaryQuantity="form.totalSupplementaryQuantity"
|
|
22
|
|
- />
|
|
|
18
|
+ <Product mode="view" :list="form.productSampleConfirmationSlipDetailList" />
|
|
|
19
|
+ </view>
|
|
|
20
|
+
|
|
|
21
|
+ <view class="section">
|
|
|
22
|
+ <view class="row"><text class="label">数量</text><text class="value">{{ form.totalQuantity }}</text></view>
|
|
|
23
|
+ <view class="row"><text class="label">本次试样数量是否超规定</text><text class="value">{{ form.sampleQuantityRegulation ?
|
|
|
24
|
+ '是' : '否' }}</text></view>
|
|
|
25
|
+ <view class="row"><text class="label">试样规格个数是否超规定</text><text class="value">{{
|
|
|
26
|
+ form.specificationQuantityRegulation ? '是' : '否' }}</text></view>
|
|
|
27
|
+ <view class="row"><text class="label">试样次数</text><text class="value">{{ form.sampleFrequency }}</text></view>
|
|
|
28
|
+ <view class="row"><text class="label">前期不合格描述</text><text class="value">{{ form.earlyNonconformityDescription
|
|
|
29
|
+ }}</text></view>
|
|
23
|
30
|
</view>
|
|
24
|
31
|
</view>
|
|
25
|
32
|
</scroll-view>
|
|
...
|
...
|
@@ -27,11 +34,11 @@ |
|
27
|
34
|
</template>
|
|
28
|
35
|
|
|
29
|
36
|
<script>
|
|
30
|
|
-import { getDetailApi } from '@/api/replenishment_order.js'
|
|
|
37
|
+import { getDetailApi } from '@/api/confirmation_form.js'
|
|
31
|
38
|
import Product from './product.vue'
|
|
32
|
39
|
|
|
33
|
40
|
export default {
|
|
34
|
|
- name: 'ReplenishmentOrderViewer',
|
|
|
41
|
+ name: 'ConfirmationFormViewer',
|
|
35
|
42
|
components: { Product },
|
|
36
|
43
|
props: { id: { type: [String, Number], default: '' } },
|
|
37
|
44
|
data() {
|
|
...
|
...
|
@@ -107,7 +114,8 @@ export default { |
|
107
|
114
|
}
|
|
108
|
115
|
|
|
109
|
116
|
.label {
|
|
110
|
|
- width: 240rpx;
|
|
|
117
|
+ max-width: 400rpx;
|
|
|
118
|
+ margin-right: 20rpx;
|
|
111
|
119
|
line-height: 32rpx;
|
|
112
|
120
|
font-size: 28rpx;
|
|
113
|
121
|
color: rgba(0, 0, 0, 0.6);
|
...
|
...
|
|