Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
teach-ltk-ui
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
黄麒宇
teach-ltk-ui
Commits
8b8c69d4
Commit
8b8c69d4
authored
Feb 20, 2023
by
huangqy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
92035141
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
171 行增加
和
41 行删除
+171
-41
goods.vue
src/views/account/goods.vue
+21
-7
shelvesMaintain.vue
src/views/account/shelvesMaintain.vue
+9
-11
flow.vue
src/views/delivery/flow.vue
+19
-6
operate.vue
src/views/delivery/operate.vue
+15
-2
out.vue
src/views/delivery/out.vue
+15
-2
flow.vue
src/views/receive/flow.vue
+15
-2
get.vue
src/views/receive/get.vue
+15
-2
operate.vue
src/views/receive/operate.vue
+16
-2
account.vue
src/views/spotCheck/account.vue
+15
-2
goods.vue
src/views/spotCheck/goods.vue
+15
-2
stock.vue
src/views/statistics/stock.vue
+16
-3
没有找到文件。
src/views/account/goods.vue
View file @
8b8c69d4
...
...
@@ -9,12 +9,15 @@
<el-row
type=
"flex"
justify=
"space-between"
align=
"middle"
>
<el-col>
<el-form-item
label=
"管理单位 :"
>
<el-select
v-model=
"allSearchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
>
<el-option
<el-select
v-model=
"allSearchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
:filter-method=
"getOrgName"
>
<
!--
<
el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgCode"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -217,7 +220,8 @@ export default {
// 抽屉flag
drawerFlag
:
false
,
// 数据导出抽屉的flag
exportDrawerFlag
:
false
exportDrawerFlag
:
false
,
orgList
:
[]
}
},
...
...
@@ -328,16 +332,26 @@ export default {
// 获取下拉列表
async
getSelecData
()
{
// 获取管理单位
const
{
data
:
res
}
=
await
this
.
$axios
.
get
(
'/org/getAllGl'
)
if
(
res
.
code
!==
99200
)
return
this
.
$message
(
res
.
message
)
this
.
allFH
=
res
.
data
//
const { data: res } = await this.$axios.get('/org/getAllGl')
//
if (res.code !== 99200) return this.$message(res.message)
//
this.allFH = res.data
// 获取物资列表
const
{
data
:
stres
}
=
await
this
.
$axios
.
get
(
'/account/getDefStoreGoods'
)
if
(
stres
.
code
!==
99200
)
return
this
.
$message
(
stres
.
message
)
this
.
storeGoodsSelectData
=
stres
.
data
this
.
storeGoodsSelectDataCopy
=
stres
.
data
}
},
async
getOrgName
(
orgCode
)
{
console
.
log
(
orgCode
)
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
},
computed
:
{
...
...
src/views/account/shelvesMaintain.vue
View file @
8b8c69d4
...
...
@@ -276,13 +276,13 @@
</el-form-item>
<el-form-item
label=
"发物单位:"
prop=
"fwOrgCode"
>
<el-select
filterable
v-model=
"addNewFormData.fwOrgCode"
placeholder=
"请输入发物单位代码"
style=
"width: 100%"
:filter-method=
"getOrgName"
@
change=
"handleChange1"
allowClear
filterable
v-model=
"addNewFormData.fwOrgCode"
placeholder=
"请输入发物单位代码"
style=
"width: 100%"
:filter-method=
"getOrgName"
@
change=
"handleChange1"
allowClear
>
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{ d.orgName }}
...
...
@@ -810,23 +810,21 @@ export default {
//获取发物单位
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
}
},
handleChange1
(
value
)
{
this
.
setFormData
.
fwOrgCode
=
this
.
orgList
.
find
(
i
=>
i
.
orgCode
===
value
).
orgCode
;
this
.
setFormData
.
fwOrgName
=
this
.
orgList
.
find
(
i
=>
i
.
orgCode
===
value
).
orgName
;
},
handleChange2
(
value
)
{
this
.
setFormData
.
glOrgCode
=
this
.
orgList
.
find
(
i
=>
i
.
orgCode
===
value
).
orgCode
;
this
.
setFormData
.
glOrgName
=
this
.
orgList
.
find
(
i
=>
i
.
orgCode
===
value
).
orgName
;
},
...
...
src/views/delivery/flow.vue
View file @
8b8c69d4
...
...
@@ -20,12 +20,15 @@
<!--
<el-col
:span=
"5"
>
-->
<el-form-item
label=
"管理单位:"
>
<el-select
v-model=
"searchData.condition.glOrgName"
filterable
placeholder=
"请选择或输入管理单位"
clearable
class=
"mgr15"
style=
"width: 200px"
>
<el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgName"
>
<el-select
v-model=
"searchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
class=
"mgr15"
style=
"width: 200px"
:filter-method=
"getOrgName"
>
<!--
<el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgName"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -212,6 +215,7 @@ export default {
},
// 总条数
total
:
0
,
orgList
:
[]
}
},
...
...
@@ -250,6 +254,15 @@ export default {
this
.
timeData
=
[]
this
.
getGoodsData
()
},
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
// 获取统计信息
async
getSpanData
()
{
...
...
src/views/delivery/operate.vue
View file @
8b8c69d4
...
...
@@ -18,12 +18,15 @@
</el-form-item>
<el-form-item
label=
"管理单位 :"
>
<el-select
v-model=
"searchData.condition.glOrg
Name"
filterable
placeholder=
"请选择或输入管理单位"
clearable
class=
"mgr15"
style=
"width: 200px
"
>
<el-option
<el-select
v-model=
"searchData.condition.glOrg
Code"
filterable
placeholder=
"请选择或输入管理单位"
clearable
class=
"mgr15"
style=
"width: 200px"
:filter-method=
"getOrgName
"
>
<
!--
<
el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgName"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -239,6 +242,7 @@ export default {
},
// 总条数
total
:
0
,
orgList
:
[]
}
},
...
...
@@ -283,6 +287,15 @@ export default {
if
(
res1
.
code
!==
99200
)
return
this
.
$message
(
res1
.
message
)
this
.
allFH
=
res1
.
data
},
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
// 获取号型详情
async
getTypeData
(
row
)
{
row
?
this
.
activeGoods
=
row
:
''
...
...
src/views/delivery/out.vue
View file @
8b8c69d4
...
...
@@ -16,12 +16,15 @@
</el-form-item>
<el-form-item
label=
"管理单位 :"
class=
"mgr15"
>
<el-select
v-model=
"searchData.glOrg
Name"
filterable
placeholder=
"请选择或输入管理单位"
clearable
>
<el-option
<el-select
v-model=
"searchData.glOrg
Code"
filterable
placeholder=
"请选择或输入管理单位"
clearable
:filter-method=
"getOrgName"
>
<
!--
<
el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgName"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -279,6 +282,7 @@ export default {
},
// 总条数
total
:
0
,
orgList
:
[]
}
},
...
...
@@ -305,6 +309,15 @@ export default {
let
time
=
y
+
'-'
+
m
+
'-'
+
d
this
.
searchData
.
condition
.
date
=
time
},
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
// 同步数据
async
syncData
()
{
this
.
loadingFlag
=
true
...
...
src/views/receive/flow.vue
View file @
8b8c69d4
...
...
@@ -21,12 +21,15 @@
<!--
<el-col
:span=
"5"
>
-->
<el-form-item
label=
"管理单位:"
>
<el-select
v-model=
"searchData.condition.glOrg
Name"
filterable
placeholder=
"请选择或输入管理单位"
clearable
class=
"mgr15"
style=
"width: 200px
"
>
<el-option
<el-select
v-model=
"searchData.condition.glOrg
Code"
filterable
placeholder=
"请选择或输入管理单位"
clearable
class=
"mgr15"
style=
"width: 200px"
:filter-method=
"getOrgName
"
>
<
!--
<
el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgName"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -219,6 +222,7 @@ export default {
},
// 总条数
total
:
0
,
orgList
:
[]
}
},
...
...
@@ -296,6 +300,15 @@ export default {
if
(
res1
.
code
!==
99200
)
return
this
.
$message
(
res1
.
message
)
this
.
allFH
=
res1
.
data
},
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
// 时间选择器回调
dateChange
(
date
)
{
...
...
src/views/receive/get.vue
View file @
8b8c69d4
...
...
@@ -24,12 +24,15 @@
v-model=
"searchData.condition.glOrgName"
style=
"widht: 100px"
/>
-->
<el-select
v-model=
"searchData.glOrg
Name"
filterable
placeholder=
"请选择或输入管理单位"
clearable
>
<el-option
<el-select
v-model=
"searchData.glOrg
Code"
filterable
placeholder=
"请选择或输入管理单位"
clearable
:filter-method=
"getOrgName"
>
<
!--
<
el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgName"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -270,6 +273,7 @@ export default {
},
// 总条数
total
:
0
,
orgList
:
[]
}
},
...
...
@@ -285,6 +289,15 @@ export default {
},
methods
:
{
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
// 同步数据
async
syncData
()
{
this
.
loadingFlag
=
true
...
...
src/views/receive/operate.vue
View file @
8b8c69d4
...
...
@@ -19,12 +19,16 @@
</el-form-item>
<el-form-item
label=
"管理单位 :"
>
<el-select
v-model=
"searchData.condition.glOrgName"
filterable
placeholder=
"请选择或输入管理单位"
clearable
class=
"mgr15"
style=
"width: 200px"
>
<el-option
<el-select
v-model=
"searchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
class=
"mgr15"
style=
"width: 200px"
:filter-method=
"getOrgName"
>
<!--
<el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgName"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -241,6 +245,7 @@ export default {
},
// 总条数
total
:
0
,
orgList
:
[]
}
},
...
...
@@ -257,6 +262,15 @@ export default {
},
methods
:
{
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
// 重置
resClick
()
{
this
.
searchData
=
{
...
...
src/views/spotCheck/account.vue
View file @
8b8c69d4
...
...
@@ -8,12 +8,15 @@
<el-form
:inline=
"true"
:model=
"allSearchData.condition"
size=
"medium"
style=
"height: 70px"
label-position=
"left"
>
<el-row
align=
"middle"
>
<el-form-item
label=
"管理单位 :"
>
<el-select
v-model=
"allSearchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
>
<el-option
<el-select
v-model=
"allSearchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
:filter-method=
"getOrgName"
>
<
!--
<
el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgCode"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -157,6 +160,7 @@ export default {
allData
:
[],
// 托盘明细
tpData
:
[],
orgList
:
[],
allFH
:
[],
storeGoodsSelectData
:
[],
...
...
@@ -199,6 +203,15 @@ export default {
},
methods
:
{
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
async
remoteMethod
(
value
)
{
if
(
value
)
{
//val存在
const
{
data
:
stres
}
=
await
this
.
$axios
.
get
(
'/account/getDefStoreGoods?goodsCode='
+
value
)
...
...
src/views/spotCheck/goods.vue
View file @
8b8c69d4
...
...
@@ -9,12 +9,15 @@
<el-row
align=
"middle"
>
<el-form-item
label=
"管理单位 :"
>
<el-select
v-model=
"allSearchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
>
<el-option
<el-select
v-model=
"allSearchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
:filter-method=
"getOrgName"
>
<
!--
<
el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgCode"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -235,6 +238,7 @@ export default {
condition
:
{}
},
tpTotal
:
0
,
orgList
:
[]
}
},
...
...
@@ -252,6 +256,15 @@ export default {
},
methods
:
{
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
async
remoteMethod
(
value
)
{
if
(
value
)
{
//val存在
const
{
data
:
stres
}
=
await
this
.
$axios
.
get
(
'/account/getDefStoreGoods?goodsCode='
+
value
)
...
...
src/views/statistics/stock.vue
View file @
8b8c69d4
...
...
@@ -9,12 +9,15 @@
<el-row
type=
"flex"
justify=
"space-between"
align=
"middle"
>
<el-col>
<el-form-item
label=
"管理单位 :"
>
<el-select
v-model=
"allSearchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
>
<el-option
<el-select
v-model=
"allSearchData.condition.glOrgCode"
filterable
placeholder=
"请选择或输入管理单位"
clearable
:filter-method=
"getOrgName"
>
<
!--
<
el-option
v-for=
"item in allFH"
:key=
"item.glOrgCode"
:label=
"item.glOrgName"
:value=
"item.glOrgCode"
>
</el-option>
-->
<el-option
v-for=
"d in orgList"
:key=
"d.orgCode"
:label=
"d.orgName"
:value=
"d.orgCode"
>
{{
d
.
orgName
}}
</el-option>
</el-select>
</el-form-item>
...
...
@@ -192,7 +195,8 @@
// 抽屉flag
drawerFlag
:
false
,
// 数据导出抽屉的flag
exportDrawerFlag
:
false
exportDrawerFlag
:
false
,
orgList
:
[]
}
},
...
...
@@ -209,6 +213,15 @@
},
methods
:
{
async
getOrgName
(
orgCode
)
{
if
(
null
!=
orgCode
&&
''
!=
orgCode
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
post
(
'/org/getOrgByCode'
,
{
orgCode
:
orgCode
})
if
(
res
.
code
!==
99200
)
return
this
.
$message
.
error
(
res
.
message
)
this
.
orgList
=
res
.
data
}
},
// 重置
resClick
()
{
this
.
allSearchData
=
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论