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() { mounted() {
// if (this.detailOptions.length == 0) { if (this.detailOptions.length == 0) {
// this.detailOptions = getDetailOption(); this.detailOptions = getDetailOption();
// } }
// if (this.scanOptions.length == 0) { if (this.scanOptions.length == 0) {
// this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, false) this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, false)
// } }
this.showLocation(); // this.showLocation();
}, },
methods: { methods: {

15
src/mycomponents/job/jobFilter.vue

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

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

@ -1,7 +1,12 @@
<template> <template>
<job-com-main-card :dataContent="dataContent"> <job-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard> <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> </template>
<script> <script>

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

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

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

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

Loading…
Cancel
Save