123
zhang
2025-06-07 b79425dae011de5edcf8885f0cfb4c04bb84831f
pages/basics/matQuery.vue
@@ -3,26 +3,35 @@
      <view>
         <view class="container">
            <view class="text-box">
               <view class="text-title"><text>商品编码</text></view>
               <view class="text-title"><text>品号</text></view>
               <view class="text-title"><text>{{matData.matnr}}</text></view>
            </view>
            <view class="text-box">
               <view class="text-title"><text>商品名称</text></view>
               <view class="text-title"><text>品名</text></view>
               <view class="text-title">{{matData.maktx}}</view>
            </view>
            <view class="text-box">
               <view class="text-title"><text>规格</text></view>
               <view class="text-title">{{matData.specs}}</view>
            </view>
            <!-- <view class="text-box">
               <view class="text-title"><text>工序</text></view>
               <view class="text-title">{{matData.sku}}</view>
            </view> -->
            <view class="text-box">
               <view class="text-title"><text>合同号</text></view>
               <view class="text-title"><text>批次</text></view>
               <view class="text-title"><input type="text" v-model="matData.batch"></view>
            </view>
            <!-- <view class="text-box">
               <view class="text-title"><text>备注</text></view>
               <view class="text-title"><input type="text" v-model="matData.memo"></view>
            </view> -->
            <view class="text-box">
               <view class="text-title"><text>数量</text></view>
               <view class="text-title"><text>主数量</text></view>
               <view class="text-title">
                  <view>
                     <uni-number-box :value="matData.anfme" :max="9999" color="#747474" @change="changeValue"/>
                     <uni-number-box v-model="matData.anfme" :value="matData.anfme" :max="99999999" color="#747474" @change="changeValue"/>
                  </view>
               </view>
            </view>
@@ -45,6 +54,7 @@
               maktx: null,
               batch: null,
               anfme: null,
               anfme2: null,
            },
            baseIP:'',
            basePORT:'',
@@ -62,7 +72,6 @@
         // 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据
         eventChannel.on('matData', function(data) {
         that.matData = data.data
         that.matData.anfme = 0
         })