shish 4 năm trước cách đây
mục cha
commit
c5215d4d90
2 tập tin đã thay đổi với 8 bổ sung8 xóa
  1. 4 4
      ghsApp/src/admin/shop/print.vue
  2. 4 4
      hdApp/src/admin/shop/print.vue

+ 4 - 4
ghsApp/src/admin/shop/print.vue

@@ -6,22 +6,22 @@
           
           <tui-list-cell class="line-cell" :hover="false">
             <view class="tui-title">小票机编号:</view>
-            <input v-model="form.printSn" placeholder-class="phcolor" class="tui-input" name="printSn" placeholder="请填写编号,SN码" maxlength="50" type="number" />
+            <input v-model="form.printSn" @focus="form.printSn=''" placeholder-class="phcolor" class="tui-input" name="printSn" 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.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 class="line-cell" :hover="false">
             <view class="tui-title">条码机编号:</view>
-            <input v-model="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" />
           </tui-list-cell>
 
           <tui-list-cell class="line-cell" :hover="false">
             <view class="tui-title">条码机密钥:</view>
-            <input v-model="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>
 
         </view>

+ 4 - 4
hdApp/src/admin/shop/print.vue

@@ -6,22 +6,22 @@
 
           <tui-list-cell class="line-cell" :hover="false">
             <view class="tui-title">小票机编号:</view>
-            <input v-model="form.printSn" placeholder-class="phcolor" class="tui-input" name="printSn" placeholder="请填写编号,SN码" maxlength="50" type="number" />
+            <input v-model="form.printSn" @focus="form.printSn=''" placeholder-class="phcolor" class="tui-input" name="printSn" 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.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 class="line-cell" :hover="false">
             <view class="tui-title">条码机编号:</view>
-            <input v-model="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" />
           </tui-list-cell>
 
           <tui-list-cell class="line-cell" :hover="false">
             <view class="tui-title">条码机密钥:</view>
-            <input v-model="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>
 
         </view>