Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
99241393
authored
Sep 26, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单追踪/已采购订单:生成发货单无事件触发
parent
7ffb2665
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
17 deletions
src/views/OrderTrack/goods.vue
src/views/OrderTrack/goods.vue
View file @
99241393
...
...
@@ -3,12 +3,10 @@
<div
class=
"goods-con"
>
<el-form
:inline=
"true"
:model=
"formInline"
label-width=
"80px"
ref=
"formInline"
>
<el-form-item
label=
"型号"
prop=
"goods_name"
>
<el-autocomplete
v-model=
"formInline.goods_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
clearable
></el-autocomplete>
<el-autocomplete
v-model=
"formInline.goods_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
clearable
></el-autocomplete>
</el-form-item>
<el-form-item
label=
"品牌"
prop=
"brand_name"
>
<el-autocomplete
v-model=
"formInline.brand_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsyncBrand"
placeholder=
"请输入品牌"
clearable
></el-autocomplete>
<el-autocomplete
v-model=
"formInline.brand_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsyncBrand"
placeholder=
"请输入品牌"
clearable
></el-autocomplete>
</el-form-item>
<el-form-item
label=
"订单状态"
prop=
"status"
>
<el-select
v-model=
"formInline.status"
placeholder=
"请选择"
>
...
...
@@ -75,18 +73,18 @@
</el-pagination>
</div>
</div>
<Menu
/>
<Menu/>
</section>
</template>
<
script
>
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Form
,
FormItem
,
Select
,
Option
,
Input
,
Button
,
Table
,
TableColumn
,
Message
,
Dialog
,
Pagination
,
Autocomplete
,
Cascader
,
DatePicker
}
from
'element-ui'
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Autocomplete
,
Button
,
Cascader
,
DatePicker
,
Dialog
,
Form
,
FormItem
,
Input
,
Message
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
;
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Pagination
);
Vue
.
use
(
TableColumn
).
use
(
Table
).
use
(
Cascader
).
use
(
Autocomplete
).
use
(
DatePicker
);
export
default
{
Vue
.
prototype
.
$message
=
Message
;
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Pagination
);
Vue
.
use
(
TableColumn
).
use
(
Table
).
use
(
Cascader
).
use
(
Autocomplete
).
use
(
DatePicker
);
export
default
{
name
:
"orderTrackGoods"
,
data
()
{
return
{
...
...
@@ -103,7 +101,7 @@
source_type
:
''
,
},
tableData
:
""
,
multipleSelection
:
[]
multipleSelection
:
[]
};
},
created
()
{
...
...
@@ -159,12 +157,22 @@
message
:
"请选择一条数据进行操作"
,
type
:
'warning'
});
return
return
false
;
}
if
(
this
.
multipleSelection
[
0
].
shipping_status_val
!=
'待发货'
)
{
this
.
$message
({
message
:
"请选择待发货数据进行操作"
,
type
:
'warning'
});
return
false
;
}
this
.
$router
.
push
({
path
:
"/OrderTrackPurAdd"
,
query
:
{
purchase_id
:
this
.
multipleSelection
[
0
].
purchase_id
purchase_id
:
this
.
multipleSelection
[
0
].
purchase_id
}
})
},
...
...
@@ -214,8 +222,8 @@
components
:
{
Menu
}
};
};
</
script
>
<
style
scoped
>
@import
"../../assets/css/goods/goods.min.css"
;
@import
"../../assets/css/goods/goods.min.css"
;
</
style
>
\ No newline at end of file
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