Browse Source

修改页面显示字段

wms3.0_pda
lijuncheng 11 months ago
parent
commit
06f16ecca2
  1. 37
      common/directory.js
  2. 50
      mycomponents/common/comListItem.vue
  3. 8
      mycomponents/detail/comDetailCard.vue
  4. 1
      mycomponents/detail/recordDetailBasicInfo.vue
  5. 4
      mycomponents/detail/requestDetailBasicInfo.vue
  6. 15
      mycomponents/job/jobRequestInfo.vue
  7. 3
      mycomponents/package/packageDetailPopup.vue
  8. 52
      mycomponents/record/recordMainInfo.vue
  9. 2
      mycomponents/request/requestCommonInfo.vue
  10. 3
      mycomponents/request/requestListCommonInfo.vue
  11. 2
      pages/customerReturn/coms/requestInfoPopup.vue
  12. 6
      pages/deliver/coms/requestInfoPopup.vue
  13. 10
      pages/inspect/coms/requestInfoPopup.vue
  14. 7
      pages/issue/coms/comIssueRequestDetailCard.vue
  15. 3
      pages/issue/coms/comIssueRequestInfo.vue
  16. 3
      pages/issue/coms/requestInfoPopup.vue
  17. 2
      pages/issue/request/issueRequestDetail.vue
  18. 20
      pages/productDismantle/coms/requestInfoPopup.vue
  19. 12
      pages/productPutaway/coms/requestDetailInfoPopup.vue
  20. 2
      pages/productPutaway/coms/requestInfoPopup.vue
  21. 1
      pages/productionReturn/coms/comReturn.vue
  22. 2
      pages/productionReturn/coms/requestInfoPopup.vue
  23. 8
      pages/purchaseReceipt/coms/receiptInfoPopup.vue
  24. 2
      pages/purchaseReturn/coms/comReturnRequestCard.vue
  25. 99
      pages/purchaseReturn/coms/requestDetailInfoPopup.vue
  26. 11
      pages/purchaseReturn/coms/requestInfoPopup.vue
  27. 8
      pages/purchaseReturn/coms/returnInfoPopup.vue
  28. 2
      pages/purchaseReturn/job/returnDetail.vue
  29. 2
      pages/putaway/coms/requestInfoPopup.vue
  30. 19
      pages/repleinsh/coms/repleinshInfoPopup.vue
  31. 20
      pages/repleinsh/coms/requestInfoPopup.vue
  32. 3
      pages/scrap/coms/requestInfoPopup.vue
  33. 3
      pages/supplierDeliver/coms/recordInfoPopup.vue
  34. 3
      pages/unPlanned/coms/requestIssInfoPopup.vue
  35. 3
      pages/unPlanned/coms/requestRecInfoPopup.vue
  36. 2
      static/config.json

37
common/directory.js

@ -15,6 +15,7 @@ let inspectFailedReasonList = [];
let nextActionList = [];
let inspectTypeList = [];
let sampleMethodList = [];
let transferModeList = [];
// 获取业务类型字典项
@ -46,7 +47,8 @@ export function clearCacheData() {
inspectFailedReasonList = [];
nextActionList = [];
inspectTypeList = [];
sampleMethodList =[]
sampleMethodList =[];
transferModeList = [];
}
//获取字典信息
@ -185,6 +187,17 @@ export function getLocationTypeName(value) {
return location == '' ? value : location.label;
}
//获取库位类型名称
export function getLocationTypeNameList(lst) {
let desc = '';
lst.forEach(res => {
desc += getLocationTypeInfo(res).label + ","
})
desc = desc.slice(0, -1);
return desc;
}
//获取计量单位
export function getUnitInfo(value) {
var resultInfo = "";
@ -282,7 +295,7 @@ export function getInventoryStatusName(value) {
}
}
//获取状态描述
//获取状态描述 list
export function getInventoryStatusDesc(lst) {
let desc = '';
lst.forEach(res => {
@ -404,5 +417,25 @@ export function getSampleMethod(value) {
return resultInfo
}
//获取运输方式
export function getTransferModeName(value) {
var resultInfo = "";
if (transferModeList.length == 0) {
transferModeList = getDirectoryInfo("transfer_mode")
}
if (transferModeList.length > 0) {
for (let item of transferModeList) {
if (item.value == value) {
resultInfo = item.label
break;
}
}
}
return resultInfo
}

50
mycomponents/common/comListItem.vue

@ -6,7 +6,15 @@
<text v-if="(item.type=='')||(item.type==undefined)" class="text_wrap">{{item.content}} </text>
<text v-else-if="item.type=='dateTime'" class="text_wrap">{{formatDate(item.content)}} </text>
<text v-else-if="item.type=='boolean'" class="text_wrap">{{boolean(item.content)}} </text>
<text v-else-if="item.type=='transferMode'" class="text_wrap">{{getTransferModeName(item.content)}} </text>
<text v-else-if="item.type=='locationType'" class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(item.content))}} </text>
<text v-else-if="item.type=='uom'" class="text_wrap">{{getUnitInfo(item.content)}} </text>
<text v-else-if="item.type=='inspectType'" class="text_wrap">{{getInspectType(item.content)}} </text>
<text v-else-if="item.type=='sampleMethod'" class="text_wrap">{{getSampleMethod(item.content)}} </text>
<text v-else-if="item.type=='requestState'" class="text_wrap">{{getRequestStateInfo(item.content)}} </text>
<text v-else-if="item.type=='inventoryStatus'" class="text_wrap">{{getInventoryStatusName(item.content)}} </text>
<text v-else-if="item.type=='locationCode'" class="text_wrap">{{getLocationTypeName(item.content)}} </text>
</view>
</view>
@ -17,6 +25,19 @@
import {
dateFormat
} from '@/common/basic.js';
import {
getTransferModeName,
getLocationTypeNameList,
getDirectoryItemArray,
getUnitInfo,
getInspectType,
getSampleMethod,
getRequestStateInfo,
getInventoryStatusName,
getLocationTypeName
} from '@/common/directory.js';
export default {
components: {},
data() {
@ -50,6 +71,33 @@
},
formatDate(val) {
return dateFormat(val)
},
getTransferModeName(value){
return getTransferModeName(value)
},
getLocationTypeNameList(value){
return getLocationTypeNameList(value)
},
getDirectoryItemArray(value){
return getDirectoryItemArray(value)
},
getUnitInfo(value){
return getUnitInfo(value).label
},
getInspectType(value){
return getInspectType(value)
},
getSampleMethod(value){
return getSampleMethod(value)
},
getRequestStateInfo(value){
return getRequestStateInfo(value).label
},
getInventoryStatusName(value){
return getInventoryStatusName(value)
},
getLocationTypeName(value){
return getLocationTypeName(value)
}
}
}

8
mycomponents/detail/comDetailCard.vue

@ -1,6 +1,6 @@
<template>
<view class="" style="background-color: #fff;">
<view class="cell_box uni-flex uni-row">
<!-- <view class="cell_box uni-flex uni-row">
<view class="cell_info">
<view class="text_lightblue">车间</view>
<view>{{workShopCode}}</view>
@ -17,7 +17,7 @@
<view class="text_lightblue">原材料库</view>
<view>{{ dataContent.toLocationCode}}</view>
</view>
</view>
</view> -->
<uni-collapse ref="collapse1" @change="">
<uni-collapse-item :open="true">
<template v-slot:title>
@ -143,14 +143,14 @@
if (res) {
item.scaned = false
item.balance = {}
item.handleQty = 0;
item.handleQty = null;
this.$forceUpdate()
this.$emit('remove', item)
}
});
},
confirm(qty) {
this.editItem.qty = qty;
this.editItem.handleQty = qty;
this.$emit('updateData')
},
showLocation(item) {

1
mycomponents/detail/recordDetailBasicInfo.vue

@ -41,6 +41,7 @@
}, {
title: '计量单位',
content: this.dataContent.uom,
type:"uom"
}];
},
immediate: true,

4
mycomponents/detail/requestDetailBasicInfo.vue

@ -32,13 +32,15 @@
}, {
title: '计量单位',
content: this.dataContent.uom,
type:"uom"
},
{
title: '项目代码',
content: this.dataContent.projectCode,
},{
title: '最后更新时间',
content: this.dataContent.lastModificationTime,
content: this.dataContent.updateTime,
type:"dateTime"
},
{
title: '最后更新者Id',

15
mycomponents/job/jobRequestInfo.vue

@ -30,6 +30,14 @@
<text class="item_title">入库库存状态范围 : </text>
<text class="text_wrap">{{getInventoryStatusDesc(getDirectoryItemArray(dataContent.inInventoryStatuses))}} </text>
</view>
<view class="item">
<text class="item_title">从库位类型范围 : </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}} </text>
</view>
<view class="item">
<text class="item_title">到库位类型范围 : </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}} </text>
</view>
</view>
</view>
</view>
@ -42,7 +50,8 @@
} from '@/common/basic.js';
import {
getInventoryStatusDesc
getInventoryStatusDesc,
getLocationTypeNameList
} from '@/common/directory.js';
export default {
@ -72,6 +81,10 @@
getDirectoryItemArray(value){
return getDirectoryItemArray(value)
},
getLocationTypeNameList(value){
return getLocationTypeNameList(value)
}
}

3
mycomponents/package/packageDetailPopup.vue

@ -89,7 +89,8 @@
text_wrap: this.dataContent.expireDate
}, {
item_title: '计量单位',
text_wrap: this.dataContent.uom
text_wrap: this.dataContent.uom,
type:"uom"
}, {
item_title: '数量',
text_wrap: this.dataContent.qty

52
mycomponents/record/recordMainInfo.vue

@ -18,12 +18,12 @@
<view class="item">
<text class="item_title">从库位类型范围 : </text>
<text class="text_wrap">{{dataContent.fromLocationTypes}} </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}} </text>
</view>
<view class="item">
<text class="item_title">到库位类型范围 : </text>
<text class="text_wrap">{{dataContent.toLocationTypes}} </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}} </text>
</view>
<view class="item">
@ -41,10 +41,9 @@
<text class="text_wrap">{{dataContent.number}} </text>
</view>
<view class="item">
<text class="item_title">业务类型 : </text>
<text class="text_wrap">{{dataContent.businessType}} </text>
<text class="text_wrap">{{getBusinessTypeDesc(dataContent.businessType)}} </text>
</view>
<view class="item">
@ -74,12 +73,12 @@
</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.dueTime}} </text>
<text class="text_wrap">{{dateFormat(dataContent.dueTime)}} </text>
</view>
<view class="item">
@ -92,16 +91,16 @@
</view>
<view class="item">
<text class="item_title">自动提交 : </text>
<text class="text_wrap">{{dataContent.autoCommit}} </text>
<text class="text_wrap">{{boolean(dataContent.autoCommit)}} </text>
</view>
<view class="item">
<text class="item_title">自动通过 : </text>
<text class="text_wrap">{{dataContent.autoAgree}} </text>
<text class="text_wrap">{{boolean(dataContent.autoAgree)}} </text>
</view>
<view class="item">
<text class="item_title">自动执行 : </text>
<text class="text_wrap">{{dataContent.autoExecute}} </text>
<text class="text_wrap">{{boolean(dataContent.autoExecute)}} </text>
</view>
<view class="item">
<text class="item_title">直接生成记录 : </text>
@ -110,7 +109,7 @@
<view class="item">
<text class="item_title">最后更新时间 : </text>
<text class="text_wrap">{{dataContent.lastModificationTime}} </text>
<text class="text_wrap">{{dateFormat(dataContent.lastModificationTime)}} </text>
</view>
<view class="item">
<text class="item_title">最后更新者Id : </text>
@ -143,6 +142,12 @@
</template>
<script>
import {
getDirectoryItemArray,
getInventoryStatusDesc,
getLocationTypeNameList,
getBusinessTypeDesc
} from '@/common/directory.js';
export default {
components: {},
data() {
@ -159,7 +164,32 @@
}
},
methods: {}
methods: {
avaliable(value) {
return value == "TRUE" ? "可用" : "不可用"
},
boolean(value) {
return value == "TRUE" ? "是" : "否"
},
dateFormat(value){
return dateFormat(value)
},
getInventoryStatusDesc(value){
return getInventoryStatusDesc(value)
},
getDirectoryItemArray(value){
return getDirectoryItemArray(value)
},
getLocationTypeNameList(value){
return getLocationTypeNameList(value)
},
getBusinessTypeDesc(value){
return getBusinessTypeDesc(value)
},
}
}
</script>

2
mycomponents/request/requestCommonInfo.vue

@ -29,7 +29,6 @@
<script>
import requestTop from '@/mycomponents/request/requestTop.vue'
import requestRequestInfo from '@/mycomponents/request/requestRequestInfo.vue'
import requestMainInfo from '@/mycomponents/request/requestMainInfo.vue'
import requestItemInfo from '@/mycomponents/request/requestItemInfo.vue'
import requestPersonInfo from '@/mycomponents/request/requestPersonInfo.vue'
import requestListCommonInfo from '@/mycomponents/request/requestListCommonInfo.vue'
@ -42,7 +41,6 @@
requestTop,
requestRequestInfo,
requestItemInfo,
requestMainInfo,
requestPersonInfo,
requestListCommonInfo
},

3
mycomponents/request/requestListCommonInfo.vue

@ -23,7 +23,8 @@
content: this.dataContent.departmentCode
}, {
title: '状态',
content: this.dataContent.status
content: this.dataContent.status,
type:"requestState"
},{
title: '自动提交',
content: this.dataContent.autoCommit,

2
pages/customerReturn/coms/requestInfoPopup.vue

@ -69,10 +69,12 @@
{
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes,
type:"locationType"
},
{
title: '到库位类型范围',
content: this.dataContent.toLocationTypes,
type:"locationType"
},
{
title: '从库区代码范围',

6
pages/deliver/coms/requestInfoPopup.vue

@ -66,11 +66,13 @@
},
{
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes
content: this.dataContent.fromLocationTypes,
type:"locationType"
},
{
title: '到库位类型范围',
content: this.dataContent.toLocationTypes
content: this.dataContent.toLocationTypes,
type:"locationType"
},
{
title: '从库区代码范围',

10
pages/inspect/coms/requestInfoPopup.vue

@ -42,7 +42,8 @@
content: this.dataContent.fromWarehouseCode
},{
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes
content: this.dataContent.fromLocationTypes,
type:"locationType"
},{
title: '从库区代码范围',
content: this.dataContent.fromAreaCodes
@ -64,20 +65,23 @@
},{
title: '计量单位',
content: this.dataContent.uom,
type:"uom"
},
{
title: '收货数量',
content: this.dataContent.receiveQty
},{
title: '检验类型',
content: this.dataContent.inspectType
content: this.dataContent.inspectType,
type:'inspectType'
},{
title: '下一步检验动作',
content: this.dataContent.nextAction
},
{
title: '抽检方式',
content: this.dataContent.sampleMethod
content: this.dataContent.sampleMethod,
type:'sampleMethod'
},
{
title: '样品数量',

7
pages/issue/coms/comIssueRequestDetailCard.vue

@ -6,9 +6,10 @@
<uni-swipe-action ref="swipeAction">
<view v-for="(item, index) in dataContent.subList" :key="index">
<uni-swipe-action-item @click="swipeClick($event,item)" :right-options="detailOptions">
<item-qty :dataContent="item" :isShowStdPack="false">
</item-qty>
<u-line />
<item-qty :dataContent="item" :isShowStdPack="false">
</item-qty>
<u-line />
</uni-swipe-action-item>
</view>
</uni-swipe-action>

3
pages/issue/coms/comIssueRequestInfo.vue

@ -1,5 +1,5 @@
<template>
<view class="cen_card" style="padding: 20rpx;">
<view class="cen_card" style="padding-top: 10rpx;padding-bottom: 10rpx;">
<view class="cell_box uni-flex uni-row">
<view class="cell_info">
<view class="text_lightblue">车间</view>
@ -18,7 +18,6 @@
<view>{{ dataContent.toLocationCode}}</view>
</view>
</view>
<u-line />
</view>
</template>

3
pages/issue/coms/requestInfoPopup.vue

@ -44,12 +44,15 @@
},{
title: '使用在途库',
content: this.dataContent.useOnTheWayLocation,
type:"boolean"
},{
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes,
type:"locationType"
},{
title: '到库位类型范围',
content: this.dataContent.toLocationTypes,
type:"locationType"
},{
title: '从库区代码范围',
content: this.dataContent.fromAreaCodes,

2
pages/issue/request/issueRequestDetail.vue

@ -94,7 +94,7 @@
// res.fromLocationCode = res.toLocationCode
// })
// that.detailSource = getDataSource(that.subList);
updateTitle(this.requestContent.number);
// updateTitle(this.requestContent.number);
} else {
that.showMessage('列表数据为0');
}

20
pages/productDismantle/coms/requestInfoPopup.vue

@ -18,11 +18,11 @@
</view>
<view class="item">
<text class="item_title">从库位类型范围 : </text>
<text class="text_wrap">{{dataContent.fromLocationTypes}} </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}} </text>
</view>
<view class="item">
<text class="item_title">到库位类型范围 : </text>
<text class="text_wrap">{{dataContent.toLocationTypes}} </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}} </text>
</view>
<view class="item">
@ -43,6 +43,15 @@
</template>
<script>
import {
dateFormat,
getDirectoryItemArray,
} from '@/common/basic.js';
import {
getInventoryStatusDesc,
getLocationTypeNameList
} from '@/common/directory.js';
import requestCommonInfo from '@/mycomponents/request/requestCommonInfo.vue'
export default {
components: {
@ -68,6 +77,13 @@
closePopup() {
this.$refs.popup.close()
},
getDirectoryItemArray(value){
return getDirectoryItemArray(value)
},
getLocationTypeNameList(value){
return getLocationTypeNameList(value)
}
}
}
</script>

12
pages/productPutaway/coms/requestDetailInfoPopup.vue

@ -12,10 +12,6 @@
<text class="item_title">器具号 : </text>
<text class="text_wrap">{{dataContent.containerNumber}} </text>
</view>
<view class="item">
<text class="item_title">批次 : </text>
<text class="text_wrap">{{dataContent.batch}} </text>
</view>
<view class="item">
<text class="item_title">从库位代码 : </text>
<text class="text_wrap">{{dataContent.fromLocationCode }} </text>
@ -24,14 +20,6 @@
<text class="item_title">库存状态 : </text>
<text class="text_wrap">{{dataContent.inventoryStatus}} </text>
</view>
<view class="item">
<text class="item_title">订单号 : </text>
<text class="text_wrap">{{dataContent.poNumber}} </text>
</view>
<view class="item">
<text class="item_title">订单行 : </text>
<text class="text_wrap">{{dataContent.poLine}} </text>
</view>
<view class="item">
<text class="item_title">从货主代码 : </text>
<text class="text_wrap">{{dataContent.fromOwnerCode}} </text>

2
pages/productPutaway/coms/requestInfoPopup.vue

@ -44,9 +44,11 @@
},{
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes,
type:"locationType"
},{
title: '到库位类型范围',
content: this.dataContent.toLocationTypes,
type:"locationType"
},{
title: '从库区代码范围',
content: this.dataContent.fromAreaCodes,

1
pages/productionReturn/coms/comReturn.vue

@ -43,7 +43,6 @@
<script>
import {
productionReturnRequestSubmit,
productionReturnRecordSubmit
} from '@/api/request2.js';

2
pages/productionReturn/coms/requestInfoPopup.vue

@ -44,9 +44,11 @@
},{
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes,
type:"locationType"
},{
title: '到库位类型范围',
content: this.dataContent.toLocationTypes,
type:"locationType"
},{
title: '从库区代码范围',
content: this.dataContent.fromAreaCodes,

8
pages/purchaseReceipt/coms/receiptInfoPopup.vue

@ -22,7 +22,7 @@
</view>
<view class="item">
<text class="item_title">运输方式 : </text>
<text class="text_wrap">{{dataContent.transferMode}} </text>
<text class="text_wrap">{{getTransferModeName(dataContent.transferMode)}} </text>
</view>
<view class="item">
<text class="item_title">车牌号 : </text>
@ -38,6 +38,9 @@
<script>
import jobCommonInfo from '@/mycomponents/job/jobCommonInfo.vue'
import {getTransferModeName} from '@/common/directory.js'
export default {
components: {
jobCommonInfo,
@ -62,6 +65,9 @@
closePopup() {
this.$refs.popup.close()
},
getTransferModeName(value){
return getTransferModeName(value)
}
}
}
</script>

2
pages/purchaseReturn/coms/comReturnRequestCard.vue

@ -2,7 +2,7 @@
<request-com-main-card :dataContent="dataContent">
<view class="task_item">
<view class="task_text">
收货单号 : {{dataContent.PurchaseReceiptRecordNumber}}
收货单号 : {{dataContent.purchaseReceiptRecordNumber}}
</view>
<view class="task_text">
供应商代码 : {{dataContent.supplierCode}}

99
pages/purchaseReturn/coms/requestDetailInfoPopup.vue

@ -3,52 +3,7 @@
<uni-popup ref="popup">
<requestDetailCommonInfo :dataContent="dataContent" @onClose="closePopup">
<view class="">
<view class="uni-flex uni-column">
<view class="item">
<text class="item_title">包装号 : </text>
<text class="text_wrap">{{dataContent.packingNumber}} </text>
</view>
<view class="item">
<text class="item_title">器具号 : </text>
<text class="text_wrap">{{dataContent.containerNumber}} </text>
</view>
<view class="item">
<text class="item_title">批次 : </text>
<text class="text_wrap">{{dataContent.batch}} </text>
</view>
<view class="item">
<text class="item_title">替代批次 : </text>
<text class="text_wrap">{{dataContent.altBatch}} </text>
</view>
<view class="item">
<text class="item_title">到库位代码 : </text>
<text class="text_wrap">{{dataContent.toLocationCode}} </text>
</view>
<view class="item">
<text class="item_title">库存状态 : </text>
<text class="text_wrap">{{dataContent.inventoryStatus}} </text>
</view>
<view class="item">
<text class="item_title">订单号 : </text>
<text class="text_wrap">{{dataContent.poNumber}} </text>
</view>
<view class="item">
<text class="item_title">订单行 : </text>
<text class="text_wrap">{{dataContent.poLine}} </text>
</view>
<view class="item">
<text class="item_title">原因 : </text>
<text class="text_wrap">{{dataContent.reason}} </text>
</view>
<view class="item">
<text class="item_title">从货主代码 : </text>
<text class="text_wrap">{{dataContent.fromOwnerCode}} </text>
</view>
<view class="item">
<text class="item_title">到货主代码 : </text>
<text class="text_wrap">{{dataContent.toOwnerCode}} </text>
</view>
</view>
<comListItem :dataList="dataList"></comListItem>
</view>
</requestDetailCommonInfo>
</uni-popup>
@ -57,16 +12,64 @@
<script>
import requestDetailCommonInfo from '@/mycomponents/detail/requestDetailCommonInfo.vue'
import comListItem from '@/mycomponents/common/comListItem.vue';
export default {
components: {
requestDetailCommonInfo
requestDetailCommonInfo,
comListItem
},
data() {
return {
dataContent: {
type: Object,
default: {}
}
},
dataList:[]
}
},
watch:{
dataContent: {
handler(newName, oldName) {
this.dataList=[{
title: '包装号',
content: this.dataContent.packingNumber
}, {
title: '器具号',
content: this.dataContent.containerNumber
},{
title: '批次',
content: this.dataContent.batch
},{
title: '替代批次',
content: this.dataContent.altBatch,
},{
title: '到库位代码',
content: this.dataContent.toLocationCode
},{
title: '库存状态',
content: this.dataContent.inventoryStatus,
type:"inventoryStatus"
},{
title: '订单号',
content: this.dataContent.poNumber
},{
title: '订单行',
content: this.dataContent.poLine
},{
title: '原因',
content: this.dataContent.reason
},{
title: '从货主代码',
content: this.dataContent.fromOwnerCode,
},{
title: '到货主代码',
content: this.dataContent.toOwnerCode,
}
];
},
immediate: true,
deep: true
}
},

11
pages/purchaseReturn/coms/requestInfoPopup.vue

@ -40,7 +40,7 @@
content: this.dataContent.purchaseReceiptRecordNumber
}, {
title: '发货单号',
content: this.dataContent.asnNumbe
content: this.dataContent.asnNumber
},{
title: '要货计划单号',
content: this.dataContent.ppNumber,
@ -53,6 +53,7 @@
},{
title: '运输方式',
content: this.dataContent.transferMode,
type:"transferMode",
},{
title: '车牌号',
content: this.dataContent.vehiclePlateNumber,
@ -64,15 +65,17 @@
content: this.dataContent.toWarehouseCode,
},{
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes
content: this.dataContent.fromLocationTypes,
type:"locationType"
},
{
title: '到库位类型范围',
content: this.dataContent.toLocationTypes
content: this.dataContent.toLocationTypes,
type:"locationType"
},
{
title: '从库区代码范围',
content: this.dataContent.fromAreaCodes
content: this.dataContent.fromAreaCodes,
},
{
title: '到库区代码范围',

8
pages/purchaseReturn/coms/returnInfoPopup.vue

@ -14,7 +14,7 @@
</view>
<view class="item">
<text class="item_title">供应商代码 : </text>
<text class="text_wrap">{{dataContent.carrierCode}} </text>
<text class="text_wrap">{{dataContent.supplierCode}} </text>
</view>
<view class="item">
<text class="item_title">承运商 : </text>
@ -22,7 +22,7 @@
</view>
<view class="item">
<text class="item_title">运输方式 : </text>
<text class="text_wrap">{{dataContent.transferMode}} </text>
<text class="text_wrap">{{getTransferModeName(dataContent.transferMode)}} </text>
</view>
<view class="item">
<text class="item_title">车牌号 : </text>
@ -38,6 +38,7 @@
<script>
import jobCommonInfo from '@/mycomponents/job/jobCommonInfo.vue'
import {getTransferModeName} from '@/common/directory.js'
export default {
components: {
jobCommonInfo,
@ -62,6 +63,9 @@
closePopup() {
this.$refs.popup.close()
},
getTransferModeName(value){
return getTransferModeName(value)
}
}
}
</script>

2
pages/purchaseReturn/job/returnDetail.vue

@ -246,7 +246,7 @@
let itemStatus = getInventoryStatusName(itemDetail.inventoryStatus);
if (itemDetail.inventoryStatus != result.balance.inventoryStatus) {
this.showQuestionMessage('实际库存状态[' + balanceStatus + ']与推荐库存状态[' + itemStatus +
']不一致,是否继续上架?', res => {
']不一致,是否继续退货?', res => {
if (res) {
itemDetail.scaned = true;
itemDetail.handleQty = Number(result.balance.qty) ;

2
pages/putaway/coms/requestInfoPopup.vue

@ -41,9 +41,11 @@
}, {
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes,
type:"locationType"
}, {
title: '到库位类型范围',
content: this.dataContent.toLocationTypes,
type:"locationType"
}, {
title: '从库区代码范围',
content: this.dataContent.fromAreaCodes,

19
pages/repleinsh/coms/repleinshInfoPopup.vue

@ -6,11 +6,11 @@
<view class="uni-flex uni-column">
<view class="item">
<text class="item_title">从库位类型范围 : </text>
<text class="text_wrap">{{dataContent.fromLocationTypes}} </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}} </text>
</view>
<view class="item">
<text class="item_title">到库位类型范围 : </text>
<text class="text_wrap">{{dataContent.toLocationTypes}} </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}} </text>
</view>
<view class="item">
<text class="item_title">从库区代码范围 : </text>
@ -28,6 +28,14 @@
</template>
<script>
import {
dateFormat,
getDirectoryItemArray,
} from '@/common/basic.js';
import {
getInventoryStatusDesc,
getLocationTypeNameList
} from '@/common/directory.js';
import jobCommonInfo from '@/mycomponents/job/jobCommonInfo.vue'
export default {
components: {
@ -53,6 +61,13 @@
closePopup() {
this.$refs.popup.close()
},
getDirectoryItemArray(value){
return getDirectoryItemArray(value)
},
getLocationTypeNameList(value){
return getLocationTypeNameList(value)
}
}
}
</script>

20
pages/repleinsh/coms/requestInfoPopup.vue

@ -14,11 +14,11 @@
</view>
<view class="item">
<text class="item_title">从库位类型范围 : </text>
<text class="text_wrap">{{dataContent.fromLocationTypes}} </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}} </text>
</view>
<view class="item">
<text class="item_title">到库位类型范围 : </text>
<text class="text_wrap">{{dataContent.toLocationTypes}} </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}} </text>
</view>
<view class="item">
@ -44,6 +44,15 @@
</template>
<script>
import {
dateFormat,
getDirectoryItemArray,
} from '@/common/basic.js';
import {
getInventoryStatusDesc,
getLocationTypeNameList
} from '@/common/directory.js';
import requestCommonInfo from '@/mycomponents/request/requestCommonInfo.vue'
export default {
components: {
@ -69,6 +78,13 @@
closePopup() {
this.$refs.popup.close()
},
getDirectoryItemArray(value){
return getDirectoryItemArray(value)
},
getLocationTypeNameList(value){
return getLocationTypeNameList(value)
}
}
}
</script>

3
pages/scrap/coms/requestInfoPopup.vue

@ -37,7 +37,8 @@
content: this.dataContent.fromWarehouseCode
}, {
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes
content: this.dataContent.fromLocationTypes,
type:"locationType"
},{
title: '从库区代码范围',
content: this.dataContent.fromAreaCodes,

3
pages/supplierDeliver/coms/recordInfoPopup.vue

@ -75,7 +75,8 @@
content: this.dataContent.carrierCode
},{
title: '运输方式',
content: this.dataContent.transferMode
content: this.dataContent.transferMode,
type:"transferMode"
},{
title: '车牌号',
content: this.dataContent.vehiclePlateNumber

3
pages/unPlanned/coms/requestIssInfoPopup.vue

@ -37,7 +37,8 @@
content: this.dataContent.fromWarehouseCode
}, {
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes
content: this.dataContent.fromLocationTypes,
type:"locationType"
},{
title: '从库区代码范围',
content: this.dataContent.fromAreaCodes,

3
pages/unPlanned/coms/requestRecInfoPopup.vue

@ -37,7 +37,8 @@
content: this.dataContent.toWarehouseCode
}, {
title: '到库位类型范围',
content: this.dataContent.toLocationTypes
content: this.dataContent.toLocationTypes,
type:"locationType"
},{
title: '到库区代码范围',
content: this.dataContent.toAreaCodes,

2
static/config.json

@ -18,7 +18,7 @@
"request_url": {
"name": "request_url",
"value": "http://192.168.0.230:12080/admin-api",
"value": "http://dev.ccwin-in.com:25100/api/admin-api",
"dev2": "http://192.168.0.157:12080/admin-api",
"chefang": "http://192.168.0.178:12080/admin-api",
"chenxinming": "http://192.168.0.230:12080/admin-api",

Loading…
Cancel
Save