Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
6a7abad6
提交
6a7abad6
authored
7月 22, 2021
作者:
王天霸
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
4
上级
90964e5e
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
34 行增加
和
32 行删除
+34
-32
.env.development
.env.development
+2
-2
freight.js
src/api/module/freight.js
+6
-6
index.vue
src/views/system/asset/verifyrecord/index.vue
+16
-16
index.vue
src/views/system/freight/freight_list/index.vue
+10
-8
没有找到文件。
.env.development
浏览文件 @
6a7abad6
...
...
@@ -4,8 +4,8 @@ ENV = 'development'
# 正式环境
#VUE_APP_BASE_API = 'http://sjapi.jxhh.com'
# 开发环境
#VUE_APP_BASE_API = 'http://192.168.111.36
:8200'
VUE_APP_BASE_API = 'http://192.168.26.179:8200'
VUE_APP_BASE_API = 'http://192.168.111.34
:8200'
#
VUE_APP_BASE_API = 'http://192.168.26.179:8200'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
src/api/module/freight.js
浏览文件 @
6a7abad6
...
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询freight列表
export
function
listFreight
(
query
)
{
return
request
({
url
:
'/system/freight/list'
,
url
:
'/system/freight
New
/list'
,
method
:
'get'
,
params
:
query
})
...
...
@@ -12,7 +12,7 @@ export function listFreight(query) {
// 查询freight详细
export
function
getFreight
(
id
)
{
return
request
({
url
:
'/system/freight/edit?id='
+
id
,
url
:
'/system/freight
New
/edit?id='
+
id
,
method
:
'get'
})
}
...
...
@@ -21,7 +21,7 @@ export function getFreight (id) {
// 新增freight
export
function
addFreight
(
data
)
{
return
request
({
url
:
'/system/freight/add'
,
url
:
'/system/freight
New
/add'
,
method
:
'post'
,
data
:
data
})
...
...
@@ -30,7 +30,7 @@ export function addFreight(data) {
// 修改freight
export
function
updateFreight
(
data
)
{
return
request
({
url
:
'/system/freight/edit'
,
url
:
'/system/freight
New
/edit'
,
method
:
'post'
,
data
:
data
})
...
...
@@ -39,9 +39,9 @@ export function updateFreight(data) {
// 删除freight
export
function
delFreight
(
ids
)
{
return
request
({
url
:
'/system/freight/delete'
,
url
:
'/system/freight
New
/delete'
,
method
:
'delete'
,
data
:{
id
s
:
ids
}
data
:{
id
:
ids
}
})
}
src/views/system/asset/verifyrecord/index.vue
浏览文件 @
6a7abad6
...
...
@@ -144,7 +144,7 @@
queryParams
:
{
page
:
1
,
limit
:
10
,
shopI
d
:
0
,
// seller_i
d: 0,
money
:
null
,
org_money
:
null
,
freight
:
null
,
...
...
@@ -222,21 +222,21 @@
// 表单重置
reset
()
{
this
.
form
=
{
id
:
null
,
shop
_id
:
null
,
money
:
null
,
org_money
:
null
,
freight
:
null
,
bill_money
:
null
,
disc_money
:
null
,
refund_money
:
null
,
real_bill_money
:
null
,
integral_cost_money
:
null
,
pt_disc_money
:
null
,
score_back
:
null
,
status
:
0
,
time
:
null
,
confirm_time
:
null
//
id: null,
// seller
_id: null,
//
money: null,
//
org_money: null,
//
freight: null,
//
bill_money: null,
//
disc_money: null,
//
refund_money: null,
//
real_bill_money: null,
//
integral_cost_money: null,
//
pt_disc_money: null,
//
score_back: null,
//
status: 0,
//
time: null,
//
confirm_time: null
};
this
.
resetForm
(
"form"
);
},
...
...
src/views/system/freight/freight_list/index.vue
浏览文件 @
6a7abad6
...
...
@@ -62,8 +62,8 @@
<pagination
v-show=
"total>0"
:total=
"total"
:page
.
sync=
"queryParams.page
Num
"
:limit
.
sync=
"queryParams.
pageSize
"
:page
.
sync=
"queryParams.page"
:limit
.
sync=
"queryParams.
limit
"
@
pagination=
"getList"
/>
<!-- 添加或修改freight对话框 -->
...
...
@@ -104,8 +104,8 @@
isOpen
:
false
,
// 查询参数
queryParams
:
{
page
Num
:
1
,
pageSize
:
20
,
page
:
1
,
limit
:
20
,
seller_id
:
null
,
name
:
null
,
sort
:
null
,
...
...
@@ -223,7 +223,7 @@
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
page
Num
=
1
;
this
.
queryParams
.
page
=
1
;
this
.
getList
();
},
/** 重置按钮操作 */
...
...
@@ -270,10 +270,11 @@
this
.
reset
();
const
id
=
row
.
Id
getFreight
(
id
).
then
(
response
=>
{
let
formdate
=
response
.
data
response
.
data
.
Dispatching
=
JSON
.
parse
(
formdate
.
Dispatching
)
let
formdate
=
response
.
data
.
info
debugger
response
.
data
.
info
.
Dispatching
=
JSON
.
parse
(
formdate
.
Dispatching
)
//console.log("点击修改获取的数据:",response.data.Dispatching);
this
.
form
=
response
.
data
this
.
form
=
response
.
data
.
info
this
.
isOpen
=
true
;
this
.
title
=
"修改运费模板"
;
});
...
...
@@ -310,6 +311,7 @@
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
ids
=
row
.
Id
||
this
.
ids
;
debugger
this
.
$confirm
(
'是否确认删除运费模板编号为“'
+
ids
+
'"的数据?'
,
'警告'
,{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论