Commit 964be966 by LJM

css

parent 900dbde3
...@@ -287,6 +287,7 @@ export default { ...@@ -287,6 +287,7 @@ export default {
this.searchParams.container_name = res.data.container_sn; this.searchParams.container_name = res.data.container_sn;
this.searchParams.container_id = res.data.id; this.searchParams.container_id = res.data.id;
this.formParams.container_id = res.data.id; this.formParams.container_id = res.data.id;
this.is_submit = true;
} else { } else {
uni.showToast({ uni.showToast({
title: res.msg, title: res.msg,
......
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<view class="pick-box"> <view class="pick-box">
<picker @change="bindPickerChange($event, 1)" :value="useOptionIndex" :range="useOption" :range-key="'country_cn'"> <picker @change="bindPickerChange($event, 1)" :value="useOptionIndex" :range="useOption" :range-key="'country_cn'">
<view class="row verCenter"> <view class="row verCenter">
<view class="uni-input">{{ useOptionIndex == -1 ? '请选择' : useOption[index].country_cn }}</view> <view class="uni-input">{{ useOptionIndex == -1 ? '请选择' : useOption[useOptionIndex].country_cn }}</view>
<view class="uni-arrow"></view> <view class="uni-arrow"></view>
</view> </view>
</picker> </picker>
...@@ -238,6 +238,7 @@ export default { ...@@ -238,6 +238,7 @@ export default {
console.log('picker发送选择改变,携带值为', e.detail.value); console.log('picker发送选择改变,携带值为', e.detail.value);
if (type == 1) { if (type == 1) {
this.useOptionIndex = e.detail.value; this.useOptionIndex = e.detail.value;
this.formParams.coo = this.useOption[e.detail.value].coo_en;
} else { } else {
this.index = e.detail.value; this.index = e.detail.value;
} }
...@@ -299,6 +300,7 @@ export default { ...@@ -299,6 +300,7 @@ export default {
createTallyContainer() { createTallyContainer() {
this.request(API.createTallyContainer, 'GET', {}, false).then(res => { this.request(API.createTallyContainer, 'GET', {}, false).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.is_submit = true;
this.searchParams.container_name = res.data.container_sn; this.searchParams.container_name = res.data.container_sn;
this.searchParams.container_id = res.data.id; this.searchParams.container_id = res.data.id;
} else { } else {
......
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