Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
occloud-server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yangjiarong
occloud-server
Commits
a14b4d5c
Commit
a14b4d5c
authored
2 years ago
by
liuliufashi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e81207ea
main
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
14 deletions
+19
-14
index.vue
...min/src/views/goods-cabinet/components/goodsubs/index.vue
+2
-2
index.vue
web-vue-admin/src/views/goods-cabinet/index.vue
+1
-1
index.vue
web-vue-admin/src/views/home/index.vue
+1
-1
index.vue
...e-admin/src/views/pay-list/components/createpay/index.vue
+13
-8
index.vue
web-vue-admin/src/views/pay-list/index.vue
+2
-2
No files found.
web-vue-admin/src/views/goods-cabinet/components/goodsubs/index.vue
View file @
a14b4d5c
...
...
@@ -285,10 +285,10 @@ const onSelectPlain = (e: any) => {
};
const
handleChanges
=
async
(
value
:
string
)
=>
{
const
handleChanges
=
async
(
value
:
any
)
=>
{
const
uid
=
getUid
();
const
params
=
{
name
:
value
?
value
:
''
,
name
:
value
.
target
?
''
:
value
,
size
:
10
,
page
:
1
,
uid
,
...
...
This diff is collapsed.
Click to expand it.
web-vue-admin/src/views/goods-cabinet/index.vue
View file @
a14b4d5c
...
...
@@ -389,7 +389,7 @@ const init = async () => {
uid
,
}
const
data
=
await
onSelectGoods
(
prarms
);
list
.
value
=
data
.
data
;
list
.
value
=
data
.
data
.
goods
;
};
const
textChange
=
(
e
:
any
)
=>
{
textarea
.
value
=
e
...
...
This diff is collapsed.
Click to expand it.
web-vue-admin/src/views/home/index.vue
View file @
a14b4d5c
...
...
@@ -70,7 +70,7 @@ const indexItem = ref<any>(0)
const
selectedKeys
=
ref
<
string
[]
>
([
"1"
])
const
info
=
reactive
<
FormUser
>
(
store
.
getters
.
getUserInfo
);
const
goNewPage
=
(
e
:
any
,
index
:
any
)
=>
{
indexItem
.
value
=
index
//
indexItem.value = index
const
{
path
}
=
e
;
router
.
push
({
path
,
...
...
This diff is collapsed.
Click to expand it.
web-vue-admin/src/views/pay-list/components/createpay/index.vue
View file @
a14b4d5c
...
...
@@ -6,9 +6,9 @@
<a-form-item
label=
"选择商品"
name=
"subject"
:rules=
"rulesRef.subject"
:label-col=
"
{ span: 2 }"
labelAlign="left">
<div
style=
"width:100%;display: flex;align-items: center;"
>
<a-select
v-model:value=
"formState.subject"
:default-active-first-option=
"false"
mode=
"multiple"
style=
"width: 100%"
placeholder=
"请选择商品"
@
focus=
"onSubSearch"
@
search=
"onSubSearch"
@
select=
"onSelectss"
@
popupScroll=
"popupScroll"
>
<a-select-option
v-for=
"item,index in optionss"
:itemKey=
"item"
:value=
"item.goodsid"
:label=
"index"
>
{{
item
.
subject
}}
<a-select
v-model:value=
"formState.subject"
:default-active-first-option=
"false"
mode=
"multiple"
style=
"width: 100%"
placeholder=
"请选择商品"
@
search=
"onSubSearch"
@
select=
"onSelectss"
@
popupScroll=
"popupScroll"
>
<a-select-option
v-for=
"item,index in optionss
.list
"
:itemKey=
"item"
:value=
"item.goodsid"
:label=
"index"
>
{{
item
.
subject
}}
</a-select-option>
</a-select>
</div>
...
...
@@ -59,12 +59,12 @@
<a-date-picker
v-model:value=
"formState.starttime"
:locale=
"locale"
:format=
"dateFormat"
:disabledDate=
"disabledDate"
/>
<a-time-picker
style=
"margin-left:10px;"
v-model:value=
"startvalue"
format=
"HH:mm"
/>
</div>
</a-form-item>
-->
<a-form-item
label=
"结束时间"
name=
"price"
:label-col=
"
{ span: 2 }"
<
!--
<
a-form-item
label=
"结束时间"
name=
"price"
:label-col=
"
{ span: 2 }"
labelAlign="left">
<div
style=
"display:flex"
>
<a-date-picker
v-model:value=
"formState.expireendtime"
:locale=
"locale"
:format=
"dateFormat"
:disabledDate=
"disabledDate"
/>
<a-time-picker
style=
"margin-left:10px;"
v-model:value=
"endvalue"
format=
"HH:mm"
/>
</div>
</a-form-item>
</a-form-item>
-->
<a-form-item
label=
"信息备注"
name=
"price"
:label-col=
"
{ span: 2 }"
labelAlign="left">
<div
style=
"display:flex"
>
...
...
@@ -126,7 +126,9 @@ let formState = ref<FormState>({
});
const
visible
=
ref
<
boolean
>
(
false
);
const
list
=
ref
<
any
>
([])
const
optionss
=
ref
<
any
>
([])
let
optionss
=
reactive
<
any
>
({
list
:[]
})
let
goodspayditch
=
ref
<
any
>
([])
const
props
=
defineProps
();
const
dateFormat
=
'YYYY/MM/DD'
;
...
...
@@ -226,15 +228,18 @@ const popupScroll = ()=>{
console
.
log
(
1
);
}
const
onSubSearch
=
async
(
value
:
any
)
=>
{
optionss
.
list
=
[]
const
uid
=
getUid
();
const
params
=
{
name
:
value
?
value
:
''
,
name
:
value
.
target
?
''
:
value
,
page
:
1
,
size
:
10
,
uid
,
};
const
data
=
await
onFindbyLikeName
(
params
);
optionss
.
value
=
data
.
data
.
goods
optionss
.
list
=
data
.
data
.
goods
}
const
onSelectCheckboxValue
=
async
(
e
:
any
,
index
:
any
)
=>
{
index
=
index
+
1
...
...
This diff is collapsed.
Click to expand it.
web-vue-admin/src/views/pay-list/index.vue
View file @
a14b4d5c
...
...
@@ -62,7 +62,7 @@
autocomplete=
"off"
>
<a-form-item
label=
"选择商品"
name=
"subject"
:label-col=
"{ span: 2 }"
labelAlign=
"left"
>
<div
style=
"width:100%;display: flex;align-items: center;"
>
<a-select
v-model:value=
"formState.subject"
:default-active-first-option=
"false"
mode=
"multiple"
style=
"width: 100%"
placeholder=
"请选择商品"
@
focus=
"onSubSearch"
@
search=
"onSubSearch"
@
select=
"onSelect"
@
popupScroll=
"popupScroll"
>
<a-select
v-model:value=
"formState.subject"
mode=
"multiple"
style=
"width: 100%"
placeholder=
"请选择商品"
@
focus=
"onSubSearch"
@
search=
"onSubSearch"
@
select=
"onSelect"
@
popupScroll=
"popupScroll"
>
<a-select-option
v-for=
"item,index in listArray"
:itemKey=
"item"
:value=
"item.goodsid"
:label=
"index"
>
<span>
{{item.subject}}
</span>
</a-select-option>
...
...
@@ -312,7 +312,7 @@ const onSelect =(e:any,opt:any)=>{
const
onSubSearch
=
async
(
value
:
any
)
=>
{
const
uid
=
getUid
();
const
params
=
{
name
:
value
?
value
:
''
,
name
:
value
.
target
?
''
:
value
,
size
:
10
,
page
:
1
,
uid
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment