Commit 79176d63 by liangjianmin

fix(tallyReceive): 提高最大上传图片数量限制

- 将最大上传图片数量从10增加到100
- 更新图片数量显示为动态变量maxNum
- 适配tallyReceive页面和operate页面的图片数量显示
- 将环境变量ENV设置为正式环境production
parent e4d2d88e
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</view> </view>
<view class="num"> <view class="num">
<text class="t1">{{ image_list.length }}</text> <text class="t1">{{ image_list.length }}</text>
<text class="t2">/10</text> <text class="t2">/{{ maxNum }}</text>
</view> </view>
</view> </view>
<view class="pic-list row"> <view class="pic-list row">
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
detail: {}, //详情的数据 detail: {}, //详情的数据
image_list: [], //本地图片路径列表 image_list: [], //本地图片路径列表
server_image_list: [], //服务器图片路径列表 server_image_list: [], //服务器图片路径列表
maxNum: 10, //最大上传图片数量 maxNum: 100, //最大上传图片数量
hasMoreData: true, //是否分页加载 hasMoreData: true, //是否分页加载
is_watch: false, //是否看货 is_watch: false, //是否看货
is_dc_required: false, //D/C是否必填 is_dc_required: false, //D/C是否必填
......
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
</view> </view>
<view class="num"> <view class="num">
<text class="t1">{{ image_list.length }}</text> <text class="t1">{{ image_list.length }}</text>
<text class="t2">/10</text> <text class="t2">/{{ maxNum }}</text>
</view> </view>
</view> </view>
<view class="pic-list row"> <view class="pic-list row">
...@@ -450,7 +450,7 @@ ...@@ -450,7 +450,7 @@
detail: {}, //详情的数据 detail: {}, //详情的数据
image_list: [], //本地图片路径列表 image_list: [], //本地图片路径列表
server_image_list: [], //服务器图片路径列表 server_image_list: [], //服务器图片路径列表
maxNum: 10, //最大上传图片数量 maxNum: 100, //最大上传图片数量
useOptionIndex: -1, useOptionIndex: -1,
useOption: [], //产地 useOption: [], //产地
codOptionIndex: -1, codOptionIndex: -1,
......
// 环境配置:'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