Explorar o código

修改按钮的显示

695593266@qq.com hai 1 mes
pai
achega
ef0e3fa095
Modificáronse 2 ficheiros con 18 adicións e 12 borrados
  1. 1 1
      manifest.json
  2. 17 11
      pages/pda/picking/details.vue

+ 1 - 1
manifest.json

@@ -2,7 +2,7 @@
     "name" : "智慧工厂",
     "appid" : "__UNI__45B3907",
     "description" : "",
-    "versionName" : "V1.0.3.66",
+    "versionName" : "V1.0.3.70",
     "versionCode" : "100",
     "transformPx" : false,
     "h5" : {

+ 17 - 11
pages/pda/picking/details.vue

@@ -29,15 +29,12 @@
               <view class="serial-num">{{ index + 1 }}</view>
               <text class="order-code">工单编号:{{ item.code }}</text>
             </view>
-            <view class="header-right" v-if="clientEnvironmentId !== 9">
-              <u-button
-                type="success"
-                size="mini"
-                class="add-btn"
-                v-if="isOutsource == 0"
-                @click="addPicking(item.workOrderId, item)"
-                text="添加物料"
-              ></u-button>
+            <view
+              class="header-right"
+              v-if="clientEnvironmentId !== 9 && isOutsource == 0"
+              @click.stop="addPicking(item.workOrderId, item)"
+            >
+              <view class="add-btn-native">添加物料</view>
             </view>
           </view>
 
@@ -965,9 +962,18 @@ export default {
     margin-left: 16rpx;
   }
 
-  .add-btn {
+  .add-btn-native {
+    display: inline-flex;
+    align-items: center;
+    justify-content: center;
+    min-width: 180rpx;
+    height: 64rpx;
+    padding: 0 28rpx;
+    background-color: $theme-color;
+    color: #fff;
+    font-size: 26rpx;
     border-radius: 32rpx;
-    min-width: 150rpx;
+    white-space: nowrap;
   }
 }