Browse Source

修改提示

hella_online_20240829
lijuncheng 4 months ago
parent
commit
3a3f01d6a8
  1. 14
      src/mycomponents/detail/comDetailCard.vue
  2. 15
      src/mycomponents/job/jobFilter.vue
  3. 7
      src/pages/issue/coms/comIssueJobCard.vue
  4. 3
      src/pages/issue/job/issueJob.vue
  5. 6
      src/pages/putaway/job/putawayDetail.vue

14
src/mycomponents/detail/comDetailCard.vue

@ -107,14 +107,14 @@
},
mounted() {
// if (this.detailOptions.length == 0) {
// this.detailOptions = getDetailOption();
// }
// if (this.scanOptions.length == 0) {
// this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, false)
// }
if (this.detailOptions.length == 0) {
this.detailOptions = getDetailOption();
}
if (this.scanOptions.length == 0) {
this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, false)
}
this.showLocation();
// this.showLocation();
},
methods: {

15
src/mycomponents/job/jobFilter.vue

@ -128,13 +128,14 @@
},
methods: {
// 线
productionLineCodeConfirm(){
var lineCode=""
this.productionline.forEach(item=>{
if(item.text==this.productionLineCode){
lineCode=item.value
}
})
productionLineCodeConfirm(e){
var lineCode=e
// this.productionline.forEach(item=>{
// if(item.value==this.productionLineCode){
// lineCode=item.value
// }
// })
console.log("生产线+++"+lineCode)
this.$emit("productionLineCode", lineCode)
},

7
src/pages/issue/coms/comIssueJobCard.vue

@ -1,7 +1,12 @@
<template>
<job-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
</job-com-main-card>
<view class="" v-if ="dataContent.productionLineCode">
<text style="font-size: 32rpx; margin-left: 35rpx;">生产线</text>
<text style="font-size: 35rpx; margin-left: 10rpx; font-weight: bold;" >{{dataContent.productionLineCode}}</text>
</view>
</job-com-main-card>
</template>
<script>

3
src/pages/issue/job/issueJob.vue

@ -11,7 +11,9 @@
<view v-for="(item, index) in jobList" :key="index">
<uni-swipe-action-item :right-options="item.status=='2'?detailGiveupOptions:detailOptions"
@click="swipeClick($event,item)">
<com-issue-job-card :dataContent="item" @click='openJobDetail(item)'></com-issue-job-card>
</uni-swipe-action-item>
</view>
</uni-swipe-action>
@ -202,6 +204,7 @@
uni.stopPullDownRefresh();
}
var list = res.data.list;
this.totalCount = res.data.total
updateTitle(this.title+"(" + this.totalCount + ")");
this.loadingType = "loadmore";

6
src/pages/putaway/job/putawayDetail.vue

@ -305,6 +305,11 @@
var qty = result.label.qty;
var itemCode = result.label.itemCode;
var locationCode = result.fromLocationCode;
if(!result.balance){
this.showMessage("箱码【" + packingNumber + "】没有库存余额")
return;
}
// var inventoryStatus = "OK";
var detail = this.detailSource.find(r => r.itemCode == itemCode);
@ -364,6 +369,7 @@
scanedLength++;
}
})
//
itemDetail.fromInventoryStatus = result.balance.inventoryStatus;

Loading…
Cancel
Save