|
|
@@ -4,8 +4,12 @@
|
|
|
<view class="card-header">
|
|
|
<view class="header-left">
|
|
|
<view class="round" v-if="item.index">{{ item.index }}</view>
|
|
|
- <view class="orderId" v-if="item.workOrderType != 2">{{ item.code }}</view>
|
|
|
- <view class="orderId" v-if="item.workOrderType == 2">{{ item.outsourceCode }}</view>
|
|
|
+ <view class="orderId" v-if="item.workOrderType != 2">{{
|
|
|
+ item.code
|
|
|
+ }}</view>
|
|
|
+ <view class="orderId" v-if="item.workOrderType == 2">{{
|
|
|
+ item.outsourceCode
|
|
|
+ }}</view>
|
|
|
</view>
|
|
|
<view class="status-tag" :class="'status-' + item.status">
|
|
|
{{ statusList[item.status] }}
|
|
|
@@ -44,7 +48,9 @@
|
|
|
</view>
|
|
|
<view class="info-row half">
|
|
|
<text class="info-label">批次号</text>
|
|
|
- <text class="info-value highlight text-ellipsis">{{ item.batchNo }}</text>
|
|
|
+ <text class="info-value highlight text-ellipsis">{{
|
|
|
+ item.batchNo
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -55,43 +61,57 @@
|
|
|
</view>
|
|
|
<view class="info-row half">
|
|
|
<text class="info-label">规格</text>
|
|
|
- <text class="info-value highlight text-ellipsis">{{ item.specification }}</text>
|
|
|
+ <text class="info-value highlight text-ellipsis">{{
|
|
|
+ item.specification
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="info-grid">
|
|
|
<view class="info-row half">
|
|
|
<text class="info-label">生产数量</text>
|
|
|
- <text class="info-value text-ellipsis">{{ item.formingNum }} {{ item.unit }}</text>
|
|
|
+ <text class="info-value text-ellipsis"
|
|
|
+ >{{ item.formingNum }} {{ item.unit }}</text
|
|
|
+ >
|
|
|
</view>
|
|
|
<view class="info-row half">
|
|
|
<text class="info-label">生产重量</text>
|
|
|
- <text class="info-value text-ellipsis">{{ item.formingWeight }} {{ item.weightUnit }}</text>
|
|
|
+ <text class="info-value text-ellipsis"
|
|
|
+ >{{ item.formingWeight }} {{ item.weightUnit }}</text
|
|
|
+ >
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="info-grid">
|
|
|
<view class="info-row half">
|
|
|
<text class="info-label">报工类型</text>
|
|
|
- <text class="info-value highlight text-ellipsis">{{ item.singleReport == 1 ? "单个报工" : "批量报工" }}</text>
|
|
|
+ <text class="info-value highlight text-ellipsis">{{
|
|
|
+ item.singleReport == 1 ? "单个报工" : "批量报工"
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
<view class="info-row half">
|
|
|
<text class="info-label">当前工序</text>
|
|
|
- <text class="info-value highlight text-ellipsis">{{ item.taskName }}</text>
|
|
|
+ <text class="info-value highlight text-ellipsis">{{
|
|
|
+ item.taskName
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="info-grid">
|
|
|
<view class="info-row full">
|
|
|
<text class="info-label">工艺路线</text>
|
|
|
- <text class="info-value highlight text-ellipsis">{{ item.produceRoutingName }}</text>
|
|
|
+ <text class="info-value highlight text-ellipsis">{{
|
|
|
+ item.produceRoutingName
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="info-grid">
|
|
|
<view class="info-row full">
|
|
|
- <text class="info-label">生产编号</text>
|
|
|
- <text class="info-value highlight text-ellipsis">{{ item.productionCodes }}</text>
|
|
|
+ <text class="info-label">计划编号</text>
|
|
|
+ <text class="info-value highlight text-ellipsis">{{
|
|
|
+ item.productionPlanCode
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -99,7 +119,11 @@
|
|
|
<!-- 底部箭头提示 -->
|
|
|
<view class="card-footer">
|
|
|
<text class="footer-tip">查看详情</text>
|
|
|
- <image class="arrow-icon" src="/static/pda/arrow_right2.svg" mode="aspectFit"></image>
|
|
|
+ <image
|
|
|
+ class="arrow-icon"
|
|
|
+ src="/static/pda/arrow_right2.svg"
|
|
|
+ mode="aspectFit"
|
|
|
+ ></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -126,7 +150,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
handleDetail() {
|
|
|
- console.log('this.item', this.item)
|
|
|
+ console.log("this.item", this.item);
|
|
|
this.$emit("handleDetail", this.item);
|
|
|
},
|
|
|
},
|
|
|
@@ -149,7 +173,11 @@ export default {
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
padding: 24rpx 28rpx;
|
|
|
- background: linear-gradient(135deg, rgba(21, 122, 44, 0.06) 0%, rgba(21, 122, 44, 0.02) 100%);
|
|
|
+ background: linear-gradient(
|
|
|
+ 135deg,
|
|
|
+ rgba(21, 122, 44, 0.06) 0%,
|
|
|
+ rgba(21, 122, 44, 0.02) 100%
|
|
|
+ );
|
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
|
|
|
|
.header-left {
|
|
|
@@ -232,7 +260,7 @@ export default {
|
|
|
white-space: nowrap;
|
|
|
|
|
|
&::after {
|
|
|
- content: ':';
|
|
|
+ content: ":";
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -287,7 +315,7 @@ export default {
|
|
|
white-space: nowrap;
|
|
|
|
|
|
&::after {
|
|
|
- content: ':';
|
|
|
+ content: ":";
|
|
|
}
|
|
|
}
|
|
|
|