Browse Source

修改样式

wms3.0_pda
niexiting 1 year ago
parent
commit
55890ccf57
  1. 5
      common/style/new_style.css
  2. 14
      mycomponents/recommend/recommend.vue
  3. 12
      pages/purchaseReceipt/job/receiptDetail.vue

5
common/style/new_style.css

@ -2027,15 +2027,14 @@ button::after {
.card_itemCode { .card_itemCode {
font-size: 36rpx; font-size: 36rpx;
font-weight: 500; /* font-weight: 500; */
padding: 10rpx; padding: 10rpx;
} }
.card_itemName { .card_itemName {
color: #909399; color: #909399;
font-size: 30rpx; font-size: 30rpx;
padding: 0rpx 10rpx; padding: 0rpx 20rpx;
} }
/* .std_pack { /* .std_pack {

14
mycomponents/recommend/recommend.vue

@ -4,14 +4,10 @@
<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 <location title="来源库位" :locationCode="detail.fromLocationCode">
title="来源库位"
:locationCode="detail.fromLocationCode">
</location> </location>
<view class=""> <view class="">
<location v-if="isShowToLocation" <location v-if="isShowToLocation" title="目标库位" :locationCode="detail.toLocationCode">
title="目标库位"
:locationCode="detail.toLocationCode">
</location> </location>
</view> </view>
@ -23,10 +19,12 @@
:handleQty="Number(detail.handleQty)" :isShowStdPack="false"> :handleQty="Number(detail.handleQty)" :isShowStdPack="false">
</compare-qty> </compare-qty>
<view class="" style="font-size: 40rpx;"> <view class="" style="font-size: 40rpx;">
<u-button @click="copy" size="mini" type="primary">复制箱码</u-button> <!-- <u-button @click="copy" size="mini" >复制采购标签</u-button> -->
<text style="font-size: 10rpx;color: #2979ff;" @click="copy">复制采购标签</text>
</view> </view>
<view class="" style="font-size: 40rpx;"> <view class="" style="font-size: 40rpx;">
<u-button @click="copyPro" size="mini" type="primary">复制制品</u-button> <!-- <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>

12
pages/purchaseReceipt/job/receiptDetail.vue

@ -5,7 +5,7 @@
<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="">
<com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent" <com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent"
@remove="updateData" @updateData="updateData" :locationTypeList ='locationTypeList'> @remove="updateData" @updateData="updateData" :locationTypeList='locationTypeList'>
</com-receipt-detail-card> </com-receipt-detail-card>
</view> </view>
<u-line /> <u-line />
@ -35,7 +35,6 @@
</template> </template>
<script> <script>
import { import {
purchaseReceiptJobSubmit, purchaseReceiptJobSubmit,
getPurchaseReceiptJobDetail, getPurchaseReceiptJobDetail,
@ -47,6 +46,7 @@
goHome, goHome,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -107,6 +107,7 @@
} else { } else {
this.getDetail(); this.getDetail();
} }
} }
}, },
// //
@ -180,6 +181,7 @@
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }
updateTitle(that.jobContent.number);
} }
}).catch(error => { }).catch(error => {
uni.hideLoading() uni.hideLoading()
@ -246,7 +248,7 @@
}, },
scanLocationCode(location, code) { scanLocationCode(location, code) {
this.$refs.comMessage.showQuestionMessage("是否把所有的目标库位都变成默认库位["+code+"]", res => { this.$refs.comMessage.showQuestionMessage("是否把所有的目标库位都变成默认库位[" + code + "]", res => {
this.toLocationCode = code this.toLocationCode = code
this.detailSource.forEach(item => { this.detailSource.forEach(item => {
item.subList.forEach(detail => { item.subList.forEach(detail => {
@ -258,7 +260,7 @@
commit() { commit() {
this.scanCount = this.getScanCount(); this.scanCount = this.getScanCount();
if( this.scanCount==0){ if (this.scanCount == 0) {
this.showErrorMessage("扫描数为0,请先扫描") this.showErrorMessage("扫描数为0,请先扫描")
return; return;
} }
@ -313,7 +315,7 @@
if (res.data) { if (res.data) {
this.showCommitSuccessMessage("提交成功<br>生成采购收货记录" + res.data, ) this.showCommitSuccessMessage("提交成功<br>生成采购收货记录" + res.data, )
} else { } else {
this.showErrorMessage("提交失败"+res.msg) this.showErrorMessage("提交失败" + res.msg)
} }
}).catch(error => { }).catch(error => {
uni.hideLoading() uni.hideLoading()

Loading…
Cancel
Save