Browse Source

修改样式

wms3.0_pda
niexiting 12 months ago
parent
commit
c875b56854
  1. 23
      common/style/new_style.css
  2. 9
      common/style/uni.css
  3. 6
      mycomponents/balance/batch.vue
  4. 6
      mycomponents/balance/location.vue
  5. 6
      mycomponents/balance/pack.vue
  6. 1
      mycomponents/qty/stdPackQty.vue
  7. 23
      mycomponents/recommend/recommend.vue
  8. 2
      pages/purchaseReceipt/coms/comReceiptDetailCard.vue
  9. 1
      pages/purchaseReceipt/job/receiptDetail.vue

23
common/style/new_style.css

@ -2047,6 +2047,12 @@ button::after {
font-size: 30rpx; font-size: 30rpx;
} }
*/ */
.card_content {
font-size: 32rpx;
}
.card_icon_normal { .card_icon_normal {
width: 45rpx; width: 45rpx;
height: 45rpx; height: 45rpx;
@ -2054,7 +2060,6 @@ button::after {
} }
.card_packing_code { .card_packing_code {
font-size: 32rpx;
color: #3315EB; color: #3315EB;
} }
@ -2062,10 +2067,8 @@ button::after {
font-size: 32rpx; font-size: 32rpx;
} }
.card_batch { .card_batch {
color: #00B574; color: #00B574;
font-size: 32rpx;
} }
@ -2075,7 +2078,6 @@ button::after {
.card_business { .card_business {
color: #F1A532; color: #F1A532;
font-size: 32rpx;
} }
.card_business_content { .card_business_content {
@ -2086,9 +2088,12 @@ button::after {
color: #00A3FF; color: #00A3FF;
} }
.card_location_content {
font-size: 32rpx;
}
.card_supportCode { .card_supportCode {
color: #DA8910; color: #DA8910;
font-size: 32rpx;
} }
.card_supportCode_content { .card_supportCode_content {
@ -2099,6 +2104,12 @@ button::after {
background: linear-gradient(to right, #7ED7BD, #DCEFEE); background: linear-gradient(to right, #7ED7BD, #DCEFEE);
} }
.card_view
{
font-size: 32rpx;
padding: 5rpx;
}
/*
.pack_view { .pack_view {
font-size: 32rpx; font-size: 32rpx;
padding: 5rpx; padding: 5rpx;
@ -2113,7 +2124,7 @@ button::after {
font-size: 32rpx; font-size: 32rpx;
padding: 5rpx; padding: 5rpx;
} }
*/
.business_view { .business_view {
font-size: 32rpx; font-size: 32rpx;
padding: 5rpx; padding: 5rpx;

9
common/style/uni.css

@ -61,17 +61,16 @@ form {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
} }
.uni-inline-item text { /* .uni-inline-item text {
margin-right: 20rpx; margin-right: 20rpx;
} }
*/
.uni-inline-item text:last-child { /* .uni-inline-item text:last-child {
margin-right: 0rpx; margin-right: 0rpx;
margin-left: 20rpx; margin-left: 20rpx;
} } */
/* page */ /* page */
.common-page-head { .common-page-head {

6
mycomponents/balance/batch.vue

@ -1,7 +1,7 @@
<template> <template>
<view class="batch_view uni-inline-item"> <view class="card_view uni-inline-item">
<text class="card_batch">批次</text> <text class="card_batch card_content ">批次</text>
<text class="card_batch_content">{{batch}}</text> <text class="card_content ">{{batch}}</text>
</view> </view>
</template> </template>

6
mycomponents/balance/location.vue

@ -1,7 +1,7 @@
<template> <template>
<view class="location_view uni-inline-item"> <view class="card_view uni-inline-item">
<text class="card_location">{{title}}</text> <text class="card_location card_content ">{{title}}</text>
<text>{{locationCode}}</text> <text class="card_content ">{{locationCode}}</text>
</view> </view>
</template> </template>

6
mycomponents/balance/pack.vue

@ -1,7 +1,7 @@
<template> <template>
<view class="pack_view uni-inline-item"> <view class="card_view uni-inline-item">
<text class="card_packing_code">箱码</text> <text class="card_packing_code card_content ">箱码</text>
<text class="card_packing_code_content">{{packingCode}}</text> <text class="card_content ">{{packingCode}}</text>
</view> </view>
</template> </template>

1
mycomponents/qty/stdPackQty.vue

@ -3,7 +3,6 @@
<text> <text>
{{Number(dataContent.stdPackQty)}}{{getStdPackUnit(dataContent.uom)}} {{Number(dataContent.stdPackQty)}}{{getStdPackUnit(dataContent.uom)}}
</text> </text>
<!-- dataContent.StdPackUom -->
</view> </view>
</template> </template>
<script> <script>

23
mycomponents/recommend/recommend.vue

@ -1,30 +1,25 @@
<template> <template>
<view :class="detail.scaned?'scan_view':''" style="background-color: #ffffff;"> <view :class="detail.scaned?'scan_view':''" style="background-color: #ffffff;">
<view class="uni-flex uni-row space-between uni-inline-item"> <view class="uni-flex uni-row space-between ">
<!-- uni-inline-item 暂时拿掉-->
<view> <view>
<pack v-if="isShowPack" :packingCode="detail.packingNumber"></pack> <pack v-if="isShowPack" :packingCode="detail.packingNumber"></pack>
<batch v-if="isShowBatch" :batch="detail.batch"></batch> <batch v-if="isShowBatch" :batch="detail.batch"></batch>
<location title="来源库位" :locationCode="detail.fromLocationCode"> <location v-if="isShowLocation" title="来源库位" :locationCode="detail.fromLocationCode">
</location> </location>
<view class="">
<location v-if="isShowToLocation" title="目标库位" :locationCode="detail.toLocationCode"> <location v-if="isShowToLocation" title="目标库位" :locationCode="detail.toLocationCode">
</location> </location>
</view> </view>
</view>
<view> <view>
<recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail" <recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail"
:isShowStdPack="false"></recommend-qty> :isShowStdPack="false"></recommend-qty>
<compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)" <compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)"
:handleQty="Number(detail.handleQty)" :isShowStdPack="false"> :handleQty="Number(detail.handleQty)" :isShowStdPack="false">
</compare-qty> </compare-qty>
<view class="" style="font-size: 40rpx;"> <view class="uni-flex uni-row" style="vertical-align:center">
<!-- <u-button @click="copy" size="mini" >复制采购标签</u-button> --> <text style="font-size: 10rpx;color: #2979ff; "
<text style="font-size: 10rpx;color: #2979ff;" @click="copy">复制采购标签</text> @click="copy">复制采购</text>
</view> <text style="font-size: 10rpx;color: #2979ff;" @click="copyPro">|制品</text>
<view class="" style="font-size: 40rpx;">
<!-- <u-button @click="copyPro" size="mini" type="primary" >复制制造标签</u-button> -->
<text style="font-size: 10rpx;color: #2979ff;" @click="copyPro">复制制品标签</text>
</view> </view>
</view> </view>
</view> </view>
@ -91,7 +86,7 @@
this.$copyText(content).then( this.$copyText(content).then(
res => { res => {
uni.showToast({ uni.showToast({
title: '复制成功', title: '复制采购标签成功',
icon: 'none' icon: 'none'
}) })
} }
@ -104,7 +99,7 @@
this.$copyText(content).then( this.$copyText(content).then(
res => { res => {
uni.showToast({ uni.showToast({
title: '复制成功', title: '复制制品标签成功',
icon: 'none' icon: 'none'
}) })
} }

2
pages/purchaseReceipt/coms/comReceiptDetailCard.vue

@ -10,7 +10,7 @@
<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="settingParam.allowModifyLocation=='TRUE'"></recommend> <recommend :detail="item" :isShowLocation="false" :isShowToLocation="settingParam.allowModifyLocation=='TRUE'"></recommend>
</uni-swipe-action-item> </uni-swipe-action-item>
</uni-swipe-action> </uni-swipe-action>
<u-line color="#D8D8D8"></u-line> <u-line color="#D8D8D8"></u-line>

1
pages/purchaseReceipt/job/receiptDetail.vue

@ -13,7 +13,6 @@
</scroll-view> </scroll-view>
</view> </view>
<view class="page-footer"> <view class="page-footer">
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">

Loading…
Cancel
Save