Browse Source

任务中添加出入库库存状态

wms3.0_pda
lijuncheng 10 months ago
parent
commit
a0ea8efa68
  1. 36
      mycomponents/job/jobRequestInfo.vue
  2. 2
      mycomponents/job/jobTop.vue

36
mycomponents/job/jobRequestInfo.vue

@ -8,11 +8,11 @@
</view>
<view class="item">
<text class="item_title">申请时间 : </text>
<text class="text_wrap">{{dataContent.requestTime}} </text>
<text class="text_wrap">{{dateFormat(dataContent.requestTime)}} </text>
</view>
<view class="item">
<text class="item_title">要求截至时间 : </text>
<text class="text_wrap">{{dataContent.requestDueTime}} </text>
<text class="text_wrap">{{dateFormat(dataContent.requestDueTime)}} </text>
</view>
<view class="item">
<text class="item_title">从仓库代码 : </text>
@ -22,16 +22,34 @@
<text class="item_title">到仓库代码 : </text>
<text class="text_wrap">{{dataContent.toWarehouseCode}} </text>
</view>
<view class="item">
<text class="item_title">出库库存状态范围 : </text>
<text class="text_wrap">{{getInventoryStatusDesc(getDirectoryItemArray(dataContent.outInventoryStatuses))}} </text>
</view>
<view class="item">
<text class="item_title">入库库存状态范围 : </text>
<text class="text_wrap">{{getInventoryStatusDesc(getDirectoryItemArray(dataContent.inInventoryStatuses))}} </text>
</view>
</view>
</view>
</view>
</template>
<script>
import {
dateFormat,
getDirectoryItemArray,
} from '@/common/basic.js';
import {
getInventoryStatusDesc
} from '@/common/directory.js';
export default {
components: {},
data() {
return {
list:["OK"]
}
},
@ -44,7 +62,19 @@
}
},
methods: {}
methods: {
dateFormat(value){
return dateFormat(value)
},
getInventoryStatusDesc(value){
return getInventoryStatusDesc(value)
},
getDirectoryItemArray(value){
return getDirectoryItemArray(value)
}
}
}
</script>

2
mycomponents/job/jobTop.vue

@ -1,6 +1,6 @@
<template>
<view class="task_top">
<view class="uni-flex space-between u-col-center">
<view class="uni-flex space-between u-col-center align-center" style="margin: 10rpx;">
<job-number :number="dataContent.number"></job-number>
<job-status :jobStatus="dataContent.status"></job-status>
</view>

Loading…
Cancel
Save