|
|
@ -1,46 +1,57 @@ |
|
|
|
<template> |
|
|
|
<view class="page-wraper"> |
|
|
|
<div style="background: white"> |
|
|
|
<print ref="printService" @printCode="printCode" @templateCode="templateCode"></print> |
|
|
|
</div> |
|
|
|
<view class="page-header"> |
|
|
|
<view class="page-header-box"> |
|
|
|
<view class="header-view"> |
|
|
|
<view class="header_job_top"> |
|
|
|
<job-top :dataContent="jobContent"></job-top> |
|
|
|
</view> |
|
|
|
<view class="cen_card" style="padding: 5rpx" v-if="subList.length > 0"> |
|
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
|
<view class="cell_info"> |
|
|
|
<view class="text_lightblue">翻包前包装规格</view> |
|
|
|
<view> {{ getPackUnitName(subList[0].fromPackUnit) }}/{{ subList[0].fromPackQty }}({{ getUomInfo(subList[0].uom) }}) </view> |
|
|
|
</view> |
|
|
|
<view class="cell_info"> |
|
|
|
<view class="text_lightblue">翻包后包装规格</view> |
|
|
|
<view> {{ getPackUnitName(subList[0].toPackUnit) }}/{{ subList[0].toPackQty }}({{ getUomInfo(subList[0].uom) }}) </view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <view class="header_item"> |
|
|
|
申请单号 : {{jobContent.requestNumber}} |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<view class="page-main"> |
|
|
|
<scroll-view scroll-y="true" class="page-main-scroll"> |
|
|
|
<view v-for="(toLocation, index) in detailSource" :key="index"> |
|
|
|
<view class="cen_card" style="margin: 20rpx; width: auto" v-if="subList.length > 0"> |
|
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
|
<view class="cell_info"> |
|
|
|
<view class="text_lightblue">翻包前包装规格</view> |
|
|
|
<view style="font-size: 26rpx"> |
|
|
|
<text style="font-weight: bold; font-size: 30rpx">{{ subList[0].fromPackQty }} ({{ handleGetUomInfo(subList[0].uom) }})/{{ handleGetPackUnitName(subList[0].fromPackUnit) }}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="cell_info"> |
|
|
|
<view class="text_lightblue">翻包后包装规格</view> |
|
|
|
<view style="font-size: 26rpx"> |
|
|
|
<text style="font-weight: bold; font-size: 30rpx">{{ subList[0].toPackQty }}({{ handleGetUomInfo(subList[0].uom) }})/{{ handleGetPackUnitName(subList[0].toPackUnit) }}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<comOverPackJobDetailCard ref="comOverPackJobDetailCardRef" :dataContent="toLocation" @updateData="updateData"> </comOverPackJobDetailCard> |
|
|
|
<comOverPackJobDetailCard ref="comOverPackJobDetailCard" :dataContent="toLocation" @updateData="updateData"> </comOverPackJobDetailCard> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="background: white"> |
|
|
|
<uni-collapse> |
|
|
|
<uni-collapse-item> |
|
|
|
<template v-slot:title> |
|
|
|
<view class="card_itemName" style="padding: 3px 5px; font-size: 28rpx"> 打印设置 </view> |
|
|
|
</template> |
|
|
|
<print ref="printService" @printCode="printCode" @templateCode="templateCode"></print> |
|
|
|
</uni-collapse-item> |
|
|
|
</uni-collapse> |
|
|
|
</view> |
|
|
|
<view style="background: white"> |
|
|
|
<uni-collapse> |
|
|
|
<uni-collapse-item> |
|
|
|
<template v-slot:title> |
|
|
|
<view class="card_itemName" style="padding: 3px 5px; font-size: 28rpx"> 打印设置 </view> |
|
|
|
</template> |
|
|
|
<print ref="printService" @printCode="printCode" @templateCode="templateCode"></print> |
|
|
|
</uni-collapse-item> |
|
|
|
</uni-collapse> |
|
|
|
</view> |
|
|
|
<view class="page-footer"> |
|
|
|
<view class="uni-flex u-col-center space-between padding_20" style="background-color: ghostwhite; width: 100%"> |
|
|
|
<button class="btn_single_commit" style="flex: 1" hover-class="btn_commit_after" @click="submit()">提交</button> |
|
|
|
<view class="uni-flex u-col-center space-between padding_10" style="background-color: ghostwhite; width: 100%"> |
|
|
|
<view class=""> </view> |
|
|
|
<view class="uni-flex uni-row"> |
|
|
|
<button class="btn_single_commit" hover-class="btn_commit_after" @click="submit()">提交</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|