Commit a159de65 by LJM

bug

parent d95d3623
......@@ -461,25 +461,25 @@
max-width: 176rpx;
}
}
.pic-list {
.pic-title {
font-size: 16rpx;
color: #919399;
}
.pic-wrap {
margin-top: 8rpx;
flex-wrap: wrap;
.box {
}
.pic-list {
.pic-title {
font-size: 16rpx;
color: #919399;
}
.pic-wrap {
margin-top: 8rpx;
flex-wrap: wrap;
.box {
width: 120rpx;
height: 120rpx;
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 15rpx;
image {
width: 120rpx;
height: 120rpx;
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 15rpx;
image {
width: 120rpx;
height: 120rpx;
border-radius: 10rpx;
}
}
}
}
......
......@@ -425,7 +425,9 @@ export default {
other_batch_attr: this.formParams.other_batch_attr,
tally_remark: this.formParams.tally_remark,
image_ids: this.formParams.image_ids,
coo: this.formParams.coo
coo: this.formParams.coo,
is_mobile_default_img: this.formParams.is_mobile_default_img,
is_print: this.formParams.is_print
};
this.request(API.createTallyReceive, 'POST', params, true).then(res => {
......
......@@ -57,7 +57,7 @@
<text class="label">理货数量:</text>
<text class="ttt">{{ item.tally_qty }}</text>
</view>
<view class="btn-box row"><view class="detail-btn row rowCenter verCenter" @click="showDrawer()">详情</view></view>
<view class="btn-box row"><view class="detail-btn row rowCenter verCenter" @click="showDrawer(item)">详情</view></view>
</view>
</view>
<view class="no-date column rowCenter verCenter" v-else>
......@@ -74,7 +74,7 @@
</view>
<!-- 理货详情弹窗 -->
<uni-drawer ref="showRight" mode="right">
<view class="uni-drawer-tally-receive-detail">
<view class="uni-drawer-tally-receive-detail" v-if="detail">
<view class="title row rowCenter verCenter">
<text class="iconfont icon-juxing2" @click="closeDrawer()"></text>
<text class="text">理货详情</text>
......@@ -82,19 +82,19 @@
<view class="field-item row" style="margin-top: 39rpx;">
<view class="item row verCenter">
<text class="label">入库单号:</text>
<text class="text">ASN2201010001</text>
<text class="text">{{ detail.stock_in_sn }}</text>
</view>
<view class="item row verCenter">
<text class="label">入 仓 号:</text>
<text class="text">A65512</text>
<text class="text">{{ detail.inhouse }}</text>
</view>
<view class="item row verCenter">
<text class="label">物流单号:</text>
<text class="text">SF2135661465161</text>
<text class="text">{{ detail.tracking_no }}</text>
</view>
<view class="item row verCenter">
<text class="label">容 器:</text>
<text class="tt">2023-04-01 11:28:59</text>
<text class="tt">{{ detail.container_name }}</text>
</view>
</view>
<view class="bor"></view>
......@@ -102,80 +102,76 @@
<view class="field-item row">
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">货品编码:</text>
<text class="tt">6546546416541654665</text>
<text class="tt">{{ detail.goods_sn }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">货品名称:</text>
<text class="tt">ASD3DAADS22</text>
<text class="tt">{{ detail.goods_name }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">入库批次号:</text>
<text class="tt">L-PC22010100001</text>
<text class="tt">{{ detail.stock_in_batch_sn }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">标准品牌:</text>
<text class="tt">Nexperia</text>
<text class="tt">{{ detail.brand_name }}</text>
</view>
<view class="item row verCenter">
<text class="label">D / C:</text>
<text class="tt">22+</text>
<text class="tt">{{ detail.date_code }}</text>
</view>
<view class="item row verCenter">
<text class="label">产 地:</text>
<text class="tt">美国</text>
<text class="tt">{{ detail.coo }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">货品品质:</text>
<text class="tt">-</text>
<text class="tt">{{ detail.quality_cn }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;margin-bottom: 17rpx;">
<text class="label">其他批次属性:</text>
<text class="tt">良品</text>
<text class="tt">{{ detail.other_batch_attr }}</text>
</view>
</view>
<view class="bor"></view>
<view class="field-item row">
<view class="item row verCenter">
<text class="label">是否质检:</text>
<text class="text"></text>
<text class="text">{{ detail.is_qc_cn }}</text>
</view>
<view class="item row verCenter">
<text class="label">质检状态:</text>
<text class="text">待处理</text>
<text class="text">{{ detail.qc_status_cn }}</text>
</view>
<view class="item row verCenter">
<text class="label">预期数量:</text>
<text class="tt">10000</text>
<text class="tt">{{ detail.expect_qty }}</text>
</view>
<view class="item row verCenter">
<text class="label">单 位:</text>
<text class="tt">PCS</text>
<text class="tt">{{ detail.goods_unit }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">理货数量:</text>
<text class="tt">2200</text>
<text class="tt">{{ detail.tally_qty }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">理货备注:</text>
<text class="tt">暂无理货备注</text>
</view>
<view class="pic-list">
<view class="pic-title">理货照片:</view>
<view class="row pic-wrap">
<view class="box"><image src="https://img.ichunt.com/images/ichunt/202304/11/372bae650d699de8b3008cace4e4f081.jpg" mode="aspectFill"></image></view>
<view class="box"><image src="https://img.ichunt.com/images/ichunt/202304/11/372bae650d699de8b3008cace4e4f081.jpg" mode="aspectFill"></image></view>
<view class="box"><image src="https://img.ichunt.com/images/ichunt/202304/11/372bae650d699de8b3008cace4e4f081.jpg" mode="aspectFill"></image></view>
<view class="box"><image src="https://img.ichunt.com/images/ichunt/202304/11/372bae650d699de8b3008cace4e4f081.jpg" mode="aspectFill"></image></view>
<view class="box"><image src="https://img.ichunt.com/images/ichunt/202304/11/372bae650d699de8b3008cace4e4f081.jpg" mode="aspectFill"></image></view>
</view>
<text class="tt">{{ detail.tally_remark }}</text>
</view>
<view class="item row verCenter">
<text class="label">理货时间:</text>
<text class="tt">2023-04-01 11:28:59</text>
<text class="tt">{{ detail.create_time_cn }}</text>
</view>
<view class="item row verCenter">
<text class="label">理 货 人:</text>
<text class="tt">拾贰</text>
<text class="tt">{{ detail.create_name }}</text>
</view>
</view>
<view class="pic-list">
<view class="pic-title">理货照片:</view>
<view class="row pic-wrap">
<view class="box" v-for="(item, index) in image_list" :key="index"><image :src="item" mode="aspectFill" lazy-load="true"></image></view>
</view>
</view>
<view class="btn row verCenter bothSide"><view class="btn1 row rowCenter verCenter" @click="closeDrawer()">取消理货</view></view>
......@@ -199,6 +195,7 @@ export default {
filter_list: [], //筛选已选中的列表
filter_id: [], //入库单列表的入库登记
detail: {}, //详情的数据
image_list: [], //图片列表
searchParams: {
stock_in_sn: '', //入库单号
tracking_no: '', //物流单号
......@@ -288,8 +285,10 @@ export default {
}
this.getData();
}, 500),
showDrawer() {
showDrawer(data) {
this.$refs.showRight.open();
this.detail = data;
this.image_list = data.image_ids.split(',');
},
closeDrawer() {
this.$refs.showRight.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment