Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yawei
yawei
提交
4811af05
Y
yawei
项目概览
yawei
/
yawei
通知
3
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
yawei
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
4811af05
编写于
4月 02, 2024
作者:
Y
yang-zongying@qq.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整细节
上级
685d9492
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
60 addition
and
56 deletion
+60
-56
pages/index/index.vue
pages/index/index.vue
+1
-1
pages/workSpace/jijian/jijianSQ.vue
pages/workSpace/jijian/jijianSQ.vue
+27
-25
pages/workSpace/jiudian/jiudianSQ.vue
pages/workSpace/jiudian/jiudianSQ.vue
+1
-1
pages/workSpace/wupin/wupinCG.vue
pages/workSpace/wupin/wupinCG.vue
+11
-1
pages/workSpace/wupin/wupinCGList.vue
pages/workSpace/wupin/wupinCGList.vue
+10
-18
pages/workSpace/wupin/wupinSLList.vue
pages/workSpace/wupin/wupinSLList.vue
+10
-10
未找到文件。
pages/index/index.vue
浏览文件 @
4811af05
...
...
@@ -5,7 +5,7 @@
<view
class=
"fl-rsb wcolor user-area"
>
<view
class=
"fl"
@
click=
"toUrl('/pages/setting/userInfo')"
>
<u-avatar
size=
'65'
fontSize=
"65"
:src=
"userInfo!== null && userInfo.headImgSrc"
></u-avatar>
<view
class=
"mgl10 userName"
>
Hi ,
{{
userInfo
!==
null
&&
userInfo
.
st_name
}}
</view>
<view
class=
"mgl10 userName"
>
{{
userInfo
!==
null
&&
userInfo
.
st_name
}}
</view>
</view>
<view>
<view
class=
"mgr5"
><u--image
:showLoading=
"true"
:src=
"imgbaseUrl + 'setting.png'"
width=
"25px"
height=
"25px"
@
click=
"toUrl('/pages/setting/setting')"
></u--image></view>
...
...
pages/workSpace/jijian/jijianSQ.vue
浏览文件 @
4811af05
...
...
@@ -5,8 +5,9 @@
<view
class=
"pdb10"
>
<view
class=
"pdb fl-rsbc"
>
<view
class=
"fl"
>
<view
class=
"cu mgr5"
><u--image
:showLoading=
"true"
:src=
"imgbaseUrl + 'jibenxinxi.png'"
width=
"25px"
height=
"25px"
></u--image></view>
<view
class=
"stit wcolor"
style=
"width: 80px;"
>
基本信息
</view>
<view
class=
"cu mgr5"
><u--image
:showLoading=
"true"
:src=
"imgbaseUrl + 'jibenxinxi.png'"
width=
"25px"
height=
"25px"
></u--image></view>
<view
class=
"stit wcolor"
style=
"width: 80px;"
>
基本信息
</view>
</view>
</view>
<view
class=
"mgb10 cardview bgwhite pdb"
>
...
...
@@ -23,39 +24,40 @@
</view>
<view
class=
"pdb fl-rsbc"
>
<view
class=
"fl"
>
<view
class=
"cu mgr5"
><u--image
:showLoading=
"true"
:src=
"imgbaseUrl + 'jijian.png'"
width=
"25px"
height=
"25px"
></u--image></view>
<view
class=
"stit"
style=
"width: 80px;"
>
寄件人信息
</view>
<view
class=
"cu mgr5"
><u--image
:showLoading=
"true"
:src=
"imgbaseUrl + 'jijian.png'"
width=
"25px"
height=
"25px"
></u--image></view>
<view
class=
"stit"
style=
"width: 80px;"
>
寄件人信息
</view>
</view>
</view>
<view
class=
"mgb10 cardview bgwhite"
>
<view
class=
"pdlr"
>
<view
class=
"mgb"
>
<view
class=
"fl-rsb mgb"
>
<view
class=
"pdtb10 fl-rsbc bgwhite bd1 mgr"
>
<u--input
border=
"none"
placeholder=
"请输入姓名"
type=
"number"
clearable
></u--input>
</view>
<view
class=
"pdtb10 fl-rsbc bgwhite bd1"
>
<u--input
border=
"none"
placeholder=
"请输入电话"
type=
"number"
clearable
></u--input>
</view>
<view
class=
"mgb cardview bgwhite"
>
<view
class=
"pdlr"
>
<view
class=
"mgb"
>
<view
class=
"fl-rsb mgb"
>
<view
class=
"pdtb10 fl-rsbc bgwhite bd1 mgr"
>
<u--input
border=
"none"
placeholder=
"请输入姓名"
type=
"number"
clearable
></u--input>
</view>
<!--
<view
class=
"mgtb fl-rsbc"
>
<view
class=
"pdtb10 fl-rsbc bgwhite bd1"
>
<u--input
border=
"none"
placeholder=
"请输入电话"
type=
"number"
clearable
></u--input>
</view>
</view>
<!--
<view
class=
"mgtb fl-rsbc"
>
<view
class=
"desctit"
>
备注:
</view>
</view>
-->
<view
class=
"fl-rsbc"
>
<u--textarea
height=
"140"
v-model=
"cgForm.remark"
placeholder=
"请输入备注内容"
count
></u--textarea>
</view>
<view
class=
"fl-rsbc"
>
<u--textarea
height=
"140"
v-model=
"cgForm.remark"
placeholder=
"请输入备注内容"
count
></u--textarea>
</view>
</view>
</view>
</view>
<view
class=
"mgb"
>
<view
class=
"pdb fl-rsbc"
>
<view
class=
"fl"
>
<view
class=
"cu mgr5"
><u--image
:showLoading=
"true"
:src=
"imgbaseUrl + 'shoujian.png'"
width=
"25px"
height=
"25px"
></u--image></view>
<view
class=
"stit"
style=
"width: 80px;"
>
收件人信息
</view>
<view
class=
"cu mgr5"
><u--image
:showLoading=
"true"
:src=
"imgbaseUrl + 'shoujian.png'"
width=
"25px"
height=
"25px"
></u--image></view>
<view
class=
"stit"
style=
"width: 80px;"
>
收件人信息
</view>
</view>
</view>
<view
class=
"cardview bgwhite pd"
>
<view
class=
"cardview bgwhite pd
lr pdb
"
>
<view
class=
"fl-rsb"
>
<view
class=
"pdtb10 fl-rsbc bgwhite bd1 mgr"
>
<u--input
border=
"none"
placeholder=
"请输入姓名"
type=
"number"
clearable
></u--input>
...
...
@@ -206,10 +208,10 @@
},
},
methods
:
{
async
initData
(){
async
initData
()
{
// 获取采购列表
await
this
.
getWupinTypeList
(
"
dict_dq
"
).
then
(
res
=>
{
console
.
log
(
'
getWupinTypeList
'
,
res
)
await
this
.
getWupinTypeList
(
"
dict_dq
"
).
then
(
res
=>
{
console
.
log
(
'
getWupinTypeList
'
,
res
)
// this.dataTree = res
})
},
...
...
pages/workSpace/jiudian/jiudianSQ.vue
浏览文件 @
4811af05
...
...
@@ -48,7 +48,7 @@
<view
class=
"stit"
style=
"width: 80px;"
>
房间信息
</view>
</view>
</view>
<view
class=
"cardview bgwhite pd"
>
<view
class=
"cardview bgwhite pd
lr pdb
"
>
<view
class=
"fl-rsb"
>
<view
class=
"pdtb10 fl-rsbc bgwhite bd1 mgr"
>
<u--input
border=
"none"
placeholder=
"房间单价"
type=
"number"
clearable
></u--input>
...
...
pages/workSpace/wupin/wupinCG.vue
浏览文件 @
4811af05
...
...
@@ -114,6 +114,10 @@
</
template
>
<
script
>
import
{
mapGetters
,
mapState
}
from
'
vuex
'
;
import
CardTit
from
'
@/components/cardTit.vue
'
import
AddWupin
from
'
@/pages/workSpace/wupin/addWupin.vue
'
import
addDonegoodsCard
from
'
@/components/addDonegoodsCard.vue
'
...
...
@@ -192,7 +196,7 @@
},
actions
:
[],
ckActions
:
[],
userInfo
:
{}
//
userInfo: {}
};
},
created
()
{
...
...
@@ -365,6 +369,12 @@
//如果需要兼容微信小程序,并且校验规则中含有方法等,只能通过setRules方法设置规则。
this
.
$refs
.
uForm
.
setRules
(
this
.
rules
)
},
computed
:
{
...
mapGetters
([
'
isLoggedIn
'
]),
...
mapState
({
userInfo
:
state
=>
state
.
userStore
.
userInfo
,
})
},
};
</
script
>
<
style
scoped
>
...
...
pages/workSpace/wupin/wupinCGList.vue
浏览文件 @
4811af05
...
...
@@ -16,9 +16,12 @@
</
template
>
<
script
>
import
{
mapGetters
,
mapState
}
from
'
vuex
'
;
import
XzCardListItem
from
"
@/components/xzCardListItem.vue
"
;
import
store
from
'
@/store/index.js
'
;
import
{
mapState
}
from
'
vuex
'
//引入mapState
export
default
{
components
:{
XzCardListItem
},
data
()
{
...
...
@@ -38,13 +41,6 @@
sqDataList
:[]
};
},
computed
:
{
//使用对象展开运算符将此对象混入到外部对象中
...
mapState
({
username
:
state
=>
state
.
username
,
age
:
state
=>
state
.
age
,
})
},
onLoad
()
{
// 设置首页标题
uni
.
setNavigationBarTitle
({
...
...
@@ -66,16 +62,6 @@
initData
()
{
// 获取采购列表
console
.
log
(
"
initData
"
);
let
_self
=
this
uni
.
getStorage
({
key
:
'
userInfo
'
,
success
:
function
(
res
)
{
console
.
log
(
res
.
data
);
if
(
res
.
data
){
_self
.
userInfo
=
res
.
data
}
}
});
if
(
this
.
userInfo
){
const
parameter
=
{
"
st_id
"
:
this
.
userInfo
.
st_id
,
"
zyid
"
:
""
};
uni
.
$u
.
http
.
post
(
'
/xzgl/cgsqList
'
,
parameter
).
then
(
data
=>
{
...
...
@@ -149,6 +135,12 @@
});
},
},
computed
:
{
...
mapGetters
([
'
isLoggedIn
'
]),
...
mapState
({
userInfo
:
state
=>
state
.
userStore
.
userInfo
,
})
},
}
</
script
>
...
...
pages/workSpace/wupin/wupinSLList.vue
浏览文件 @
4811af05
...
...
@@ -17,6 +17,10 @@
<
script
>
import
XzCardListItem
from
"
@/components/xzCardListItem.vue
"
import
{
mapGetters
,
mapState
}
from
'
vuex
'
;
export
default
{
components
:{
XzCardListItem
},
data
()
{
...
...
@@ -47,16 +51,6 @@
initData
()
{
// 获取采购列表
console
.
log
(
"
initData
"
);
let
_self
=
this
uni
.
getStorage
({
key
:
'
userInfo
'
,
success
:
function
(
res
)
{
console
.
log
(
res
.
data
);
if
(
res
.
data
){
_self
.
userInfo
=
res
.
data
}
}
});
if
(
this
.
userInfo
){
const
parameter
=
{
"
st_id
"
:
this
.
userInfo
.
st_id
,
"
zyid
"
:
""
};
uni
.
$u
.
http
.
post
(
'
/xzgl/wllyList
'
,
parameter
).
then
(
data
=>
{
...
...
@@ -131,6 +125,12 @@
});
},
},
computed
:
{
...
mapGetters
([
'
isLoggedIn
'
]),
...
mapState
({
userInfo
:
state
=>
state
.
userStore
.
userInfo
,
})
},
}
</
script
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录