Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
a2a31f75
Commit
a2a31f75
authored
Nov 12, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d94b7f83
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
12 deletions
+20
-12
CommondityOrderList.vue
src/components/Buying/CommondityOrderList.vue
+20
-12
No files found.
src/components/Buying/CommondityOrderList.vue
View file @
a2a31f75
...
@@ -53,7 +53,6 @@
...
@@ -53,7 +53,6 @@
<el-select
filterable
v-model=
"msg.COrderState"
class=
"w150"
>
<el-select
filterable
v-model=
"msg.COrderState"
class=
"w150"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"-1"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"-1"
></el-option>
<el-option
v-for=
"item in OrderStatusList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.ID"
></el-option>
<el-option
v-for=
"item in OrderStatusList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.ID"
></el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
...
@@ -111,7 +110,7 @@
...
@@ -111,7 +110,7 @@
<tr>
<tr>
<td
style=
"text-align:right;width:80px;"
>
领队/导游:
</td>
<td
style=
"text-align:right;width:80px;"
>
领队/导游:
</td>
<td>
<td>
<el-select
class=
"w150"
v-model=
"SetLeader.ReciveLeaderId"
filterable
<el-select
class=
"w150"
filterable
v-model=
"SetLeader.ReciveLeaderId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectDefaultValue"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectDefaultValue"
>
</el-option>
</el-option>
...
@@ -120,10 +119,18 @@
...
@@ -120,10 +119,18 @@
</el-select>
</el-select>
</td>
</td>
</tr>
</tr>
<tr>
<td
style=
"text-align:right;height:10px"
colspan=
"2"
></td>
</tr>
<tr>
<td
colspan=
"2"
style=
"text-align:center;"
>
<input
type=
"button"
@
click=
"setShopOrderLeader(item.CorderId)"
class=
"hollowFixedBtn"
value=
"保存"
>
</td>
</tr>
</table>
</table>
<el-button
type=
"primary"
icon=
"iconfont icon-beizhu"
slot=
"reference"
<el-button
type=
"primary"
@
click=
"clickShopOrderLeader(item)"
icon=
"iconfont icon-beizhu"
@
click=
'setShopOrderLeader(item.CorderId)'
slot=
"reference"
style=
"background:#AD9AF6; border-color:#AD9AF6; border-radius: 0;"
></el-button>
style=
"background:#AD9AF6; border-color:#AD9AF6; border-radius: 0;"
></el-button>
</el-popover>
</el-popover>
</el-tooltip>
</el-tooltip>
</el-button-group>
</el-button-group>
...
@@ -177,6 +184,7 @@
...
@@ -177,6 +184,7 @@
//分配领队
//分配领队
SetLeader
:
{
SetLeader
:
{
ReciveLeaderId
:
0
,
ReciveLeaderId
:
0
,
OrderIdList
:
[],
//订单信息
}
}
};
};
},
},
...
@@ -265,19 +273,19 @@
...
@@ -265,19 +273,19 @@
err
=>
{}
err
=>
{}
)
)
},
},
//点击获取订单信息
clickShopOrderLeader
(
item
)
{
this
.
SetLeader
.
OrderIdList
.
push
(
item
.
CorderId
);
},
//分配接单领队
//分配接单领队
setShopOrderLeader
(
COrderId
)
{
setShopOrderLeader
()
{
var
orderArray
=
[];
orderArray
.
push
(
COrderId
);
var
msg
=
{
ReciveLeaderId
:
this
.
SetLeader
.
ReciveLeaderId
,
OrderIdList
:
orderArray
};
this
.
apipost
(
this
.
apipost
(
'ShopOrder_get_SetShopOrderAllotLeader'
,
this
.
SetLeader
,
'ShopOrder_get_SetShopOrderAllotLeader'
,
this
.
SetLeader
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
();
this
.
getList
();
this
.
SetLeader
.
OrderIdList
=
[];
this
.
SetLeader
.
ReciveLeaderId
=
0
;
}
}
},
},
err
=>
{}
err
=>
{}
...
...
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