#
whycq
2024-11-19 80236f6445e1b4f4c32dc7d6b015359dec82a5f7
pages/warehouse/orderList.vue
File was renamed from pages/order/orderList.vue
@@ -16,10 +16,10 @@
       </uni-nav-bar>
      <!-- 搜索框 -->
      <view class="search-bar">
         <uni-search-bar v-model="orderNo" placeholder=" 输入订单号" bgColor="#EEEEEE" @input="search" />
         <uni-search-bar v-model="orderNo" placeholder=" 输入订单号" bgColor="#EEEEEE" @confirm="search" />
      </view>
      <view class="card" v-for="item in menuList" @click="chose(item)">
         {{item}}
         {{item.orderNo}}
      </view>
   </view>
</template>
@@ -70,9 +70,10 @@
            let that = this
            uni.request({
               url: this.baseUrl + '/outOrder/list/all',
               data: that.orderNo,
               data: {orderNo:that.orderNo},
               header: {
                  'token': uni.getStorageSync('token')
                  'token': uni.getStorageSync('token'),
                  'content-type': 'application/x-www-form-urlencoded; charset=UTF-8'
               },
               method: 'POST',
               success(res) {
@@ -84,7 +85,7 @@
         chose(item) {
            let that = this
            uni.navigateTo({
               url: "./orderDetlList",
               url: "./outLocs",
               success: function(res) {
                  // 通过eventChannel向被打开页面传送数据   向另外一个页面传递值的
                  res.eventChannel.emit('order', {