|
@@ -1,10 +1,10 @@
|
|
<template>
|
|
<template>
|
|
<div class="container">
|
|
<div class="container">
|
|
<el-row>
|
|
<el-row>
|
|
- <el-col :span="20">
|
|
|
|
|
|
+ <el-col :span="18">
|
|
<h2 class="bg-left title">流转记录</h2>
|
|
<h2 class="bg-left title">流转记录</h2>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="4" class="bg-right">
|
|
|
|
|
|
+ <el-col :span="6" class="bg-right">
|
|
<el-button
|
|
<el-button
|
|
class="bg-bottom"
|
|
class="bg-bottom"
|
|
type="primary"
|
|
type="primary"
|
|
@@ -12,6 +12,13 @@
|
|
@click="iossrecord()"
|
|
@click="iossrecord()"
|
|
>盘损记录</el-button
|
|
>盘损记录</el-button
|
|
>
|
|
>
|
|
|
|
+ <el-button
|
|
|
|
+ class="bg-bottom"
|
|
|
|
+ type="primary"
|
|
|
|
+ size="small"
|
|
|
|
+ @click="returnWarehouse()"
|
|
|
|
+ >返回</el-button
|
|
|
|
+ >
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<div class="center">
|
|
<div class="center">
|
|
@@ -20,7 +27,7 @@
|
|
<ws-form ref="deptBudgetList" :model="deptBudgetList">
|
|
<ws-form ref="deptBudgetList" :model="deptBudgetList">
|
|
<ws-button
|
|
<ws-button
|
|
type="primary"
|
|
type="primary"
|
|
- @click="1"
|
|
|
|
|
|
+ @click="record('')"
|
|
v-hasPermission="
|
|
v-hasPermission="
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
"
|
|
"
|
|
@@ -28,7 +35,7 @@
|
|
>
|
|
>
|
|
<ws-button
|
|
<ws-button
|
|
type="primary"
|
|
type="primary"
|
|
- @click="1"
|
|
|
|
|
|
+ @click="record(1)"
|
|
v-hasPermission="
|
|
v-hasPermission="
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
"
|
|
"
|
|
@@ -36,32 +43,75 @@
|
|
>
|
|
>
|
|
<ws-button
|
|
<ws-button
|
|
type="primary"
|
|
type="primary"
|
|
- @click="1"
|
|
|
|
|
|
+ @click="record(2)"
|
|
v-hasPermission="
|
|
v-hasPermission="
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
"
|
|
"
|
|
>入库记录</ws-button
|
|
>入库记录</ws-button
|
|
>
|
|
>
|
|
- <el-table>
|
|
|
|
|
|
+ <el-table :data="warehouseList.records">
|
|
|
|
+ <el-table-column type="expand">
|
|
|
|
+ <template #default="props">
|
|
|
|
+ <ws-form ref="deptBudgetList" :model="deptBudgetList">
|
|
|
|
+ <ws-info-table>
|
|
|
|
+ <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
|
|
|
|
+ {{ props.row.waterContent }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="容重(%)<=" span="1" prop="bulkDensity">
|
|
|
|
+ {{ props.row.bulkDensity }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
|
|
|
|
+ {{ props.row.jiaorenli }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
|
|
|
|
+ {{ props.row.impurity }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="霉变粒(%)<=" span="1" prop="mildewGrain">
|
|
|
|
+ {{ props.row.mildewGrain }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item
|
|
|
|
+ label="不完善粒(%)<="
|
|
|
|
+ span="1"
|
|
|
|
+ prop="imperfectGrain"
|
|
|
|
+ >
|
|
|
|
+ {{ props.row.imperfectGrain }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="质检员" span="1" prop="qualityInspector">
|
|
|
|
+ {{ props.row.qualityInspector }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ </ws-info-table>
|
|
|
|
+ </ws-form>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column type="index" label="序号">
|
|
<el-table-column type="index" label="序号">
|
|
<template scope="scope">
|
|
<template scope="scope">
|
|
<span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
|
|
<span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
|
|
<span v-else>{{ scope.$index + 1 }}</span>
|
|
<span v-else>{{ scope.$index + 1 }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="contractNo" label="货名"> </el-table-column>
|
|
|
|
- <el-table-column prop="goodsName" label="毛重(吨)"></el-table-column>
|
|
|
|
- <el-table-column prop="weight" label="皮重(吨)"> </el-table-column>
|
|
|
|
- <el-table-column prop="unitContractPrice" label="净重(吨)"></el-table-column>
|
|
|
|
- <el-table-column prop="packingMethod" label="品级"> </el-table-column>
|
|
|
|
- <el-table-column prop="buyer" label="出入库日期"> </el-table-column>
|
|
|
|
- <el-table-column prop="buyer" label="类型"> </el-table-column>
|
|
|
|
- <el-table-column prop="buyer" label="合同编号"> </el-table-column>
|
|
|
|
- <el-table-column prop="buyer" label="车牌号"> </el-table-column>
|
|
|
|
- <el-table-column prop="buyer" label="经办人"> </el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="goodsName" label="货名"> </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="grossWeight"
|
|
|
|
+ label="毛重(吨)"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column prop="tare" label="皮重(吨)"> </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="netWeight"
|
|
|
|
+ label="净重(吨)"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column prop="grade" label="品级"> </el-table-column>
|
|
|
|
+ <el-table-column prop="inOutDate" label="出入库日期">
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="inOutType" label="类型"> </el-table-column>
|
|
|
|
+ <el-table-column prop="contractNo" label="合同编号">
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="carNo" label="车牌号"> </el-table-column>
|
|
|
|
+ <el-table-column prop="qualityInspector" label="经办人">
|
|
|
|
+ </el-table-column>
|
|
<el-table-column prop="buyer" label="内勤"> </el-table-column>
|
|
<el-table-column prop="buyer" label="内勤"> </el-table-column>
|
|
- <el-table-column prop="buyer" label="附件"> </el-table-column>
|
|
|
|
- <el-table-column prop="buyer" label="录入时间"> </el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="addressUrl" label="附件"> </el-table-column>
|
|
|
|
+ <el-table-column prop="createDate" label="录入时间">
|
|
|
|
+ </el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<div style="text-align: right; padding: 10px">
|
|
<div style="text-align: right; padding: 10px">
|
|
<el-button
|
|
<el-button
|
|
@@ -77,12 +127,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import {
|
|
|
|
- getList,
|
|
|
|
- export1,
|
|
|
|
- editstatus,
|
|
|
|
- billoperatehis,
|
|
|
|
-} from '@/model/contarct/index'
|
|
|
|
|
|
+import { addselectinfoList } from '@/model/warehouse/index'
|
|
import { downloadFile } from '@/utils/batchDown'
|
|
import { downloadFile } from '@/utils/batchDown'
|
|
import Pagination from '@/components/Pagination'
|
|
import Pagination from '@/components/Pagination'
|
|
import WsUpload from '@/components/WsUpload'
|
|
import WsUpload from '@/components/WsUpload'
|
|
@@ -129,13 +174,16 @@ export default {
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
deptCircularPage: {},
|
|
deptCircularPage: {},
|
|
packtypeList: {},
|
|
packtypeList: {},
|
|
|
|
+ currentPage: 1,
|
|
|
|
+ pageSize: 10,
|
|
date: {
|
|
date: {
|
|
year: dayjs().format('YYYY'),
|
|
year: dayjs().format('YYYY'),
|
|
month: dayjs().format('MM'),
|
|
month: dayjs().format('MM'),
|
|
},
|
|
},
|
|
- contractList: [],
|
|
|
|
|
|
+ warehouseList: [],
|
|
deptBudgetList: {},
|
|
deptBudgetList: {},
|
|
historyList: [],
|
|
historyList: [],
|
|
|
|
+ searchType: '',
|
|
|
|
|
|
pickerBeginDateBefore: {
|
|
pickerBeginDateBefore: {
|
|
disabledDate: (time) => {
|
|
disabledDate: (time) => {
|
|
@@ -149,6 +197,10 @@ export default {
|
|
//cg.viewBudget
|
|
//cg.viewBudget
|
|
//cg.viewSpareMoney
|
|
//cg.viewSpareMoney
|
|
// this.getVesselData();
|
|
// this.getVesselData();
|
|
|
|
+ this.deptBudgetList.baseId = this.$route.query.baseId
|
|
|
|
+ this.deptBudgetList.positionId = this.$route.query.positionId
|
|
|
|
+ this.deptBudgetList.warehouseName = this.$route.query.warehouseName
|
|
|
|
+ console.log(111)
|
|
this.getList()
|
|
this.getList()
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
@@ -196,33 +248,36 @@ export default {
|
|
console.log(`当前页: ${val}`)
|
|
console.log(`当前页: ${val}`)
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
|
|
+ record(status) {
|
|
|
|
+ this.searchType = status
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
getList() {
|
|
getList() {
|
|
- getList({
|
|
|
|
|
|
+ addselectinfoList({
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
- contractType: this.contractType,
|
|
|
|
|
|
+ baseId: this.deptBudgetList.baseId,
|
|
|
|
+ positionId: this.deptBudgetList.positionId,
|
|
|
|
+ warehouseName: this.deptBudgetList.warehouseName,
|
|
|
|
+ searchType: this.searchType,
|
|
currentPage: this.currentPage,
|
|
currentPage: this.currentPage,
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
- searchType: this.searchType,
|
|
|
|
- searchKeyWord: this.searchKeyWord,
|
|
|
|
- startDate: this.startDate,
|
|
|
|
- endDate: this.endDate,
|
|
|
|
- contrPage: this.contrPage,
|
|
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
- for (var i = 0; i < response.records.length; i++) {
|
|
|
|
- if (response.records[i].addressUrl != null) {
|
|
|
|
- response.records[i].addressUrlArray = response.records[
|
|
|
|
- i
|
|
|
|
- ].addressUrl.split(',')
|
|
|
|
- } else {
|
|
|
|
- response.records[i].addressUrlArray = []
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- this.deptCircularPage.currentPage = response.current
|
|
|
|
- this.deptCircularPage.pageSize = response.size
|
|
|
|
- this.deptBudgetTotal = response.total
|
|
|
|
- this.contractList = response
|
|
|
|
|
|
+ console.log(response)
|
|
|
|
+ // for (var i = 0; i < response.records.length; i++) {
|
|
|
|
+ // if (response.records[i].addressUrl != null) {
|
|
|
|
+ // response.records[i].addressUrlArray = response.records[
|
|
|
|
+ // i
|
|
|
|
+ // ].addressUrl.split(',')
|
|
|
|
+ // } else {
|
|
|
|
+ // response.records[i].addressUrlArray = []
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // this.deptCircularPage.currentPage = response.current
|
|
|
|
+ // this.deptCircularPage.pageSize = response.size
|
|
|
|
+ // this.deptBudgetTotal = response.total
|
|
|
|
+ this.warehouseList = response
|
|
})
|
|
})
|
|
},
|
|
},
|
|
selecttaskType(e) {
|
|
selecttaskType(e) {
|
|
@@ -306,6 +361,12 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+/deep/.el-form .el-form-item {
|
|
|
|
+ width: 14.28%;
|
|
|
|
+}
|
|
|
|
+/deep/.ws-info-table .el-form-item .el-form-item__label {
|
|
|
|
+ width: 100px;
|
|
|
|
+}
|
|
.center {
|
|
.center {
|
|
position: relative;
|
|
position: relative;
|
|
top: 50px;
|
|
top: 50px;
|
|
@@ -313,22 +374,20 @@ export default {
|
|
height: 500px;
|
|
height: 500px;
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
-.center button{
|
|
|
|
|
|
+.center button {
|
|
margin-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
}
|
|
.container .bg-left {
|
|
.container .bg-left {
|
|
margin-left: 40px;
|
|
margin-left: 40px;
|
|
}
|
|
}
|
|
-.container .bg-bottom {
|
|
|
|
- position: absolute;
|
|
|
|
- float: right;
|
|
|
|
- top: 15px;
|
|
|
|
- right: 20px;
|
|
|
|
-}
|
|
|
|
.vertical-text-left {
|
|
.vertical-text-left {
|
|
width: 62px;
|
|
width: 62px;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
+.bg-right {
|
|
|
|
+ text-align: right;
|
|
|
|
+ padding: 10px;
|
|
|
|
+}
|
|
/deep/.el-form-item {
|
|
/deep/.el-form-item {
|
|
width: 33%;
|
|
width: 33%;
|
|
}
|
|
}
|