yyb
15 小时以前 48ea71d330920dac9c3ff84585a7ef0c413fce50
pages/wareHouse/nuclearScale/saveForm.vue
@@ -99,22 +99,22 @@
              <u-input class="item-one item-two" v-model="form.forkliftWeight" />
            </view>
          </view>
          <view class="packing-registration-param-item param-extra">
          <!-- <view class="packing-registration-param-item param-extra">
            <view class="packing-registration-param-item-left">
              <text class="item-one">长度</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input class="item-one item-two" v-model="form.originalLength" disabled />
            </view>
          </view>
          <view class="packing-registration-param-item param-extra">
          </view> -->
          <!-- <view class="packing-registration-param-item param-extra">
            <view class="packing-registration-param-item-left">
              <text class="item-one">盘号</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input class="item-one item-two" v-model="form.palletNo" disabled />
            </view>
          </view>
          </view> -->
        </view>
      </scroll-view>
    </view>
@@ -133,7 +133,9 @@
  data() {
    return {
      show: false,
      form: {},
      form: {
        forkliftWeight: '0',
      },
    };
  },
  methods: {
@@ -293,7 +295,10 @@
    },
    open(val) {
      this.show = true;
      this.form = val;
    this.form = {
      ...val,
      forkliftWeight: val.forkliftWeight !== undefined ? val.forkliftWeight : 0
    };
    },
  },
};