From 361062645bf5592312816259e2fe36e29c43a595 Mon Sep 17 00:00:00 2001
From: whycq0520 <91384184@qq.com>
Date: 星期五, 25 三月 2022 12:03:02 +0800
Subject: [PATCH] # ycq
---
pages/basics/publish.vue | 76 ++++++++++++++++++++++++++++++++++++++
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/pages/basics/publish.vue b/pages/basics/publish.vue
index 48d48ea..fa5e409 100644
--- a/pages/basics/publish.vue
+++ b/pages/basics/publish.vue
@@ -1,8 +1,84 @@
<template>
+ <view>
+ <view>
+ <uni-table border stripe type="selection" emptyText="娌℃湁鏇村鏁版嵁">
+ <uni-tr>
+ <uni-th>鏁伴噺</uni-th>
+ <uni-th>鎵瑰彿</uni-th>
+ <uni-th>鍟嗗搧缂栧彿</uni-th>
+ <uni-th>鍟嗗搧鍚嶇О</uni-th>
+ <uni-th>瑙勬牸</uni-th>
+ <uni-th>鍗曚环</uni-th>
+ <uni-th>鎿嶄綔</uni-th>
+ </uni-tr>
+ </uni-table>
+ </view>
+ <view class="cu-bar foot input justify-center" style="height: 150rpx;">
+ <view style="width: 80%;">
+ <button class="cu-btn bg-yellow lg shadow-blur" style="width: 250rpx;color: #fff;" @click="getMat()">鏂� 澧�</button>
+ <button class="cu-btn bg-orange lg shadow-blur" style="float: right;width: 250rpx;color: #fff;">纭鍏ュ簱</button>
+ </view>
+ </view>
+ <!-- ******************************************************************************************* -->
+ <view>
+ <!-- 鏅�氬脊绐� -->
+ <uni-popup ref="popup" background-color="#fff" style="position: fixed; border-radius: 5px;" >
+ <view class="popup-content " :class="{ 'popup-height': type === 'left' || type === 'right' }">
+ <view style="height: 900rpx;width: 700rpx;">
+ <view><text>鍏抽棴</text></view>
+ <view>
+ <scroll-view scroll-x="true" @scroll="scroll" scroll-left="120">
+ <uni-table border stripe type="selection" emptyText="娌℃湁鏇村鏁版嵁">
+ <uni-tr>
+ <uni-th>鍟嗗搧缂栧彿</uni-th>
+ <uni-th>鍟嗗搧鍚嶇О</uni-th>
+ <uni-th>瑙勬牸</uni-th>
+ <uni-th>鍗曚环</uni-th>
+ <uni-th>淇敼鏃堕棿</uni-th>
+ </uni-tr>
+ </uni-table>
+ </scroll-view>
+ </view>
+
+ </view>
+ </view>
+ </uni-popup>
+ </view>
+ </view>
</template>
<script>
+ export default {
+ data() {
+ return {
+ type:'bottom',
+ }
+
+ },
+ mounted(){
+ const UIP = uni.getStorageSync('UIP');
+ this.baseIP = UIP;
+ const UPORT = uni.getStorageSync('UPORT');
+ this.basePORT = UPORT
+ },
+ methods: {
+ // 寮瑰嚭灞�
+ toggle(type) {
+ this.type = type
+ // open 鏂规硶浼犲叆鍙傛暟 绛夊悓鍦� uni-popup 缁勪欢涓婄粦瀹� type灞炴��
+ this.$refs.popup.open(type)
+ },
+ getMat() {
+ let that = this
+ console.log(that.baseHttp,that.baseIP,that.basePORT,that.baseUrl)
+ uni.navigateTo({
+ url: 'stockIn?baseIP=' + that.baseIP + '&basePORT=' + that.basePORT
+ });
+ },
+ }
+ }
</script>
<style>
+
</style>
--
Gitblit v1.9.1