Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
wangweidong
patzn-cloud-web-back-soil
Commits
aa319e31
Commit
aa319e31
authored
Jan 19, 2021
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
土工试验Lims
parent
c4cf6033
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
80 additions
and
16 deletions
+80
-16
soil-entrust.js
api/soil/soil-entrust.js
+2
-0
EntrustRegister.vue
pages/soil-alone-sample-instock/EntrustRegister.vue
+2
-2
EntrustRegisterHis.vue
pages/soil-alone-sample-instock/EntrustRegisterHis.vue
+1
-1
ViewDetail.vue
pages/soil-alone-sample-instock/ViewDetail.vue
+18
-1
EntrustIndex.vue
...sample-manage/soil-alone-sample-outstock/EntrustIndex.vue
+0
-1
EntrustRegister.vue
...ple-manage/soil-alone-sample-outstock/EntrustRegister.vue
+2
-2
EntrustRegisterHis.vue
...-manage/soil-alone-sample-outstock/EntrustRegisterHis.vue
+1
-1
ViewDetail.vue
...e-sample-manage/soil-alone-sample-outstock/ViewDetail.vue
+28
-0
AddressManage.vue
...-sample-manage/storehouse-sample-manage/AddressManage.vue
+2
-2
AddressManageHis.vue
...mple-manage/storehouse-sample-manage/AddressManageHis.vue
+2
-2
EntrustRegister.vue
pages/soil-alone-sample/EntrustRegister.vue
+2
-2
EntrustRegisterHis.vue
pages/soil-alone-sample/EntrustRegisterHis.vue
+1
-1
ViewDetail.vue
pages/soil-alone-sample/ViewDetail.vue
+19
-1
No files found.
api/soil/soil-entrust.js
View file @
aa319e31
...
@@ -149,6 +149,8 @@ export default {
...
@@ -149,6 +149,8 @@ export default {
http
.
post
(
'soil/v1/alone_sample/'
,
data
).
then
(
res
=>
res
),
http
.
post
(
'soil/v1/alone_sample/'
,
data
).
then
(
res
=>
res
),
aloneSampleGetById
:
data
=>
aloneSampleGetById
:
data
=>
http
.
get
(
'soil/v1/alone_sample/'
+
data
).
then
(
res
=>
res
),
http
.
get
(
'soil/v1/alone_sample/'
+
data
).
then
(
res
=>
res
),
getAloneVOById
:
data
=>
http
.
get
(
'soil/v1/alone_sample/vo/'
+
data
).
then
(
res
=>
res
),
aloneSampleEdit
:
data
=>
aloneSampleEdit
:
data
=>
http
.
put
(
'soil/v1/alone_sample/'
+
data
.
id
,
data
).
then
(
res
=>
res
),
http
.
put
(
'soil/v1/alone_sample/'
+
data
.
id
,
data
).
then
(
res
=>
res
),
aloneSampleDelete
:
data
=>
aloneSampleDelete
:
data
=>
...
...
pages/soil-alone-sample-instock/EntrustRegister.vue
View file @
aa319e31
...
@@ -393,7 +393,7 @@ export default {
...
@@ -393,7 +393,7 @@ export default {
}
}
},
},
_getDetailById
:
async
function
(
id
)
{
_getDetailById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
@@ -409,7 +409,7 @@ export default {
...
@@ -409,7 +409,7 @@ export default {
})
})
},
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
refModal
.
_openEdit
(
result
)
this
.
$refs
.
refModal
.
_openEdit
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
...
pages/soil-alone-sample-instock/EntrustRegisterHis.vue
View file @
aa319e31
...
@@ -183,7 +183,7 @@ export default {
...
@@ -183,7 +183,7 @@ export default {
}
}
},
},
_getDetailById
:
async
function
(
id
)
{
_getDetailById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
...
pages/soil-alone-sample-instock/ViewDetail.vue
View file @
aa319e31
...
@@ -31,6 +31,23 @@
...
@@ -31,6 +31,23 @@
<th>
登记日期
</th>
<th>
登记日期
</th>
<td>
{{
$dateformat
(
obj
.
registTime
,
'yyyy-mm-dd'
)
}}
</td>
<td>
{{
$dateformat
(
obj
.
registTime
,
'yyyy-mm-dd'
)
}}
</td>
</tr>
</tr>
<tr>
<th>
库房号
</th>
<td>
{{
obj
.
storehouse
}}
</td>
<th>
货架号
</th>
<td>
{{
obj
.
shelfCode
}}
</td>
</tr>
<tr>
<th>
入库人
</th>
<td>
{{
obj
.
inStocker
}}
</td>
<th>
入库时间
</th>
<td>
{{
$dateformat
(
obj
.
instockTime
,
'yyyy-mm-dd'
)
}}
</td>
</tr>
<tr>
<th>
留存有效期
</th>
<td>
{{
$dateformat
(
obj
.
keepLimitTime
,
'yyyy-mm-dd'
)
}}
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -69,7 +86,7 @@ export default {
...
@@ -69,7 +86,7 @@ export default {
}
else
{
}
else
{
this
.
showMoney
=
false
this
.
showMoney
=
false
}
}
this
.
height
=
'
2
20px'
this
.
height
=
'
3
20px'
}
}
}
}
}
}
...
...
pages/soil-alone-sample-manage/soil-alone-sample-outstock/EntrustIndex.vue
View file @
aa319e31
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
<el-tab-pane
label=
"历史记录"
name=
"his"
></el-tab-pane>
<el-tab-pane
label=
"历史记录"
name=
"his"
></el-tab-pane>
</el-tabs>
</el-tabs>
<keep-alive>
<keep-alive>
<!-- eslint-disable-next-line vue/require-component-is -->
<component
ref=
"refModal"
:is=
"currentComponent"
></component>
<component
ref=
"refModal"
:is=
"currentComponent"
></component>
</keep-alive>
</keep-alive>
</div>
</div>
...
...
pages/soil-alone-sample-manage/soil-alone-sample-outstock/EntrustRegister.vue
View file @
aa319e31
...
@@ -381,7 +381,7 @@ export default {
...
@@ -381,7 +381,7 @@ export default {
}
}
},
},
_getDetailById
:
async
function
(
id
)
{
_getDetailById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
@@ -397,7 +397,7 @@ export default {
...
@@ -397,7 +397,7 @@ export default {
})
})
},
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
refModal
.
_openEdit
(
result
)
this
.
$refs
.
refModal
.
_openEdit
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
...
pages/soil-alone-sample-manage/soil-alone-sample-outstock/EntrustRegisterHis.vue
View file @
aa319e31
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
}
}
},
},
_getDetailById
:
async
function
(
id
)
{
_getDetailById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
...
pages/soil-alone-sample-manage/soil-alone-sample-outstock/ViewDetail.vue
View file @
aa319e31
...
@@ -31,6 +31,34 @@
...
@@ -31,6 +31,34 @@
<th>
登记日期
</th>
<th>
登记日期
</th>
<td>
{{
$dateformat
(
obj
.
registTime
,
'yyyy-mm-dd'
)
}}
</td>
<td>
{{
$dateformat
(
obj
.
registTime
,
'yyyy-mm-dd'
)
}}
</td>
</tr>
</tr>
<tr>
<th>
库房号
</th>
<td>
{{
obj
.
storehouse
}}
</td>
<th>
货架号
</th>
<td>
{{
obj
.
shelfCode
}}
</td>
</tr>
<tr>
<th>
入库人
</th>
<td>
{{
obj
.
inStocker
}}
</td>
<th>
入库时间
</th>
<td>
{{
$dateformat
(
obj
.
instockTime
,
'yyyy-mm-dd'
)
}}
</td>
</tr>
<tr>
<th>
留存有效期
</th>
<td>
{{
$dateformat
(
obj
.
keepLimitTime
,
'yyyy-mm-dd'
)
}}
</td>
<th>
出库人
</th>
<td>
{{
obj
.
outStocker
}}
</td>
</tr>
<tr>
<th>
出库时间
</th>
<td>
{{
$dateformat
(
obj
.
outStock
,
'yyyy-mm-dd'
)
}}
</td>
<th>
出库接收人
</th>
<td>
{{
obj
.
outStockReceiver
}}
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
...
pages/soil-alone-sample-manage/storehouse-sample-manage/AddressManage.vue
View file @
aa319e31
...
@@ -249,7 +249,7 @@ export default {
...
@@ -249,7 +249,7 @@ export default {
}
}
},
},
_getDetailById
:
async
function
(
id
)
{
_getDetailById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
viewDetail
.
_open
(
result
)
this
.
$refs
.
viewDetail
.
_open
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
@@ -273,7 +273,7 @@ export default {
...
@@ -273,7 +273,7 @@ export default {
}
}
},
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
editModal
.
_openEdit
(
result
)
this
.
$refs
.
editModal
.
_openEdit
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
...
pages/soil-alone-sample-manage/storehouse-sample-manage/AddressManageHis.vue
View file @
aa319e31
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
}
}
},
},
_getDetailById
:
async
function
(
id
)
{
_getDetailById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
viewDetail
.
_open
(
result
)
this
.
$refs
.
viewDetail
.
_open
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
@@ -284,7 +284,7 @@ export default {
...
@@ -284,7 +284,7 @@ export default {
}
}
},
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
editModal
.
_openEdit
(
result
)
this
.
$refs
.
editModal
.
_openEdit
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
...
pages/soil-alone-sample/EntrustRegister.vue
View file @
aa319e31
...
@@ -364,7 +364,7 @@ export default {
...
@@ -364,7 +364,7 @@ export default {
}
}
},
},
_getDetailById
:
async
function
(
id
)
{
_getDetailById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
@@ -380,7 +380,7 @@ export default {
...
@@ -380,7 +380,7 @@ export default {
})
})
},
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
refModal
.
_openEdit
(
result
)
this
.
$refs
.
refModal
.
_openEdit
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
...
pages/soil-alone-sample/EntrustRegisterHis.vue
View file @
aa319e31
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
}
}
},
},
_getDetailById
:
async
function
(
id
)
{
_getDetailById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
aloneSampleGet
ById
(
id
)
const
result
=
await
soilEntrust
.
getAloneVO
ById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
refModal
.
_open
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
...
pages/soil-alone-sample/ViewDetail.vue
View file @
aa319e31
...
@@ -31,6 +31,24 @@
...
@@ -31,6 +31,24 @@
<th>
登记日期
</th>
<th>
登记日期
</th>
<td>
{{
$dateformat
(
obj
.
registTime
,
'yyyy-mm-dd'
)
}}
</td>
<td>
{{
$dateformat
(
obj
.
registTime
,
'yyyy-mm-dd'
)
}}
</td>
</tr>
</tr>
<tr>
<th>
库房号
</th>
<td>
{{
obj
.
storehouse
}}
</td>
<th>
货架号
</th>
<td>
{{
obj
.
shelfCode
}}
</td>
</tr>
<tr>
<th>
入库人
</th>
<td>
{{
obj
.
inStocker
}}
</td>
<th>
入库时间
</th>
<td>
{{
$dateformat
(
obj
.
instockTime
,
'yyyy-mm-dd'
)
}}
</td>
</tr>
<tr>
<th>
留存有效期
</th>
<td>
{{
$dateformat
(
obj
.
keepLimitTime
,
'yyyy-mm-dd'
)
}}
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -68,7 +86,7 @@ export default {
...
@@ -68,7 +86,7 @@ export default {
}
else
{
}
else
{
this
.
showMoney
=
false
this
.
showMoney
=
false
}
}
this
.
height
=
'
25
0px'
this
.
height
=
'
39
0px'
}
}
}
}
}
}
...
...
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