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
02bc9305
Commit
02bc9305
authored
Jan 04, 2021
by
wangweidong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
743ee89e
621ada2d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
34 additions
and
14 deletions
+34
-14
PhotoManageCont.vue
components/file/photo-manage/PhotoManageCont.vue
+14
-0
EntrustRegister.vue
pages/soil-alone-sample-instock/EntrustRegister.vue
+2
-2
EntrustRegister.vue
...ple-manage/soil-alone-sample-outstock/EntrustRegister.vue
+1
-1
Outstock.vue
...one-sample-manage/soil-alone-sample-outstock/Outstock.vue
+0
-7
AddressManage.vue
...-sample-manage/storehouse-sample-manage/AddressManage.vue
+14
-1
EntrustRegister.vue
pages/soil-alone-sample/EntrustRegister.vue
+1
-1
ReportMakeByEntrust.vue
...il-report-manage/report-make/tabs/ReportMakeByEntrust.vue
+1
-1
SampleRightList.vue
...il-test-manage/test-input/sample-tabs/SampleRightList.vue
+1
-1
No files found.
components/file/photo-manage/PhotoManageCont.vue
View file @
02bc9305
...
@@ -125,6 +125,20 @@ export default {
...
@@ -125,6 +125,20 @@ export default {
viewUri
:
'/food/v1/sample_attachment/view'
viewUri
:
'/food/v1/sample_attachment/view'
}
}
break
break
case
'aloneSampleId'
:
// 样品
this
.
entrustId
=
id
this
.
urlData
=
{
msg
:
'FoodSampleAttachment'
,
pageUrl
:
'soil/v1/alone_sample_annex/page'
,
deleteUrl
:
'/soil/v1/alone_sample_annex/?ids='
,
uploadFileUrl
:
'/soil/v1/alone_sample_annex/upload/'
,
downloadFileUrl
:
'/soil/v1/alone_sample_annex/download/'
,
downloadBatch
:
'/food/v1/sample_attachment/download_batch'
,
uri
:
'FoodSampleAttachment/getBySampleId'
,
viewUri
:
'/soil/v1/alone_sample_annex/view'
}
break
case
'subcontractorId'
:
case
'subcontractorId'
:
// 分包商
// 分包商
this
.
subcontractorId
=
id
this
.
subcontractorId
=
id
...
...
pages/soil-alone-sample-instock/EntrustRegister.vue
View file @
02bc9305
...
@@ -257,7 +257,7 @@ export default {
...
@@ -257,7 +257,7 @@ export default {
// 上传照片文件
// 上传照片文件
this
.
currentComponent
=
'PhotoManage'
this
.
currentComponent
=
'PhotoManage'
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
data
.
id
,
'
entrust
Id'
)
this
.
$refs
.
refModal
.
_open
(
data
.
id
,
'
aloneSample
Id'
)
})
})
// this.$refs.PhotoManage._open(id, 'entrustId')
// this.$refs.PhotoManage._open(id, 'entrustId')
},
},
...
@@ -410,7 +410,7 @@ export default {
...
@@ -410,7 +410,7 @@ export default {
// 上传文件
// 上传文件
this
.
currentComponent
=
'FileManage'
this
.
currentComponent
=
'FileManage'
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
id
,
'
entrust
Id'
)
this
.
$refs
.
refModal
.
_open
(
id
,
'
aloneSample
Id'
)
})
})
},
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
...
...
pages/soil-alone-sample-manage/soil-alone-sample-outstock/EntrustRegister.vue
View file @
02bc9305
...
@@ -393,7 +393,7 @@ export default {
...
@@ -393,7 +393,7 @@ export default {
// 上传文件
// 上传文件
this
.
currentComponent
=
'FileManage'
this
.
currentComponent
=
'FileManage'
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
id
,
'
entrust
Id'
)
this
.
$refs
.
refModal
.
_open
(
id
,
'
aloneSample
Id'
)
})
})
},
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
...
...
pages/soil-alone-sample-manage/soil-alone-sample-outstock/Outstock.vue
View file @
02bc9305
...
@@ -4,13 +4,6 @@
...
@@ -4,13 +4,6 @@
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<div>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
<Form-item
label=
"库房号"
prop=
"storehouse"
style=
"width: 100%"
>
<Input
v-model=
"formObj.storehouse"
name=
"storehouse"
style=
"width: 95%;"
placeholder=
"请输入库房号"
/>
<span
@
click=
"_storageModel()"
style=
"font-size: 20px;color: #00b5ec"
>
+
</span>
</Form-item>
<Form-item
label=
"架位号"
prop=
"shelfCode"
style=
"width: 100%"
>
<Input
v-model=
"formObj.shelfCode"
name=
"shelfCode"
placeholder=
"请输入架位号"
/>
</Form-item>
<Form-item
label=
"出库人"
prop=
"outStocker"
style=
"width: 100%"
>
<Form-item
label=
"出库人"
prop=
"outStocker"
style=
"width: 100%"
>
<Input
v-model=
"formObj.outStocker"
@
click
.
native=
"_selectStaff"
name=
"outStocker"
readonly
/>
<Input
v-model=
"formObj.outStocker"
@
click
.
native=
"_selectStaff"
name=
"outStocker"
readonly
/>
</Form-item>
</Form-item>
...
...
pages/soil-alone-sample-manage/storehouse-sample-manage/AddressManage.vue
View file @
02bc9305
...
@@ -64,6 +64,7 @@
...
@@ -64,6 +64,7 @@
<!--组件加载-->
<!--组件加载-->
<ViewSample
ref=
"viewSample"
></ViewSample>
<ViewSample
ref=
"viewSample"
></ViewSample>
<ViewDetail
ref=
"viewDetail"
></ViewDetail>
<ViewDetail
ref=
"viewDetail"
></ViewDetail>
<Outstock
ref=
"outStockModal"
@
on-result-change=
"_page"
></Outstock>
<FileManage
ref=
"FileManage"
@
on-result-change=
"_page"
></FileManage>
<FileManage
ref=
"FileManage"
@
on-result-change=
"_page"
></FileManage>
<BatchModal
ref=
"batchModal"
@
on-result-change=
"_page"
></BatchModal>
<BatchModal
ref=
"batchModal"
@
on-result-change=
"_page"
></BatchModal>
<stockSampleEdit
ref=
"editModal"
@
on-result-change=
"_page"
></stockSampleEdit>
<stockSampleEdit
ref=
"editModal"
@
on-result-change=
"_page"
></stockSampleEdit>
...
@@ -73,6 +74,7 @@
...
@@ -73,6 +74,7 @@
<
script
>
<
script
>
import
{
soilEntrust
,
soilSample
}
from
'../../../api'
import
{
soilEntrust
,
soilSample
}
from
'../../../api'
import
ViewDetail
from
'../../soil-alone-sample/ViewDetail'
import
ViewDetail
from
'../../soil-alone-sample/ViewDetail'
import
Outstock
from
'../soil-alone-sample-outstock/Outstock'
import
ViewSample
from
'./ViewLocationEntrust'
import
ViewSample
from
'./ViewLocationEntrust'
import
stockSampleEdit
from
'./stockSampleEdit'
import
stockSampleEdit
from
'./stockSampleEdit'
import
BatchModal
from
'./BatchModal'
import
BatchModal
from
'./BatchModal'
...
@@ -81,7 +83,8 @@ export default {
...
@@ -81,7 +83,8 @@ export default {
stockSampleEdit
,
stockSampleEdit
,
ViewSample
,
ViewSample
,
ViewDetail
,
ViewDetail
,
BatchModal
BatchModal
,
Outstock
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -156,6 +159,9 @@ export default {
...
@@ -156,6 +159,9 @@ export default {
this
.
_editModal
(
false
)
this
.
_editModal
(
false
)
})
})
break
break
case
'出库'
:
this
.
_outstock
()
break
case
'批量填写'
:
case
'批量填写'
:
this
.
_bathChange
()
this
.
_bathChange
()
break
break
...
@@ -176,6 +182,13 @@ export default {
...
@@ -176,6 +182,13 @@ export default {
break
break
}
}
},
},
_outstock
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请至少选择一条数据'
)
}
else
{
this
.
$refs
.
outStockModal
.
_open
(
this
.
selectIds
)
}
},
_bathChange
()
{
_bathChange
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请至少选择一条数据'
)
this
.
$Message
.
warning
(
'请至少选择一条数据'
)
...
...
pages/soil-alone-sample/EntrustRegister.vue
View file @
02bc9305
...
@@ -242,7 +242,7 @@ export default {
...
@@ -242,7 +242,7 @@ export default {
})
})
},
},
_submitToInstock
()
{
_submitToInstock
()
{
this
.
_submitByContractIds
(
'
出
库'
)
this
.
_submitByContractIds
(
'
入
库'
)
},
},
_submitToSkipReview
()
{
_submitToSkipReview
()
{
const
ids
=
this
.
selectIds
const
ids
=
this
.
selectIds
...
...
pages/soil-report-manage/report-make/tabs/ReportMakeByEntrust.vue
View file @
02bc9305
...
@@ -348,7 +348,7 @@ export default {
...
@@ -348,7 +348,7 @@ export default {
this
.
$openWindowModeless
({
this
.
$openWindowModeless
({
objectKey
:
data
.
objectKey
,
objectKey
:
data
.
objectKey
,
id
:
id
,
id
:
id
,
idType
:
1
1
,
idType
:
1
2
,
isReport
:
4
isReport
:
4
})
})
},
},
...
...
pages/soil-test-manage/test-input/sample-tabs/SampleRightList.vue
View file @
02bc9305
...
@@ -408,7 +408,7 @@ export default {
...
@@ -408,7 +408,7 @@ export default {
})
})
},
},
_submitOk
:
async
function
()
{
_submitOk
:
async
function
()
{
const
result
=
await
soilTest
.
endExp
(
this
.
selectIds
.
join
(
','
)
)
const
result
=
await
soilTest
.
endExp
Ids
({
ids
:
this
.
selectIds
.
join
(
','
)
}
)
if
(
result
)
{
if
(
result
)
{
this
.
_resultChange
(
'提交成功'
)
this
.
_resultChange
(
'提交成功'
)
}
}
...
...
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