shish 1 年之前
父節點
當前提交
81e772478d
共有 1 個文件被更改,包括 23 次插入5 次删除
  1. 23 5
      ghsApp/src/admin/shop/print.vue

+ 23 - 5
ghsApp/src/admin/shop/print.vue

@@ -13,7 +13,8 @@
             <view class="tui-title">小票机密钥:</view>
             <view class="tui-title">小票机密钥:</view>
             <input v-model="form.printKey" @focus="form.printKey=''" placeholder-class="phcolor" class="tui-input" name="printKey" placeholder="请填写密钥,KEY码" maxlength="50" type="text" />
             <input v-model="form.printKey" @focus="form.printKey=''" placeholder-class="phcolor" class="tui-input" name="printKey" placeholder="请填写密钥,KEY码" maxlength="50" type="text" />
           </tui-list-cell>
           </tui-list-cell>
-<view style="margin-top:50upx;">
+
+<view style="margin-top:40upx;">
           <tui-list-cell class="line-cell" :hover="false">
           <tui-list-cell class="line-cell" :hover="false">
             <view class="tui-title">标签机编号:</view>
             <view class="tui-title">标签机编号:</view>
             <input v-model="form.printLabelSn" @focus="form.printLabelSn=''" placeholder-class="phcolor" class="tui-input" name="printLabelSn" placeholder="请填写编号,SN码" maxlength="50" type="number" />
             <input v-model="form.printLabelSn" @focus="form.printLabelSn=''" placeholder-class="phcolor" class="tui-input" name="printLabelSn" placeholder="请填写编号,SN码" maxlength="50" type="number" />
@@ -24,6 +25,19 @@
             <input v-model="form.printLabelKey" @focus="form.printLabelKey=''" placeholder-class="phcolor" class="tui-input" name="printLabelKey" placeholder="请填写密钥,KEY码" maxlength="50" type="text" />
             <input v-model="form.printLabelKey" @focus="form.printLabelKey=''" placeholder-class="phcolor" class="tui-input" name="printLabelKey" placeholder="请填写密钥,KEY码" maxlength="50" type="text" />
           </tui-list-cell>
           </tui-list-cell>
 </view>
 </view>
+
+<view style="margin-top:40upx;">
+          <tui-list-cell class="line-cell" :hover="false">
+            <view class="tui-title">物流标签编号:</view>
+            <input v-model="form.wlLabelSn" @focus="form.wlLabelSn=''" placeholder-class="phcolor" class="tui-input" name="wlLabelSn" placeholder="请填写编号,SN码" maxlength="50" type="number" />
+          </tui-list-cell>
+
+          <tui-list-cell class="line-cell" :hover="false">
+            <view class="tui-title">物流标签密钥:</view>
+            <input v-model="form.wlLabelKey" @focus="form.wlLabelKey=''" placeholder-class="phcolor" class="tui-input" name="wlLabelKey" placeholder="请填写密钥,KEY码" maxlength="50" type="text" />
+          </tui-list-cell>
+</view>
+
         </view>
         </view>
 
 
         <view class="confirm-btn">
         <view class="confirm-btn">
@@ -34,15 +48,15 @@
         <view style="padding-left:40upx;margin-top:50upx;font-size:32upx;">
         <view style="padding-left:40upx;margin-top:50upx;font-size:32upx;">
 
 
           <view>
           <view>
-            <view style="font-weight:bold;">支持小票机:</view>
+            <view style="font-weight:bold;">小票机暂时只支持:</view>
             <view style="margin-top:10upx;">飞鹅小票机 4G 带切刀(自动切纸)</view>
             <view style="margin-top:10upx;">飞鹅小票机 4G 带切刀(自动切纸)</view>
             <view style="margin-top:10upx;">热敏打印纸 57x50</view>
             <view style="margin-top:10upx;">热敏打印纸 57x50</view>
           </view>
           </view>
 
 
           <view style="margin-top:50upx;">
           <view style="margin-top:50upx;">
-            <view style="font-weight:bold;">支持标签机:</view>
+            <view style="font-weight:bold;">标签机暂时只支持:</view>
             <view style="margin-top:10upx;">飞鹅标签打印机 4G</view>
             <view style="margin-top:10upx;">飞鹅标签打印机 4G</view>
-            <view style="margin-top:10upx;">热敏标签纸 50x40</view>
+            <view style="margin-top:10upx;">热敏标签纸 50x40,物流用的标签纸是 100x60</view>
           </view>
           </view>
 
 
           <view style="margin-top:50upx;">
           <view style="margin-top:50upx;">
@@ -73,7 +87,9 @@ export default {
         printKey: "",
         printKey: "",
         printSn: "",
         printSn: "",
         printLabelSn:"",
         printLabelSn:"",
-        printLabelKey:""
+        printLabelKey:"",
+        wlLabelSn:"",
+        wlLabelKey:"",
       },
       },
       roleList: [],
       roleList: [],
       roleSelData: {},
       roleSelData: {},
@@ -88,6 +104,8 @@ export default {
         this.form.printSn = data.printSn
         this.form.printSn = data.printSn
         this.form.printLabelKey = data.printLabelKey
         this.form.printLabelKey = data.printLabelKey
         this.form.printLabelSn = data.printLabelSn
         this.form.printLabelSn = data.printLabelSn
+        this.form.wlLabelKey = data.wlLabelKey
+        this.form.wlLabelSn = data.wlLabelSn
         this.$forceUpdate()
         this.$forceUpdate()
     },
     },
     confirmFn() {
     confirmFn() {