#
whycq
2023-02-07 c8f27ab24d4d6db0cc452396f140143e6c7f67f2
pages/basics/putOnSale.vue
@@ -89,7 +89,11 @@
         <view class="revise-box">
            <view class="revise-box-top">
               <view class="color-block-blue"></view>
               <text class="title">修改数量</text>
               <text class="title">修改批号/数量</text>
            </view>
            <view class="" style="position: relative;left: 50px;margin-bottom: 20px;">
               <text style="display: inline-block;float: left;width: 50px;">批号:</text>
               <input type="text" style="width: 100px;border-bottom: 1px solid #9e9e9e;" v-model="batch">
            </view>
            <view class="changeBox">
               <view class="num-box">
@@ -121,6 +125,7 @@
            messageText: '这是一条成功提示',
            count:'',
            rowNum:'',
            batch:''
         }
      },
      mounted(){
@@ -270,6 +275,7 @@
         },
         confirm() {
            this.matList[this.rowNum].anfme = this.count
            this.matList[this.rowNum].batch = this.batch
            this.$refs.revise.close()
            this.$forceUpdate() // 强制刷新
         },
@@ -291,4 +297,34 @@
      border-radius: 20rpx 20rpx 0 0 ;
      z-index: 1;
   }
   .revise-box {
      position: relative;
      width: 500rpx;
      height: 400rpx;
      border-radius: 25px;
   }
   .revise-box-top {
      width: 400rpx;
      height: 120rpx;
      border-radius: 25px;
   }
   .color-block-blue {
      background-color: #1E9FFF;
      display: inline-block;
      float: left;
      margin: 15rpx 15rpx 0 15rpx;
      width: 12rpx;
      height: 40rpx;
      border: 5rpx solid #1E9FFF;
      border-radius: 20rpx;
   }
   .title {
      display: inline-block;
      float: left;
      font-size: 34rpx;
      font-weight: 700;
      height: 50rpx;
      line-height: 50rpx;
      margin-top: 10rpx;
   }
</style>