Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yongxinda-h5
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
刘旭
yongxinda-h5
Commits
c2cb1712
提交
c2cb1712
authored
4月 07, 2023
作者:
刘旭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
同步同一行的商品数量
上级
cd40620b
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
22 行增加
和
9 行删除
+22
-9
editQuotation.vue
src/pages/order/editQuotation.vue
+5
-0
quotation.vue
src/pages/order/quotation.vue
+2
-2
index.vue
src/pages/productLine/index.vue
+13
-5
config.ts
src/utils/config.ts
+2
-2
没有找到文件。
src/pages/order/editQuotation.vue
浏览文件 @
c2cb1712
...
...
@@ -233,4 +233,9 @@ let init = () => {
}
}
}
:deep
(
.uni-input-placeholder
)
{
font-size
:
0
.875rem
;
color
:
rgb
(
192
,
196
,
204
);
}
</
style
>
src/pages/order/quotation.vue
浏览文件 @
c2cb1712
...
...
@@ -325,7 +325,7 @@ let priceCheck = (data: any, index: number) => {
let
submit
=
()
=>
{
console
.
log
(
detailData
.
value
,
'detailData.value'
);
// 保证单价必填
new
Promise
((
resolve
,
reject
)
=>
{
let
flag
=
true
...
...
@@ -630,6 +630,6 @@ let initQuotationPayment = () => {
:deep
(
.uni-input-placeholder
)
{
font-size
:
0
.875rem
;
color
:
gray
;
color
:
rgb
(
192
,
196
,
204
)
;
}
</
style
>
src/pages/productLine/index.vue
浏览文件 @
c2cb1712
...
...
@@ -197,21 +197,30 @@ let addProduct = (data: any, productId: number, specifications: any, specificati
show
:
false
,
// 是否显示
status
:
1
,
// 状态
}
as
any
if
(
sheetData
.
value
.
delIndex
!=
=
undefined
)
{
if
(
sheetData
.
value
.
delIndex
!=
undefined
)
{
if
(
JSON
.
stringify
(
spec
)
!=
'{}'
)
for
(
const
k
in
spec
)
obj
[
k
]
=
spec
[
k
]
// 添加存在行的产品
const
direction
=
sheetData
.
value
.
direction
const
delIndex
=
sheetData
.
value
.
delIndex
obj
[
'direction'
]
=
direction
if
(
Object
.
keys
(
sheetData
.
value
.
row
).
length
===
0
)
{
lineList
.
value
[
sheetData
.
value
.
delIndex
][
direction
]
=
obj
if
(
!
Object
.
keys
(
sheetData
.
value
.
row
).
length
)
{
lineList
.
value
[
delIndex
][
direction
]
=
obj
if
(
lineList
.
value
[
delIndex
][
0
]
&&
lineList
.
value
[
delIndex
][
1
])
{
direction
?
lineList
.
value
[
delIndex
][
0
].
number
=
obj
.
number
:
lineList
.
value
[
delIndex
][
1
].
number
=
obj
.
number
}
store
.
$patch
({
lineData
:
lineList
.
value
,
});
}
else
{
// 防止修改时 lineList.value = undefined
lineListCopy
[
sheetData
.
value
.
delIndex
][
direction
]
=
obj
lineListCopy
[
delIndex
][
direction
]
=
obj
if
(
lineListCopy
[
delIndex
][
0
]
&&
lineListCopy
[
delIndex
][
1
])
{
direction
?
lineListCopy
[
delIndex
][
0
].
number
=
obj
.
number
:
lineListCopy
[
delIndex
][
1
].
number
=
obj
.
number
}
lineList
.
value
=
lineListCopy
store
.
$patch
({
lineData
:
lineList
.
value
,
...
...
@@ -233,7 +242,6 @@ let addProduct = (data: any, productId: number, specifications: any, specificati
})
}
})
};
// 匹配规格 SDTrack: 单线体/双线体 size: 长度(MM) Segs: 分段数
...
...
src/utils/config.ts
浏览文件 @
c2cb1712
...
...
@@ -2,8 +2,8 @@ const CONFIG: any = {
// 开发环境配置
development
:
{
assetsPath
:
'http://192.168.60:81'
,
// 静态资源路径
baseUrl
:
'http://192.168.0.10:8089'
,
// 后台接口请求地址
//
baseUrl: 'http://192.168.0.60:81', // 后台接口请求地址
//
baseUrl: 'http://192.168.0.10:8089', // 后台接口请求地址
baseUrl
:
'http://192.168.0.60:81'
,
// 后台接口请求地址
hostUrl
:
'http://192.168.0.60:81'
,
// H5地址(前端运行地址)
websocketUrl
:
''
,
// websocket服务端地址
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论