|
|
@ -1,6 +1,68 @@ |
|
|
|
<template> |
|
|
|
<view class="detail-container"> |
|
|
|
<view class="info"> |
|
|
|
<view class="title"> |
|
|
|
<view>日计划明细</view> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<u-table class="custom-table"> |
|
|
|
<u-tr > |
|
|
|
<u-td >日计划号</u-td> |
|
|
|
<u-td >{{ data.planNoDay }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td >计划数量</u-td> |
|
|
|
<u-td>{{ data.planCount }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>批次码</u-td> |
|
|
|
<u-td>{{ data.batchCode }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>产品编码</u-td> |
|
|
|
<u-td>{{ data.productCode }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>车间编码</u-td> |
|
|
|
<u-td>{{ data.workroomCode }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>产线编码</u-td> |
|
|
|
<u-td>{{ data.lineCode }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>工艺路线编码</u-td> |
|
|
|
<u-td>{{ data.processrouteCode }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>BOM版本</u-td> |
|
|
|
<u-td>{{ data.standardBom }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>工单模式:</u-td> |
|
|
|
<u-td v-if="data.workMode=='BATCH'">批量</u-td> |
|
|
|
<u-td v-if="data.workMode=='SINGLE'">单个模式</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>计划日期:</u-td> |
|
|
|
<u-td>{{ `${$time.formatDate(data.planDate)}` }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>开始时间:</u-td> |
|
|
|
<u-td>{{ `${$time.formatDate(data.startTime)}` }}</u-td> |
|
|
|
</u-tr> |
|
|
|
<u-tr> |
|
|
|
<u-td>结束时间:</u-td> |
|
|
|
<u-td>{{ `${$time.formatDate(data.endTime)}` }}</u-td> |
|
|
|
</u-tr> |
|
|
|
</u-table> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 详情 --> |
|
|
|
<view class="detail-container"> |
|
|
|
<!-- <view class="detail-container"> |
|
|
|
<view class="info"> |
|
|
|
<view class="title"> |
|
|
|
<view>日计划明细</view> |
|
|
@ -66,21 +128,13 @@ |
|
|
|
<view>结束时间:</view> |
|
|
|
<view>{{ `${$time.formatDate(data.endTime)}` }}</view> |
|
|
|
</view> |
|
|
|
<view class="dec-item"> |
|
|
|
<view>齐套检查-Bom:</view> |
|
|
|
<view>{{ data.bomInspect }}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="footer" v-if="from == 3"> |
|
|
|
<view class="btns"> |
|
|
|
<button class="reset" @click="reject">驳回</button> |
|
|
|
<button class="sure" @click="agree" :loading='loading' :disabled='loading'>通过</button> |
|
|
|
</view> |
|
|
|
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view> |
|
|
|
</view> |
|
|
|
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
@ -94,10 +148,10 @@ import { |
|
|
|
} from 'vue' |
|
|
|
import * as orderDayPlanListApi from '@/api/mes/orderDay/index.ts' |
|
|
|
|
|
|
|
const {proxy} = getCurrentInstance() |
|
|
|
|
|
|
|
const number = ref('') |
|
|
|
const data = ref({}) |
|
|
|
const loading = ref(false) |
|
|
|
|
|
|
|
const from = ref()//1从我的进入3从审核进入 |
|
|
|
const type = ref() |
|
|
|
|
|
|
@ -124,6 +178,27 @@ onShow(() => { |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
.custom-table { |
|
|
|
margin-left: auto; |
|
|
|
margin-right: auto; |
|
|
|
//margin-top: 20px; |
|
|
|
border-collapse: collapse; |
|
|
|
border: 0px solid black; |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
.custom-table th, |
|
|
|
// .custom-table td { |
|
|
|
// border: 1px solid black; |
|
|
|
// padding: 8px; |
|
|
|
// text-align: center; |
|
|
|
// } |
|
|
|
.custom-table-td { |
|
|
|
padding: 1px; |
|
|
|
text-align: center; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.detail-container { |
|
|
|
min-height: 100vh; |
|
|
|
background: white; |
|
|
|