ex_warehouse_detail.vue 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. <template>
  2. <view class="container">
  3. <view class="center">
  4. <view class="title_b ">发运信息</view>
  5. <view class="c-row ">
  6. <text class="tit">合同编号</text>
  7. <view class="con-list">
  8. <text>{{WarehouseInOutInfo.contractNo}}</text>
  9. </view>
  10. </view>
  11. <view class="c-row ">
  12. <text class="tit">收货方</text>
  13. <view class="con-list">
  14. <text>{{WarehouseInOutInfo.consignee}}</text>
  15. </view>
  16. </view>
  17. <view class="c-row ">
  18. <text class="tit">货名</text>
  19. <view class="con-list">
  20. <text>{{WarehouseInOutInfo.goodsName}}</text>
  21. </view>
  22. </view>
  23. <view class="c-row ">
  24. <text class="tit">车牌号</text>
  25. <view class="con-list">
  26. <text>{{WarehouseInOutInfo.carNo}} ({{WarehouseInOutInfo.tranCarNo}})</text>
  27. </view>
  28. </view>
  29. <view class="c-row ">
  30. <text class="tit">箱号</text>
  31. <view class="con-list">
  32. <text>{{WarehouseInOutInfo.boxNo}}</text>
  33. </view>
  34. </view>
  35. <view class="c-row ">
  36. <text class="tit">封号</text>
  37. <view class="con-list">
  38. <text>{{WarehouseInOutInfo.titleNo}}</text>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="center">
  43. <view class="title_c ">出库信息</view>
  44. <view class="c-list">
  45. <view class="c-row b-b">
  46. <text class="tit">毛重(吨)</text>
  47. <view style="color: #ff0000; padding-left: 10rpx;">*</view>
  48. <view class="con-list">
  49. {{WarehouseInOutInfo.grossWeight}}
  50. </view>
  51. </view>
  52. <view class="c-row b-b">
  53. <view class="tit">皮重(吨)</view>
  54. <view style="color: #ff0000; padding-left: 10rpx;">*</view>
  55. <view class="con-list">
  56. {{WarehouseInOutInfo.tare}}
  57. </view>
  58. </view>
  59. <view class="c-row b-b">
  60. <text class="tit">净重(吨)</text>
  61. <view class="con-list">
  62. <text>{{WarehouseInOutInfo.netWeight}}</text>
  63. </view>
  64. </view>
  65. <view class="c-row b-b">
  66. <text class="tit">仓库</text>
  67. <view style="color: #ff0000; padding-left: 10rpx;">*</view>
  68. <view class="con-list">
  69. <view>
  70. {{WarehouseInOutInfo.warehouseName}}
  71. </view>
  72. </view>
  73. </view>
  74. <view class="c-row b-b">
  75. <view class="title">仓位号</view>
  76. <view style="color: #ff0000; padding-left: 10rpx;">*</view>
  77. <view class="con-list">
  78. {{WarehouseInOutInfo.binNumber}}
  79. </view>
  80. </view>
  81. <view class="c-row b-b">
  82. <text class="tit">出库类型 </text>
  83. <view class="con-list">
  84. {{WarehouseInOutInfo.inOutType}}
  85. </view>
  86. </view>
  87. <view class="c-row b-b">
  88. <text class="tit">出库日期</text>
  89. <view class="con-list" @click="show = true">
  90. <text>{{WarehouseInOutInfo.inOutDate}}</text>
  91. </view>
  92. </view>
  93. <view class="c-row ">
  94. <text class="tit">磅单照片</text>
  95. </view>
  96. <view style="width: 90px;height: 90px; margin-left: 16px;" >
  97. <image v-bind:src="WarehouseInOutInfo.addressUrl" mode="" class="picture"></image>
  98. </view>
  99. </view>
  100. <view class="center">
  101. <view class="title_c ">化验信息</view>
  102. <view class="c-list">
  103. <view class="c-row b-b">
  104. <view class="title">质检员</view>
  105. <view class="con-list">
  106. {{WarehouseInOutInfo.warehouseInOutDetail.qualityInspector}}
  107. </view>
  108. </view>
  109. <view class="c-row b-b">
  110. <view class="title">蛋白(%)>=</view>
  111. <view class="con-list">
  112. {{WarehouseInOutInfo.warehouseInOutDetail.protein}}
  113. </view>
  114. </view>
  115. <view class="c-row b-b">
  116. <view class="title">水分(%)<= </view>
  117. <view class="con-list">
  118. {{WarehouseInOutInfo.warehouseInOutDetail.waterContent}}
  119. </view>
  120. </view>
  121. <view class="c-row b-b">
  122. <view class="title">容重(克/升)>= </view>
  123. <view class="con-list">
  124. {{WarehouseInOutInfo.warehouseInOutDetail.bulkDensity}}
  125. </view>
  126. </view>
  127. <view class="c-row b-b">
  128. <view class="title">热损伤(%)<= </view>
  129. <view class="con-list">
  130. {{WarehouseInOutInfo.warehouseInOutDetail.jiaorenli}}
  131. </view>
  132. </view>
  133. <view class="c-row b-b">
  134. <view class="title">杂质(%)<= </view>
  135. <view class="con-list">
  136. {{WarehouseInOutInfo.warehouseInOutDetail.impurity}}
  137. </view>
  138. </view>
  139. <view class="c-row b-b">
  140. <view class="title">霉变粒(%)<= </view>
  141. <view class="con-list">
  142. {{WarehouseInOutInfo.warehouseInOutDetail.mildewGrain}}
  143. </view>
  144. </view>
  145. <view class="c-row b-b">
  146. <view class="title">不完整粒(%)<= </view>
  147. <view class="con-list">
  148. {{WarehouseInOutInfo.warehouseInOutDetail.imperfectGrain}}
  149. </view>
  150. </view>
  151. <view class="c-row b-b">
  152. <text class="tit">品级 </text>
  153. <view class="con-list">
  154. {{WarehouseInOutInfo.grade}}
  155. </view>
  156. </view>
  157. </view>
  158. </view>
  159. </view>
  160. </view>
  161. </template>
  162. <script>
  163. export default {
  164. data() {
  165. return {
  166. WarehouseInOutInfo: {},
  167. }
  168. },
  169. onLoad(options) {
  170. this.getList(options.id)
  171. },
  172. methods: {
  173. typeChange(e) {
  174. this.typesIndex = e.detail.value
  175. this.types = this.typesType[this.typesIndex];
  176. },
  177. getList(id1) {
  178. var that = this
  179. this.$api.doRequest('get', '/warehouseInOutInfo/getInfo', {
  180. id: id1
  181. }).then(res => {
  182. console.log(res)
  183. this.WarehouseInOutInfo = res.data.data
  184. })
  185. .catch(res => {
  186. uni.showToast({
  187. title: res.errmsg,
  188. icon: 'none',
  189. duration: 2000
  190. })
  191. });
  192. }
  193. }
  194. }
  195. </script>
  196. <style scoped lang='scss'>
  197. .center {
  198. margin: 15rpx 15rpx 10rpx 15rpx;
  199. /* padding: 0rpx 10rpx 30rpx 10rpx; */
  200. background-color: #FFFFFF;
  201. border-radius: 15px;
  202. }
  203. .title_b {
  204. margin: 20rpx 20rpx 0rpx 20rpx;
  205. padding: 20rpx 10rpx 20rpx 10rpx;
  206. font-size: 18px;
  207. font-weight: 550;
  208. border-bottom: 1px solid #d6d6d6;
  209. }
  210. .title_c {
  211. margin: 20rpx 20rpx 0rpx 20rpx;
  212. padding: 20rpx 10rpx 20rpx 10rpx;
  213. font-size: 18px;
  214. font-weight: 550;
  215. }
  216. .margin-bottom {
  217. margin-bottom: 30px;
  218. }
  219. .c-row {
  220. display: -webkit-box;
  221. display: -webkit-flex;
  222. display: flex;
  223. -webkit-box-align: center;
  224. -webkit-align-items: center;
  225. align-items: center;
  226. padding: 20rpx 30rpx;
  227. position: relative;
  228. }
  229. .con-list {
  230. -webkit-box-flex: 1;
  231. -webkit-flex: 1;
  232. flex: 1;
  233. display: -webkit-box;
  234. display: -webkit-flex;
  235. display: flex;
  236. -webkit-box-orient: vertical;
  237. -webkit-box-direction: normal;
  238. -webkit-flex-direction: column;
  239. flex-direction: column;
  240. color: #303133;
  241. line-height: 40rpx;
  242. text-align: right;
  243. padding-right: 20rpx;
  244. }
  245. .d-header {
  246. display: flex;
  247. justify-content: center;
  248. align-items: center;
  249. height: 80upx;
  250. font-size: $font-base + 2upx;
  251. color: $font-color-dark;
  252. position: relative;
  253. text {
  254. padding: 0 20upx;
  255. background: #fff;
  256. position: relative;
  257. z-index: 1;
  258. }
  259. &:after {
  260. position: absolute;
  261. left: 50%;
  262. top: 50%;
  263. transform: translateX(-50%);
  264. width: 300upx;
  265. height: 0;
  266. content: '';
  267. border-bottom: 1px solid #ccc;
  268. }
  269. }
  270. /* 底部操作菜单 */
  271. .page-bottom1 {
  272. position: fixed;
  273. left: 0;
  274. bottom: 0;
  275. z-index: 95;
  276. width: 100%;
  277. height: 70px;
  278. background: rgba(255, 255, 255, .9);
  279. padding: 15px;
  280. border-radius: 0;
  281. text-align: right;
  282. button {
  283. display: inline-block;
  284. border-radius: 18px;
  285. margin: 0 10px;
  286. font-size: 14px;
  287. background: #fff;
  288. color: #333;
  289. border: 1px solid #333;
  290. padding-left: 50rpx;
  291. padding-right: 50rpx;
  292. }
  293. .action-btn {
  294. background: #22C572;
  295. color: #fff;
  296. border: 1px solid #22C572;
  297. }
  298. .p-b-btn {
  299. display: flex;
  300. flex-direction: column;
  301. align-items: center;
  302. justify-content: center;
  303. font-size: $font-sm;
  304. color: $font-color-base;
  305. width: 96upx;
  306. height: 80upx;
  307. .yticon {
  308. font-size: 40upx;
  309. line-height: 48upx;
  310. color: $font-color-light;
  311. }
  312. &.active,
  313. &.active .yticon {
  314. color: $uni-color-primary;
  315. }
  316. .icon-fenxiang2 {
  317. font-size: 42upx;
  318. transform: translateY(-2upx);
  319. }
  320. .icon-shoucang {
  321. font-size: 46upx;
  322. }
  323. }
  324. }
  325. .container {
  326. padding-bottom: 16upx;
  327. }
  328. .xiangji{
  329. width: 25px;
  330. height: 25px;
  331. position: absolute;
  332. margin: 0 auto;
  333. margin-top: 35px;
  334. margin-left: -58px;
  335. }
  336. .picture{
  337. width: 90px;
  338. height: 90px;
  339. border-radius: 10px;
  340. }
  341. .picture{
  342. width: 75px;
  343. height: 75px;
  344. border-radius: 10px;
  345. }
  346. </style>