Commit 2579f01f by LJM

移动端标签补打调整

parent 1a9a1b1c
Showing with 27 additions and 1 deletions
...@@ -49,7 +49,8 @@ ...@@ -49,7 +49,8 @@
<text class="iconfont icon-a-juxing11" v-if="false"></text> <text class="iconfont icon-a-juxing11" v-if="false"></text>
</view> </view>
</view> </view>
<view class="search-box row bothSide verCenter" style="margin-bottom: 22rpx;"> <!-- 标签版本 -->
<view class="search-box row bothSide verCenter" style="margin-bottom: 22rpx;" v-if="warehouse_index == 0">
<view class="sn row rowCenter verCenter"> <view class="sn row rowCenter verCenter">
<view> <view>
<view class="row verCenter"> <view class="row verCenter">
...@@ -66,6 +67,24 @@ ...@@ -66,6 +67,24 @@
</picker> </picker>
</view> </view>
</view> </view>
<!-- 打印货品标签 -->
<view class="search-box row bothSide verCenter" style="margin-bottom: 22rpx;" v-if="warehouse_index == 1">
<view class="sn row rowCenter verCenter">
<view>
<view class="row verCenter">
<view class="uni-input">打印货品标签</view>
</view>
</view>
</view>
<view class="row bothSide verCenter select-wrap">
<picker @change="bindPickerChange($event, 3)" :value="print_type_index" :range="print_type" style="width: 100%;">
<view class="row verCenter bothSide">
<view class="uni-input">{{ print_type_index == -1 ? '请选择货品标签' : print_type[print_type_index] }}</view>
<view class="uni-arrow"></view>
</view>
</picker>
</view>
</view>
<view class="search-box row bothSide verCenter" style="margin-bottom: 22rpx;"> <view class="search-box row bothSide verCenter" style="margin-bottom: 22rpx;">
<view class="sn row rowCenter verCenter"> <view class="sn row rowCenter verCenter">
<view> <view>
...@@ -100,6 +119,8 @@ ...@@ -100,6 +119,8 @@
index: 0, index: 0,
print_language_index: 0, print_language_index: 0,
print_language: ['中文', '英文'], print_language: ['中文', '英文'],
print_type: ['基本样式', '不带D/C'],
print_type_index: 0,
labelStyles: [{ labelStyles: [{
id: 5, id: 5,
name: '入库标签' name: '入库标签'
...@@ -184,8 +205,13 @@ ...@@ -184,8 +205,13 @@
this.print_language_index = e.detail.value; this.print_language_index = e.detail.value;
this.formParams.print_language = Number(e.detail.value) + 1; this.formParams.print_language = Number(e.detail.value) + 1;
} else if (type == 2) { } else if (type == 2) {
//仓库
this.warehouse_index = e.detail.value; this.warehouse_index = e.detail.value;
this.formParams.warehouse_id = this.warehouse_arr[e.detail.value].value; this.formParams.warehouse_id = this.warehouse_arr[e.detail.value].value;
} else if (type == 3) {
//打印货品标签
this.print_type_index = e.detail.value;
this.formParams.print_type = Number(e.detail.value) + 1;
} else { } else {
this.index = e.detail.value; this.index = e.detail.value;
this.formParams.type = this.labelStyles[e.detail.value].id; this.formParams.type = this.labelStyles[e.detail.value].id;
......
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