Commit 40cc76cf by liangjianmin

style(arrivalRegister): 调整打印区域滚动样式并切换环境配置

- 增加 print-scroll 类,限制打印区域最大高度提升显示效果
- 替换 splitGoods.vue 中 scroll-view 的内联样式为 print-scroll 类样式
- 将 api.js 中环境配置由 development 切换至 production,提高代码部署正确性
parent 12c3759c
...@@ -488,6 +488,9 @@ ...@@ -488,6 +488,9 @@
color: #1969f9; color: #1969f9;
} }
} }
.print-scroll {
max-height: calc(100vh - 350rpx);
}
.print-content { .print-content {
flex-wrap: wrap; flex-wrap: wrap;
.box { .box {
......
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
</view> </view>
<view class="copy" @click="copy()">复制入仓号</view> <view class="copy" @click="copy()">复制入仓号</view>
</view> </view>
<scroll-view scroll-y="true" style="max-height: 440rpx;"> <scroll-view scroll-y="true" class="print-scroll">
<view class="print-content row"> <view class="print-content row">
<view class="box row verCenter rowCenter" v-for="(item, index) in erp_order_sn_arr" :key="index">{{ item }}</view> <view class="box row verCenter rowCenter" v-for="(item, index) in erp_order_sn_arr" :key="index">{{ item }}</view>
</view> </view>
......
// 环境配置:'production' 正式环境 | 'development' 测试环境 // 环境配置:'production' 正式环境 | 'development' 测试环境
const ENV = 'development'; const ENV = 'production';
// 环境配置映射 // 环境配置映射
var ENV_CONFIG = { var ENV_CONFIG = {
......
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