Commit 02480e31 by LJM

【箱信息】中,“打包箱号”支持编辑。(不需限制出库单状态,有复核记录即可编辑箱号。编辑内容限制字母+数字+符号)

parent 8c15906a
......@@ -2,10 +2,9 @@
import { API } from '@/util/api.js';
export default {
onLaunch: function() {
console.log('App Launch');
},
onShow: function() {
console.log('App Show 首页初始化...');
var wms_version = uni.getStorageSync('wms_version') || '';
this.request(API.getLatestAppInfo, 'POST', {}, false).then(res => {
if (res.code === 0) {
......@@ -30,7 +29,7 @@
});
},
onHide: function() {
console.log('App Hide');
},
methods: {
//下载apk文件
......
......@@ -273,7 +273,6 @@
this.resetChange();
this.filter_id = [];
this.getData();
this.closeDrawer();
}, 2000);
} else {
uni.showModal({
......
......@@ -701,6 +701,7 @@
}
},
onLoad(options) {
console.log('页面加载触发')
this.stock_out_sn = options.stock_out_sn || '';
this.searchParams.stock_out_id = options.stock_out_id || '';
this.warehouse_id = options.warehouse_id || '';
......@@ -711,10 +712,15 @@
}
},
onShow() {
console.log('页面显示触发');
if (this.noexebshowFalg) {
console.log('页面加载数据...');
this.getData();
}
},
onHide() {
console.log('页面隐藏触发');
},
methods: {
/**
* @param {Object} e
......@@ -1093,6 +1099,7 @@
uni.hideLoading();
let data = JSON.parse(uploadFileRes.data);
if (data.code === 0) {
this.noexebshowFalg = true;
this.image_list.push({
pic_id: data.data.oss_image_id,
small_image_url: data.data.small_image_url,
......@@ -1135,10 +1142,10 @@
* @param {Object} index
*/
previewChange(arr, index) {
this.noexebshowFalg = false;
var data = arr.map(item => {
return item.big_image_url;
});
this.noexebshowFalg = false;
uni.previewImage({
current: index,
urls: data
......@@ -1191,7 +1198,7 @@
//赋值title
uni.setNavigationBarTitle({
title: this.stock_out_sn + '拣货'
title: this.stock_out_sn + '-拣货'
});
// 在进行条件判断之前,保存原始的stock_in_batch_sn值
......
......@@ -605,7 +605,10 @@
<view class="box-list">
<view class="box-wrap" v-for="(item, i) in packList" :key="i">
<view class="box-title row bothSide verCenter">
<text class="t1">打包箱号:{{ item.box_name }}</text>
<view class="row verCenter">
<text class="t1">打包箱号:</text>
<input type="text" placeholder="箱号" placeholder-style="color:#919399" class="uni-input" v-model="packList[i].box_name" style="width: 78rpx;height: 25rpx;" />
</view>
<view>
<picker @change="bindPickerBoxChange($event, i)" :value="index" :range="packConfigList" :range-key="'name'">
<view class="row verCenter">
......
// const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
// const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
// const API_BASE = 'http://wms.liexindev.net'; //WMS系统
// const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
const API_BASE = 'https://wms.ichunt.net'; //WMS系统
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
// const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
// const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
// const API_BASE = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const API = {
......
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