Commit 55b3459b by LJM

css

parent 2f81a9e2
.page-box {
margin-top: 24rpx;
padding: 0 24rpx;
.scanBarcode {
height: 88rpx;
background: #ffffff;
border-radius: 4rpx;
margin-bottom: 16rpx;
.iconfont {
font-size: 52rpx;
color: #197adb;
}
.tt {
margin-left: 12rpx;
font-size: 26rpx;
color: #404547;
}
}
.section {
padding: 24rpx 24rpx 0 24rpx;
background: #ffffff;
border-radius: 4rpx;
margin-bottom: 16rpx;
.warehouse {
padding-bottom: 24rpx;
border-bottom: 1px solid #e6edf0;
.t1 {
font-size: 22rpx;
color: #000;
margin-bottom: 8rpx;
}
.input-wrap {
.arrow {
width: 12rpx;
height: 12rpx;
background: #197adb;
border-radius: 50%;
margin-right: 16rpx;
}
.uni-input {
font-size: 32rpx;
color: #1e2021;
font-weight: bold;
}
}
.inspection {
width: 72rpx;
height: 36rpx;
border-radius: 4rpx;
border: 1rpx solid #197adb;
font-size: 24rpx;
color: #197adb;
}
}
.box {
height: 80rpx;
border-bottom: 1px solid #e6edf0;
&:last-child {
border-bottom: none;
}
.label {
font-size: 24rpx;
color: #6e767a;
margin-right: 60rpx;
}
.input-wrap {
width: calc(100% - 160rpx);
.text-prompt {
color: #6e767a;
font-size: 24rpx;
}
}
.input-wrap-width {
justify-content: flex-end;
.text {
font-size: 24rpx;
color: #404547;
font-weight: bold;
margin-right: 12rpx;
}
.iconfont {
font-size: 21rpx;
color: #9ca8ad;
}
}
.tab {
.tab-panel {
width: 120rpx;
height: 48rpx;
background: #9ca8ad;
border-radius: 4rpx;
font-size: 24rpx;
color: #ffffff;
margin-right: 24rpx;
&:last-child {
margin-right: 0;
}
&.curr {
background: #197adb;
}
}
}
.uni-input {
font-size: 24rpx;
color: #404547;
font-weight: bold;
}
}
.upload-box {
position: relative;
z-index: 1;
.title {
margin-bottom: 24rpx;
.tt-l {
font-size: 24rpx;
color: #6e767a;
}
.tt-r {
font-size: 24rpx;
color: #404547;
}
}
.upload-list {
padding-bottom: 48rpx;
.default {
width: 144rpx;
height: 144rpx;
background-color: #f1f4f6;
border: 1rpx solid #e6edf0;
.iconfont {
font-size: 48rpx;
color: #d8d8d8;
}
}
.pic-box {
position: relative;
flex: 0 0 25%;
margin-right: 10rpx;
&:nth-of-type(4n) {
margin-right: 0;
}
image {
width: 144rpx;
height: 144rpx;
}
.delete {
position: absolute;
right: 10rpx;
top: -13rpx;
width: 30rpx;
height: 30rpx;
border-radius: 50%;
background-color: #bb3434;
z-index: 999;
.iconfont {
font-size: 20rpx;
color: #ffffff;
}
}
}
}
.model-upload-list {
.box {
height: 80rpx;
border-bottom: 1rpx solid #e6edf0;
&:last-child {
border-bottom: none;
}
.file {
.t1 {
width: 258rpx;
color: #404547;
font-size: 24rpx;
font-weight: bold;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.t2 {
font-size: 24rpx;
color: #197adb;
margin-left: 4rpx;
margin-right: 16rpx;
}
.clear {
font-size: 24rpx;
color: #404547;
font-weight: bold;
}
}
.file-btn {
.t1 {
font-size: 24rpx;
color: #404547;
font-weight: bold;
margin-right: 12rpx;
}
.iconfont {
font-size: 21rpx;
color: #9ca8ad;
}
}
&.curr {
.file {
.t1 {
color: #197adb;
}
}
}
}
}
}
}
.btn {
position: relative;
z-index: 2;
height: 88rpx;
background: #197adb;
border-radius: 4rpx;
font-size: 28rpx;
color: #ffffff;
}
}
.page-box {
margin-top: 24rpx;
padding: 0 24rpx;
.title {
padding: 0 24rpx;
height: 80rpx;
background: #ffffff;
border-radius: 4rpx;
margin-bottom: 16rpx;
.t1 {
font-size: 24rpx;
color: #6e767a;
}
.t2 {
font-size: 24rpx;
color: #404547;
font-weight: bold;
}
}
.select-split {
margin-bottom: 48rpx;
.box {
padding: 24rpx;
border-radius: 4rpx;
background: #ffffff;
.label {
margin-bottom: 12rpx;
.t1 {
font-size: 22rpx;
color: #197adb;
margin-right: 8rpx;
}
.t2 {
font-size: 22rpx;
color: #6e767a;
}
}
.pick-list {
padding-bottom: 24rpx;
.uni-text {
font-size: 28rpx;
color: #404547;
font-weight: 600;
}
.iconfont {
font-size: 12rpx;
color: #9ca8ad;
}
}
.boxed_result {
border-top: 1px solid #e6edf0;
padding-top: 24rpx;
.t1 {
font-size: 22rpx;
color: #6e767a;
margin-right: 29rpx;
}
.t2 {
font-size: 22rpx;
color: #404547;
}
.t3 {
font-size: 22rpx;
color: #9ca8ad;
}
}
}
}
.btn {
position: relative;
height: 88rpx;
background: #197adb;
border-radius: 4rpx;
font-size: 28rpx;
color: #ffffff;
z-index: 2;
}
.btn-reset {
margin-top: 24rpx;
position: relative;
height: 88rpx;
background: #ffffff;
border-radius: 4rpx;
font-size: 28rpx;
color: #197adb;
z-index: 2;
}
}
.popup-content {
padding: 28rpx 24rpx 24rpx 24rpx;
.selected-items {
flex-wrap: wrap;
.box {
padding: 0 12rpx;
height: 44rpx;
background: #ffffff;
border-radius: 4rpx;
border: 1rpx solid #197adb;
margin-right: 16rpx;
margin-bottom: 16rpx;
.text {
font-size: 24rpx;
color: #197adb;
}
.close {
margin-left: 5rpx;
font-size: 36rpx;
color: #197adb;
}
}
}
.search-baar {
height: 88rpx;
background: #ffffff;
border-radius: 4rpx;
padding-left: 24rpx;
margin-bottom: 16rpx;
.iconfont {
font-size: 36rpx;
color: #6e767a;
}
.uni-input {
margin-left: 15rpx;
font-size: 28rpx;
color: #404547;
}
}
.data-list {
background: #ffffff;
border-radius: 4rpx;
margin-bottom: 22rpx;
max-height: 504rpx;
overflow-y: auto;
.box {
margin: 0 24rpx;
height: 84rpx;
border-bottom: 1rpx solid #e6edf0;
&:last-child {
border-bottom: none;
}
.text {
font-size: 26rpx;
color: #404547;
}
.check-ico {
width: 24rpx;
height: 25rpx;
background: url('https://img.ichunt.com/images/ichunt/202309/14/3743c01230310f62a2afa41a6c2eea96.png') no-repeat center;
background-size: contain;
display: block;
}
&.curr {
.text {
color: #197adb;
}
.check-ico {
background: url('https://img.ichunt.com/images/ichunt/202309/14/e651ddae61b5f02af4129f723b2cf74f.png') no-repeat center;
background-size: contain;
}
}
}
}
.pop-btn {
height: 88rpx;
background: #197adb;
border-radius: 4rpx;
font-size: 28rpx;
color: #ffffff;
}
}
.page-box {
margin-top: 24rpx;
padding: 0 24rpx;
.title {
padding: 0 24rpx;
height: 80rpx;
background: #ffffff;
border-radius: 4rpx;
margin-bottom: 16rpx;
.t1 {
font-size: 24rpx;
color: #6e767a;
}
.t2 {
font-size: 24rpx;
color: #404547;
font-weight: bold;
}
}
.select-split {
.box {
padding: 24rpx;
margin-bottom: 16rpx;
border-radius: 4rpx;
background: #ffffff;
&:last-child {
margin-bottom: 0;
}
.label {
margin-bottom: 12rpx;
.t1 {
font-size: 22rpx;
color: #197adb;
margin-right: 8rpx;
}
.t2 {
font-size: 22rpx;
color: #6e767a;
}
}
.pick-list {
.uni-text {
font-size: 28rpx;
color: #404547;
font-weight: 600;
}
.iconfont {
font-size: 12rpx;
color: #9ca8ad;
}
}
}
}
.select-split-detail {
margin-bottom: 48rpx;
.box {
padding: 24rpx;
margin-bottom: 16rpx;
background: #ffffff;
border-radius: 4rpx;
&:last-child {
margin-bottom: 0;
}
.label {
margin-bottom: 12rpx;
font-size: 22rpx;
color: #6e767a;
}
.pick-list {
.wrap {
width: 50%;
.uni-text {
width: 196rpx;
font-size: 28rpx;
color: #404547;
font-weight: 600;
}
.iconfont {
font-size: 12rpx;
color: #9ca8ad;
margin-left: 79rpx;
}
}
.input-wrap {
width: 46%;
.uni-input {
font-size: 28rpx;
color: #404547;
font-weight: bold;
}
}
}
}
}
.text-details {
padding: 44rpx 24rpx 24rpx 24rpx;
.text-row {
.left {
.t1 {
font-size: 24rpx;
color: #6e767a;
margin-right: 16rpx;
}
.t2 {
font-size: 24rpx;
color: #404547;
}
}
.right {
.t1 {
font-size: 24rpx;
color: #197adb;
margin-right: 16rpx;
}
.t2 {
font-size: 24rpx;
color: #197adb;
font-weight: bold;
}
}
}
}
.btn {
position: relative;
z-index: 2;
height: 88rpx;
background: #197adb;
border-radius: 4rpx;
font-size: 28rpx;
color: #ffffff;
}
}
......@@ -144,6 +144,21 @@
"style": {
"navigationBarTitleText": "扫描盘点"
}
}, {
"path": "pages/tallyGoods/confirm",
"style": {
"navigationBarTitleText": "理货确认"
}
}, {
"path": "pages/tallyGoods/originSplit",
"style": {
"navigationBarTitleText": "产地拆分"
}
}, {
"path": "pages/tallyGoods/manualMerge",
"style": {
"navigationBarTitleText": "手动合箱"
}
}],
"globalStyle": {
"navigationBarTextStyle": "black",
......
......@@ -70,16 +70,6 @@ export default {
tips: ''
},
{
name: '上架',
iconfont: 'icon-a-juxing11 disabled',
tips: ''
},
{
name: '拣货',
iconfont: 'icon-juxing4 disabled',
tips: ''
},
{
name: '仓内作业',
iconfont: 'icon-juxing5',
tips: ''
......@@ -138,6 +128,11 @@ export default {
name: '扫描盘点',
iconfont: 'icon-chakanbeizhu',
tips: ''
},
{
name: '理货确认',
iconfont: 'icon-chakanbeizhu',
tips: ''
}
]
};
......@@ -247,6 +242,10 @@ export default {
uni.navigateTo({
url: '/pages/scanInventory/index'
});
} else if (item.name == '理货确认') {
uni.navigateTo({
url: '/pages/tallyGoods/confirm'
});
} else {
uni.showModal({
title: '提示',
......
<template>
<view class="page-box">
<div class="scanBarcode row rowCenter verCenter">
<text class="iconfont icon-juxing6"></text>
<text class="tt">扫描理货单二维码</text>
</div>
<view class="section">
<view class="warehouse">
<text class="t1">入仓号</text>
<view class="input-wrap row verCenter bothSide">
<view class="row verCenter">
<text class="arrow"></text>
<input type="text" v-model="form.erp_order_sn" class="uni-input" placeholder="请输入入仓号(必填)" placeholder-style="color:#404547;font-weight:bold;" />
</view>
<text class="inspection row rowCenter verCenter">商检</text>
</view>
</view>
<view class="box row verCenter bothSide">
<text class="label">清关费选项</text>
<view class="tab row verCenter">
<view class="tab-panel row rowCenter verCenter" @click="tabChnage(index)" :class="{ curr: currentIndex == index }" v-for="(item, index) in customs_clearance_price_options" :key="index">{{ item }}</view>
</view>
</view>
<view class="box row verCenter">
<text class="label">理货数量</text>
<view class="input-wrap row bothSide verCenter">
<input type="number" v-model="form.box_num" placeholder="请输入" class="uni-input" placeholder-style="color:#404547;font-weight:bold;" />
<text class="text-prompt"></text>
</view>
</view>
<view class="box row verCenter">
<text class="label">理货数量</text>
<view class="input-wrap row bothSide verCenter">
<input type="number" v-model="form.board_num" placeholder="请输入" class="uni-input" placeholder-style="color:#404547;font-weight:bold;" />
<text class="text-prompt"></text>
</view>
</view>
<view class="box row verCenter">
<text class="label">合计毛重</text>
<view class="input-wrap row bothSide verCenter">
<input type="number" v-model="form.gross_weight" placeholder="请输入" class="uni-input" placeholder-style="color:#404547;font-weight:bold;" />
<text class="text-prompt">KG</text>
</view>
</view>
<view class="box row bothSide verCenter">
<text class="label">产地拆分(选填)</text>
<navigator class="input-wrap-width row verCenter" url="/pages/tallyGoods/originSplit" hover-class="none">
<text class="text">请选择</text>
<text class="iconfont icon-sanjiaoxing2"></text>
</navigator>
</view>
<view class="box row bothSide verCenter">
<text class="label">手动合箱(选填)</text>
<navigator class="input-wrap-width row verCenter" url="/pages/tallyGoods/manualMerge" hover-class="none">
<text class="text">请选择</text>
<text class="iconfont icon-sanjiaoxing2"></text>
</navigator>
</view>
</view>
<view class="section">
<view class="upload-box">
<view class="title row bothSide verCenter">
<text class="tt-l">商检图片上传(仅商检必填)</text>
<text class="tt-r">1/3</text>
</view>
<view class="model-upload-list">
<view class="box row bothSide verCenter curr">
<view class="file row verCenter">
<text class="t1">74VCX162244MTDX</text>
<text class="t2">已上传&nbsp;3张</text>
<text class="clear">清空</text>
</view>
<view class="file-btn row verCenter">
<text class="t1">继续上传</text>
<text class="iconfont icon-sanjiaoxing2"></text>
</view>
</view>
<view class="box row bothSide verCenter">
<view class="file row verCenter"><text class="t1">74VCX</text></view>
<view class="file-btn row verCenter">
<text class="t1">上传图片</text>
<text class="iconfont icon-sanjiaoxing2"></text>
</view>
</view>
</view>
</view>
</view>
<view class="section" style="margin-bottom: 48rpx;">
<view class="upload-box">
<view class="title row bothSide verCenter">
<text class="tt-l">采购单上传(选填)</text>
<text class="tt-r">{{ form.pur_pic.length }}/4</text>
</view>
<view class="upload-list row verCenter">
<template v-if="form.pur_pic.length > 0">
<view class="pic-box" v-for="(v, index) in form.pur_pic" :key="index">
<image :src="v" mode="aspectFill" lazy-load="true" @click="previewChange(form.pur_pic, index)"></image>
<view class="delete row rowCenter verCenter" @click="deletePic(index)"><text class="iconfont icon-shanchu"></text></view>
</view>
</template>
<view class="default row rowCenter verCenter" @click="chooseImageChange()" v-if="form.pur_pic.length < 4"><text class="iconfont icon-xingzhuangjiehe"></text></view>
</view>
</view>
</view>
<view class="btn row rowCenter verCenter" @click="submit()">确认提交</view>
</view>
</template>
<script>
import { API } from '@/util/api.js';
import { titleCase } from '@/util/util.js';
import w_md5 from '../../js_sdk/zww-md5/w_md5.js';
export default {
data() {
return {
noexebshowFalg: true, //控制是否会触发生命周期
customs_clearance_price_options: ['无', '有'], //清关费选项
currentIndex: 0,
form: {
erp_order_sn: 'B123456', //入仓号
customs_clearance_price: '', //清关费
box_num: '', //箱子
board_num: '', //板子
gross_weight: '', //合计毛重
detail_json: [], //产地拆分 && 商检图片
fix_erp_order_sn: '', //手动合箱
pur_pic: '' //采购单上传
}
};
},
onLoad(options) {},
methods: {
scanChange() {
this.form.logistics_number = '';
uni.scanCode({
success: res => {
console.log(res);
if (res.errMsg == 'scanCode:ok') {
this.form.logistics_number = res.result;
}
},
fail: function(res) {
console.log(res);
uni.showToast({
title: '扫码失败',
icon: 'error'
});
}
});
},
previewChange(img, index) {
this.noexebshowFalg = false; //不允许再次触发onshow这个生命周期
uni.previewImage({
current: index,
urls: img
});
},
deletePic(index) {
this.form.check_in_pic.splice(index, 1);
},
chooseImageChange() {
this.noexebshowFalg = false; //不允许再次触发onshow这个生命周期
var self = this;
var time = parseInt(new Date().getTime() / 1000);
uni.chooseImage({
count: 4,
sourceType: ['album', 'camera'],
success: chooseImageRes => {
uni.showLoading({
title: '上传中...'
});
const tempFilePaths = chooseImageRes.tempFilePaths;
let maxNum = tempFilePaths.length * 1 + self.form.check_in_pic.length * 1;
if (maxNum > 4) {
uni.hideLoading();
uni.showToast({
title: '图片不超过4张'
});
return false;
}
for (let i = 0; i < tempFilePaths.length; i++) {
console.log(tempFilePaths[i]);
uni.uploadFile({
url: API.upload,
filePath: tempFilePaths[i],
name: 'upload',
formData: {
source: '1',
k1: time,
k2: w_md5.hex_md5_32(w_md5.hex_md5_32(String(time)) + 'fh6y5t4rr351d2c3bryi')
},
success: uploadFileRes => {
uni.hideLoading();
var data = JSON.parse(uploadFileRes.data);
console.log(data);
if (data.code === 200) {
self.form.check_in_pic.push(data.data[0]);
} else {
uni.showToast({
title: data.message,
icon: 'error'
});
}
},
fail: error => {
uni.hideLoading();
console.log(error);
}
});
}
}
});
},
/**
* 清关费选择
* @param {Object} index
*/
tabChnage(index) {
this.currentIndex = index;
this.form.customs_clearance_price = index;
},
/**
* 提交
*/
submit() {
if (!this.form.erp_order_sn) {
uni.showModal({
title: '提示',
content: '请输入入仓号',
showCancel: false
});
return false;
}
this.request(API.addCheckIn, 'POST', this.form, true).then(res => {
if (res.err_code === 0) {
uni.showModal({
title: '提示',
content: res.err_msg,
showCancel: false,
success: res => {
if (res.confirm) {
setTimeout(() => {
uni.navigateBack({
delta: 1
});
}, 2000);
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
} else {
uni.showModal({
title: '提示',
content: res.err_msg,
showCancel: false,
success: res => {
if (res.confirm) {
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
}
});
}
}
};
</script>
<style scoped lang="scss">
@import '../../assets/css/tallyGoods/confirm.scss';
</style>
<template>
<view class="page-box">
<view class="title row bothSide verCenter">
<text class="t1">当前入仓号</text>
<text class="t2">B123456</text>
</view>
<view class="select-split">
<view class="box">
<view class="label row verCenter">
<text class="t1">*</text>
<text class="t2">请选择需要合箱的子箱号</text>
</view>
<view class="pick-list row bothSide verCenter">
<view class="uni-text" @click="open()">请选择</view>
<text class="iconfont icon-sanjiaoxing1"></text>
</view>
<view class="boxed_result row verCenter">
<text class="t1">合箱结果:</text>
<view class="row verCenter">
<text class="t2">B123459</text>
<text class="t3">+</text>
<text class="t2">B123459</text>
<text class="t3">+</text>
<text class="t2">B123459</text>
</view>
</view>
</view>
</view>
<view class="btn row rowCenter verCenter" @click="submit()">确 认</view>
<view class="btn-reset row rowCenter verCenter" @click="submit()">重 置</view>
<uni-popup ref="popup" background-color="#F1F4F6">
<view class="popup-content">
<view class="selected-items row">
<view class="box row verCenter" v-for="(item, index) in 10" :key="index">
<text class="text">B123456</text>
<text class="close">×</text>
</view>
</view>
<view class="search-baar row verCenter">
<text class="iconfont icon-a-riqi11"></text>
<input type="text" class="uni-input" placeholder="请输入箱号" placeholder-style="font-size:26rpx;color:#6E767A;" />
</view>
<view class="data-list">
<view class="box row bothSide verCenter curr" v-for="(item, index) in 30" :key="index">
<text class="text">B0000{{ index }}</text>
<view class="check-ico"></view>
</view>
</view>
<view class="pop-btn row rowCenter verCenter">确 认</view>
</view>
</uni-popup>
</view>
</template>
<script>
import { API } from '@/util/api.js';
export default {
data() {
return {
goods_list_index: -1,
goods_list: ['1-2328702-0', '1-2328701']
};
},
onLoad(options) {},
methods: {
open() {
this.$refs.popup.open('bottom');
},
getData() {
this.request(API.getCheckInList, 'POST', { number: this.id }, this.loading).then(res => {
if (res.err_code === 0) {
this.form.checkIn = res.data[0];
} else {
uni.showToast({
title: res.err_msg,
icon: 'error'
});
}
});
},
submit() {}
}
};
</script>
<style scoped lang="scss">
@import '../../assets/css/tallyGoods/manualMerge.scss';
</style>
<template>
<view class="page-box">
<view class="title row bothSide verCenter">
<text class="t1">入仓号</text>
<text class="t2">B123456</text>
</view>
<view class="select-split">
<view class="box">
<view class="label row verCenter">
<text class="t1">*</text>
<text class="t2">选择需要拆分型号</text>
</view>
<view class="pick-list row bothSide verCenter">
<picker @change="bindPickerChange" :value="goods_list_index" :range="goods_list">
<view class="uni-text">{{ goods_list[goods_list_index] || '请选择型号' }}</view>
</picker>
<text class="iconfont icon-sanjiaoxing1"></text>
</view>
</view>
<view class="box">
<view class="label row verCenter">
<text class="t1">*</text>
<text class="t2">&nbsp;&nbsp;选择拆分数量</text>
</view>
<view class="pick-list row bothSide verCenter">
<picker @change="bindPickerChange" :value="goods_list_index" :range="goods_list">
<view class="uni-text">{{ goods_list[goods_list_index] || '请选择拆分数量' }}</view>
</picker>
<text class="iconfont icon-sanjiaoxing1"></text>
</view>
</view>
</view>
<view class="text-details">
<view class="text-row row verCenter bothSide" style="margin-bottom: 20rpx;">
<view class="left">
<text class="t1">原产国家:</text>
<text class="t2">美国</text>
</view>
<view class="right"></view>
</view>
<view class="text-row row verCenter bothSide">
<view class="left">
<text class="t1">订单数量:</text>
<text class="t2">1000</text>
</view>
<view class="right">
<text class="t1">剩余拆分:</text>
<text class="t2">10,000</text>
</view>
</view>
</view>
<view class="select-split-detail">
<view class="box">
<view class="label">产地拆分1</view>
<view class="pick-list row bothSide verCenter">
<view class="wrap row verCenter">
<picker @change="bindPickerChange" :value="goods_list_index" :range="goods_list">
<view class="uni-text">{{ goods_list[goods_list_index] || '请选择国家地区' }}</view>
</picker>
<text class="iconfont icon-sanjiaoxing1"></text>
</view>
<view class="input-wrap"><input type="number" inputmode="numeric" placeholder="请输入拆分数量" class="uni-input" placeholder-style="color:#404547;font-weight:bold;" /></view>
</view>
</view>
<view class="box">
<view class="label">产地拆分2</view>
<view class="pick-list row bothSide verCenter">
<view class="wrap row verCenter">
<picker @change="bindPickerChange" :value="goods_list_index" :range="goods_list">
<view class="uni-text">{{ goods_list[goods_list_index] || '请选择国家地区' }}</view>
</picker>
<text class="iconfont icon-sanjiaoxing1"></text>
</view>
<view class="input-wrap"><input type="number" inputmode="numeric" placeholder="请输入拆分数量" class="uni-input" placeholder-style="color:#404547;font-weight:bold;" /></view>
</view>
</view>
</view>
<view class="btn row rowCenter verCenter" @click="submit()">确认拆分</view>
</view>
</template>
<script>
import { API } from '@/util/api.js';
export default {
data() {
return {
goods_list_index: -1,
goods_list: ['1-2328702-0', '1-2328701']
};
},
onLoad(options) {},
methods: {
bindPickerChange: function(e) {
console.log('picker发送选择改变,携带值为', e.target.value);
this.index = e.target.value;
this.form.logistics_company = this.array[e.target.value];
},
getData() {
this.request(API.getCheckInList, 'POST', { number: this.id }, this.loading).then(res => {
if (res.err_code === 0) {
this.form.checkIn = res.data[0];
} else {
uni.showToast({
title: res.err_msg,
icon: 'error'
});
}
});
},
submit() {}
}
};
</script>
<style scoped lang="scss">
@import '../../assets/css/tallyGoods/originSplit.scss';
</style>
const API_BASE = 'https://api.ichunt.com';
//const API_BASE = 'http://api.liexin.com';
//const API_BASE = 'https://api.ichunt.com';
const API_BASE = 'http://api.liexin.com';
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