lijuncheng 11 months ago
parent
commit
2b2efb03f1
  1. 0
      common/style/PDA_style-delete.css
  2. 5
      common/style/new_style.css
  3. 21
      mycomponents/detail/comDetailCard.vue
  4. 2
      pages/deliver/job/deliverDetail.vue
  5. 29
      pages/index/index.vue
  6. 2
      pages/inventoryMove/job/inventoryMoveDetail.vue
  7. 2
      pages/productDismantle/job/productDismantleDetail.vue
  8. 5
      pages/productPutaway/job/productPutawayDetail.vue
  9. 4
      pages/productReceipt/job/productReceiptDetail.vue
  10. 2
      pages/productionReceipt/job/productionReceiptDetail.vue
  11. 4
      pages/productionReturn/job/returnDetail.vue
  12. 4
      pages/purchaseReceipt/job/receiptDetail.vue
  13. 16
      pages/purchaseReturn/job/returnDetail.vue
  14. 5
      pages/putaway/job/putawayDetail.vue
  15. 4
      pages/repleinsh/job/repleinshDetail.vue
  16. 4
      pages/scrap/job/scrapJobDetail.vue
  17. 4
      pages/transfer/job/receiptDetail.vue
  18. 4
      pages/transfer/job/transferDetail.vue
  19. 4
      pages/unPlanned/job/issueJobDetail.vue
  20. 4
      pages/unPlanned/job/receiptJobDetail.vue

0
common/style/PDA_style.css → common/style/PDA_style-delete.css

5
common/style/new_style.css

@ -2100,7 +2100,7 @@ button::after {
} }
.card_location { .card_location {
color: #00A3FF; color: #DA8910;
padding: 5px; padding: 5px;
} }
@ -2118,7 +2118,8 @@ button::after {
} }
.scan_view { .scan_view {
background: linear-gradient(to right, #7ED7BD, #DCEFEE); background: linear-gradient(90deg, rgba(12, 194, 182, 0.2) 0%, rgba(12, 194, 182, 0) 100%)
} }
.card_view { .card_view {

21
mycomponents/detail/comDetailCard.vue

@ -1,41 +1,20 @@
<template> <template>
<view class="" style="background-color: #fff;"> <view class="" style="background-color: #fff;">
<!-- <view class="cell_box uni-flex uni-row">
<view class="cell_info">
<view class="text_lightblue">车间</view>
<view>{{workShopCode}}</view>
</view>
<view class="cell_info">
<view class="text_lightblue">生产线</view>
<view>{{dataContent.productionLineCode}}</view>
</view>
<view class="cell_info">
<view class="text_lightblue">工位</view>
<view>{{ dataContent.workStationCode }}</view>
</view>
<view class="cell_info">
<view class="text_lightblue">原材料库</view>
<view>{{ dataContent.toLocationCode}}</view>
</view>
</view> -->
<uni-collapse ref="collapse1" @change=""> <uni-collapse ref="collapse1" @change="">
<uni-collapse-item :open="true"> <uni-collapse-item :open="true">
<template v-slot:title> <template v-slot:title>
<item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)"> <item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)">
</item-compare-qty> </item-compare-qty>
</template> </template>
<u-line />
<view class="" v-for="(item,index) in dataContent.subList"> <view class="" v-for="(item,index) in dataContent.subList">
<uni-swipe-action ref="swipeAction"> <uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="swipeClick($event,item)" <uni-swipe-action-item @click="swipeClick($event,item)"
:right-options="item.scaned?scanOptions:detailOptions"> :right-options="item.scaned?scanOptions:detailOptions">
<recommend :detail="item" :isShowToLocation="false"> <recommend :detail="item" :isShowToLocation="false">
</recommend> </recommend>
<u-line />
</uni-swipe-action-item> </uni-swipe-action-item>
</uni-swipe-action> </uni-swipe-action>
</view> </view>
</uni-collapse-item> </uni-collapse-item>
</uni-collapse> </uni-collapse>
<balance-qty-edit ref="qtyEdit" :settingParam="settingParam" @confirm="confirm"></balance-qty-edit> <balance-qty-edit ref="qtyEdit" :settingParam="settingParam" @confirm="confirm"></balance-qty-edit>

2
pages/deliver/job/deliverDetail.vue

@ -7,7 +7,7 @@
<view class="header_item" > <view class="header_item" >
申请单号{{jobContent.requestNumber}} 申请单号{{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"></u-line>
<view class="cen_card" style="padding: 5rpx;"> <view class="cen_card" style="padding: 5rpx;">
<view class="cell_box uni-flex uni-row"> <view class="cell_box uni-flex uni-row">
<view class="cell_info"> <view class="cell_info">

29
pages/index/index.vue

@ -22,11 +22,14 @@
<text>{{item.name}}</text> <text>{{item.name}}</text>
</view> </view>
<view class="item-container"> <view class="item-container">
<view class="thumb-box" v-for="(item1, index1) in item.children" :key="index1" <view class="thumb-box" v-for="(item1, index1) in item.children" :key="index1"
@click="openCheck(item1.path)"> @click="openCheck(item1.path)">
<view class="" style="position: relative; "> <view class="" style="position: relative; ">
<u-badge v-if="item1.count>0" type="error" :count="item1.count" :offset="position" :showZero ="false"></u-badge> <!-- <u-badge class="item-menu-badge" v-if="item1.count>0" type="error" :count="item1.count" :offset="position"
:showZero="false"></u-badge> -->
<text class="item-menu-badge"
v-if="item1.count>0">{{item1.count>9?'9+':item1.count}}</text>
<image class="item-menu-image" :src="'/static/menus/'+item1.componentName" mode=""> <image class="item-menu-image" :src="'/static/menus/'+item1.componentName" mode="">
</image> </image>
<view class=""> <view class="">
@ -169,22 +172,22 @@
this.timer = setInterval(function() { this.timer = setInterval(function() {
that.getMainMessage(); that.getMainMessage();
console.log('刷新菜单'); console.log('刷新菜单');
}, 1000*60) }, 1000 * 60)
}, },
stopRefresh(){ stopRefresh() {
if (this.timer) { if (this.timer) {
clearInterval(this.timer); clearInterval(this.timer);
this.timer = null; this.timer = null;
} }
}, },
getMainMessage(){ getMainMessage() {
getMainMessage().then(res => { getMainMessage().then(res => {
this.menusCount = res.data; this.menusCount = res.data;
this.tabbar.forEach(item=>{ this.tabbar.forEach(item => {
item.children.forEach(rightItem=>{ item.children.forEach(rightItem => {
var count = this.menusCount[rightItem.component] var count = this.menusCount[rightItem.component]
if(count!=undefined){ if (count != undefined) {
rightItem.count =count; rightItem.count = count;
} }
}) })
}) })
@ -472,7 +475,13 @@
height: 32px; height: 32px;
} }
.index_badge { .item-menu-badge {
width: 42rpx;
height: 42rpx;
top: -5px;
right: -5px;
font-size: 0.6rem;
background-color: #fa3534;
position: absolute; position: absolute;
right: 0; right: 0;
color: #fff; color: #fff;

2
pages/inventoryMove/job/inventoryMoveDetail.vue

@ -7,7 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"></u-line>
</view> </view>
<view class="page-main"> <view class="page-main">

2
pages/productDismantle/job/productDismantleDetail.vue

@ -7,7 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"></u-line>
</view> </view>
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">

5
pages/productPutaway/job/productPutawayDetail.vue

@ -7,10 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8" >
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

4
pages/productReceipt/job/productReceiptDetail.vue

@ -7,9 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

2
pages/productionReceipt/job/productionReceiptDetail.vue

@ -8,7 +8,7 @@
<view class="header_item"> <view class="header_item">
发料任务单号 : {{jobContent.issueJobNumber}} 发料任务单号 : {{jobContent.issueJobNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"></u-line>
</view> </view>
<scroll-view scroll-y="true"> <scroll-view scroll-y="true">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">

4
pages/productionReturn/job/returnDetail.vue

@ -12,9 +12,7 @@
:workStationCode="titleInfo.workStationCode" :rawLocationCode="titleInfo.fromLocationCode"> :workStationCode="titleInfo.workStationCode" :rawLocationCode="titleInfo.fromLocationCode">
</work-station> </work-station>
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8" l-view scroll-y="true" class="page-main-scroll">
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<comReturnDetailCard :dataContent="item" :index="index" :settingParam="jobContent" <comReturnDetailCard :dataContent="item" :index="index" :settingParam="jobContent"

4
pages/purchaseReceipt/job/receiptDetail.vue

@ -7,9 +7,7 @@
<view class="header_item"> <view class="header_item">
发货单号 : {{jobContent.asnNumber}} 发货单号 : {{jobContent.asnNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

16
pages/purchaseReturn/job/returnDetail.vue

@ -7,17 +7,15 @@
<view class="header_item"> <view class="header_item">
发货单{{jobContent.asnNumber}} 发货单{{jobContent.asnNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8" ></u-line>
</view> </view>
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <com-detail-card :dataContent="item" :settingParam="jobContent" @remove="updateData"
<com-detail-card :dataContent="item" :settingParam="jobContent" @remove="updateData" @updateData='updateData' @openDetail="openDetail">
@updateData='updateData' @openDetail="openDetail"> </com-detail-card>
</com-detail-card>
</view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@ -239,10 +237,12 @@
r.batch == batch && r.fromLocationCode == result.fromLocationCode r.batch == batch && r.fromLocationCode == result.fromLocationCode
}) })
if (itemDetail == undefined) { if (itemDetail == undefined) {
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【"+result.fromLocationCode+"】不在列表中") this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【" + result
.fromLocationCode + "】不在列表中")
} else { } else {
if (itemDetail.scaned) { if (itemDetail.scaned) {
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【"+result.fromLocationCode+"】已经扫描") this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【" + result
.fromLocationCode + "】已经扫描")
} else { } else {
let balanceStatus = getInventoryStatusName(result.balance.inventoryStatus); let balanceStatus = getInventoryStatusName(result.balance.inventoryStatus);
let itemStatus = getInventoryStatusName(itemDetail.inventoryStatus); let itemStatus = getInventoryStatusName(itemDetail.inventoryStatus);

5
pages/putaway/job/putawayDetail.vue

@ -7,10 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8" n">
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

4
pages/repleinsh/job/repleinshDetail.vue

@ -7,9 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"
</view>
<view class="page-main">
<scroll-view scroll-y="true" class=""> <scroll-view scroll-y="true" class="">
<view v-for="(toLocation, index) in detailSource"> <view v-for="(toLocation, index) in detailSource">
<com-repleish-detail-card ref='comIssueDetailCard' :dataContent="toLocation" <com-repleish-detail-card ref='comIssueDetailCard' :dataContent="toLocation"

4
pages/scrap/job/scrapJobDetail.vue

@ -7,9 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

4
pages/transfer/job/receiptDetail.vue

@ -10,9 +10,7 @@
<view class="header_item"> <view class="header_item">
来源仓库 : {{jobContent.fromWarehouseCode}} 来源仓库 : {{jobContent.fromWarehouseCode}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

4
pages/transfer/job/transferDetail.vue

@ -7,9 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

4
pages/unPlanned/job/issueJobDetail.vue

@ -7,9 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

4
pages/unPlanned/job/receiptJobDetail.vue

@ -7,9 +7,7 @@
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> <u-line color="#D8D8D8"
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

Loading…
Cancel
Save