#
zjj
2023-12-14 7947d8e88bbfa1bc434213324c38fad83005a50b
pages/mat/matSelected.vue
@@ -14,6 +14,10 @@
            <view class="form-item-content"><text>{{mat.specs}}</text></view>
         </view>
         <view class="form-item">
            <view class="form-item-desc"><text>产地</text></view>
            <view class="form-item-content"><text>{{mat.origin}}</text></view>
         </view>
         <view class="form-item">
            <view class="form-item-desc"><text>批号</text></view>
            <view class="form-item-content">
               <view class="form-input">
@@ -22,9 +26,9 @@
            </view>
         </view>
         <view class="form-item">
            <view class="form-item-desc"><text>数量</text></view>
            <view class="form-item-desc"><text>公斤</text></view>
            <view class="form-item-content">
               <uni-number-box :value="mat.anfme" :max="99999999" :step='1' color="#747474" @change="changeValue" />
               <uni-number-box :value="mat.anfme" :max="99999999" :step='0.01' color="#747474" @change="changeValue" />
            </view>
         </view>
      </view>
@@ -78,7 +82,6 @@
            this.mat.anfme = value
         },
         back() {
            console.log(this.mat);
            if (this.mat.anfme === 0) {
               uni.showToast({title: '请输入数量', icon: "none", position: 'top'});
               return;