|
@@ -72,7 +72,11 @@
|
|
|
{{item.deviceName}}
|
|
|
</view>
|
|
|
<view class="state">
|
|
|
- 预出库 <text>{{item.needCount}}</text>
|
|
|
+ {{recordItemStatus(item.status)}}:
|
|
|
+ <text v-if="item.realDeviceList&&item.realDeviceList.length">
|
|
|
+ {{item.realDeviceList.length}}
|
|
|
+ </text>
|
|
|
+ <text v-else >{{item.needCount}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -115,7 +119,16 @@
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
-
|
|
|
+ <!-- 备注 -->
|
|
|
+ <view class="remark" v-if="false">
|
|
|
+ <view class="name">
|
|
|
+ 备注:
|
|
|
+ </view>
|
|
|
+ <view class="value">
|
|
|
+ 22
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -136,7 +149,7 @@
|
|
|
import approveList from "@/components/ApproveList.vue"
|
|
|
|
|
|
import {
|
|
|
- recordStatus
|
|
|
+ recordStatus,recordItemStatus
|
|
|
} from '@/apis/status.js'
|
|
|
export default {
|
|
|
components: {
|
|
@@ -166,7 +179,7 @@
|
|
|
this.getInfo()
|
|
|
},
|
|
|
methods: {
|
|
|
- recordStatus,
|
|
|
+ recordStatus,recordItemStatus,
|
|
|
getList(){
|
|
|
|
|
|
API.outRecordDeviceById({
|
|
@@ -227,6 +240,7 @@
|
|
|
page {
|
|
|
padding-bottom: 200rpx;
|
|
|
}
|
|
|
+
|
|
|
|
|
|
// 出库单状态
|
|
|
.head {
|
|
@@ -305,7 +319,61 @@
|
|
|
background-color: #fff;
|
|
|
margin-top: 24rpx;
|
|
|
padding: 22rpx 32rpx;
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+ .prepare-out {
|
|
|
+ padding: 24rpx;
|
|
|
+ margin-top: 40rpx;
|
|
|
+ border-radius: 8px;
|
|
|
+ background-color: rgba(245, 246, 249, 1);
|
|
|
+
|
|
|
+ .head {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 24rpx;
|
|
|
+
|
|
|
+ .amount {
|
|
|
+ display: flex;
|
|
|
+ color: rgba(0, 81, 255, 1);
|
|
|
+ font-size: 32rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .unfold {
|
|
|
+ color: rgba(146, 158, 165, 1);
|
|
|
+ font-size: 24rpx;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ .u-icon--right {
|
|
|
+ margin-left: 8rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .option {
|
|
|
+ width: 160rpx;
|
|
|
+ height: 32rpx;
|
|
|
+ background-color: #fff;
|
|
|
+ position: absolute;
|
|
|
+ top: 30rpx;
|
|
|
+ right: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 编号
|
|
|
+ .serial-number {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ margin-top: 16rpx;
|
|
|
+ color: rgba(51, 51, 51, 1);
|
|
|
+ font-weight: bold;
|
|
|
+
|
|
|
+ .item {
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
.list-head {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|