Browse Source

修复按合同号不显示列表

myd
13208366016 1 year ago
parent
commit
a94c085d22
  1. 4
      config/host.js
  2. 12
      pages.json
  3. 18
      pagesTask/pages/contracts/contracts.vue

4
config/host.js

@ -12,9 +12,9 @@
// tjj // tjj
// const devhost = 'http://192.168.10.29:13000/' // const devhost = 'http://192.168.10.29:13000/'
// cyz // cyz
// const devhost = 'http://192.168.10.75:8777/' const devhost = 'http://192.168.10.75:8777/'
// 正式 // 正式
const devhost = 'http://h5uapi.huitongys.com/' // const devhost = 'http://h5uapi.huitongys.com/'
// cg // cg
// const devhost='http://192.168.10.200:8888/' // const devhost='http://192.168.10.200:8888/'
/** /**

12
pages.json

@ -1272,12 +1272,12 @@
// "selectedIconPath": "/static/TabberIcon/icon3check.png", // "selectedIconPath": "/static/TabberIcon/icon3check.png",
// "text": "报表" // "text": "报表"
// }, // },
// { {
// "pagePath": "pages/news/news", "pagePath": "pages/news/news",
// "iconPath": "/static/TabberIcon/icon4.png", "iconPath": "/static/TabberIcon/icon4.png",
// "selectedIconPath": "/static/TabberIcon/icon4check.png", "selectedIconPath": "/static/TabberIcon/icon4check.png",
// "text": "消息" "text": "消息"
// }, },
{ {
"pagePath": "pages/user/user", "pagePath": "pages/user/user",
"iconPath": "/static/TabberIcon/icon5.png", "iconPath": "/static/TabberIcon/icon5.png",

18
pagesTask/pages/contracts/contracts.vue

@ -72,9 +72,6 @@
</template> </template>
</view> </view>
</view> </view>
</template>
<template>
<!-- 列表 --> <!-- 列表 -->
<scroll-view class="scvmabx" @scrolltolower="reachBottomInitPage" scroll-y="true" @touchmove.stop> <scroll-view class="scvmabx" @scrolltolower="reachBottomInitPage" scroll-y="true" @touchmove.stop>
<!-- 按库位盘点 --> <!-- 按库位盘点 -->
@ -89,7 +86,7 @@
</image> </image>
</template> </template>
</view> </view>
<!-- 定制品 --> <!-- 定制品 -->
<template v-if="stock.isInventory !== 1 && zero.isZero !== 1"> <template v-if="stock.isInventory !== 1 && zero.isZero !== 1">
<!-- <view class="table_article"> <!-- <view class="table_article">
@ -100,7 +97,7 @@
<view class="">状态</view> <view class="">状态</view>
<view class="">操作</view> <view class="">操作</view>
</view> </view>
<view class="table_body"> <view class="table_body">
<view>{{item.orderPackageCode}}</view> <view>{{item.orderPackageCode}}</view>
<view>{{item.orderCode}}</view> <view>{{item.orderCode}}</view>
@ -130,7 +127,7 @@
<image src="/pagesHome/static/kuweiicon.png"></image> <image src="/pagesHome/static/kuweiicon.png"></image>
<view>合同号{{item.orderCode}}</view> <view>合同号{{item.orderCode}}</view>
</view> </view>
<view class="tpbx"> <view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image> <image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位{{item.allocation}}</view> <view>库位{{item.allocation}}</view>
@ -141,7 +138,7 @@
</view> </view>
</view> </view>
</template> </template>
<!-- 零担 --> <!-- 零担 -->
<template v-else-if="zero.isZero === 1"> <template v-else-if="zero.isZero === 1">
<view class="rightMsg"> <view class="rightMsg">
@ -176,7 +173,7 @@
</view> </view>
</view> </view>
</template> </template>
<!-- 库存品 --> <!-- 库存品 -->
<template v-else> <template v-else>
<view class="rightMsg"> <view class="rightMsg">
@ -189,7 +186,7 @@
<text class="button" @click="upDataItem(item)">上架</text> <text class="button" @click="upDataItem(item)">上架</text>
</view> </view>
</view> </view>
<view class="tpbx"> <view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image> <image src="/pagesHome/static/kuweiicon.png"></image>
<view>合同号{{item.orderCode}}</view> <view>合同号{{item.orderCode}}</view>
@ -220,8 +217,6 @@
</template> </template>
</scroll-view> </scroll-view>
</template> </template>
</BasicContainer> </BasicContainer>
<!-- 提交 --> <!-- 提交 -->
<button @click="submitCheck" class="submitButton" type="primary">提交盘点</button> <button @click="submitCheck" class="submitButton" type="primary">提交盘点</button>
@ -463,6 +458,7 @@
// //
function Tjinfo() { function Tjinfo() {
console.log(infos.value.orderCode,'infos.value.orderCode');
const FormData = { const FormData = {
warehouseId: infos.value.warehouseId, warehouseId: infos.value.warehouseId,
taskId: infos.value.taskId, taskId: infos.value.taskId,

Loading…
Cancel
Save