Kaynağa Gözat

移库任务-下架按钮调整

zhaohuanhuan 8 ay önce
ebeveyn
işleme
5c40ec7152
1 değiştirilmiş dosya ile 12 ekleme ve 2 silme
  1. 12 2
      src/views/transfer/move/down/index.vue

+ 12 - 2
src/views/transfer/move/down/index.vue

@@ -99,7 +99,8 @@
               </div>
               </div>
             </div>
             </div>
             <div class="take-button">
             <div class="take-button">
-              <van-button type="primary" size="large"  style="height: 36px"  @click="onConfirm"  >下架</van-button>
+              <div class="button-text"  @click="onConfirm">下架</div>
+<!--              <van-button type="primary" size="large"  style="height: 36px"  @click.once="onConfirm"  >下架</van-button>-->
             </div>
             </div>
           </div>
           </div>
           <van-divider :style="{ color: '#333', borderColor: '#1989fa', padding: '0 16px',margin:'5px 0' }">待移出列表
           <van-divider :style="{ color: '#333', borderColor: '#1989fa', padding: '0 16px',margin:'5px 0' }">待移出列表
@@ -257,6 +258,7 @@ const _handlerScan = async (code) => {
   }
   }
 }
 }
 const onConfirm=()=>{
 const onConfirm=()=>{
+  console.log(1111)
   if(!activeBarcode.value.id ){
   if(!activeBarcode.value.id ){
     scanError()
     scanError()
     tips.value='请扫描商品条码'
     tips.value='请扫描商品条码'
@@ -440,7 +442,15 @@ window.onRefresh = loadData
 
 
         .take-button
         .take-button
           padding: 10px 20px 0 20px
           padding: 10px 20px 0 20px
-
+          .button-text
+            background: #1989fa
+            color: #ffffff
+            height: 36px
+            width: 100%
+            border-radius: 5px
+            font-size: 16px
+            font-weight: bold
+            line-height: 36px
         .move-stock-list
         .move-stock-list
           width: 100%
           width: 100%
           overflow-y: auto
           overflow-y: auto