|
@@ -10,7 +10,18 @@
|
|
v-hasPermission="
|
|
v-hasPermission="
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
"
|
|
"
|
|
- >添加</ws-button
|
|
|
|
|
|
+ ><img
|
|
|
|
+ width="13"
|
|
|
|
+ height="13"
|
|
|
|
+ style="
|
|
|
|
+ vertical-align: text-top;
|
|
|
|
+ position: relative;
|
|
|
|
+ top: 2px;
|
|
|
|
+ left: -4px;
|
|
|
|
+ "
|
|
|
|
+ src="../../../public/img/header-add.png"
|
|
|
|
+ alt=""
|
|
|
|
+ />添加</ws-button
|
|
>
|
|
>
|
|
<ws-button
|
|
<ws-button
|
|
@click="exportlist()"
|
|
@click="exportlist()"
|
|
@@ -64,13 +75,24 @@
|
|
></ws-input>
|
|
></ws-input>
|
|
<!-- v-hasPermission="'procurement.sparepart.directShip'" -->
|
|
<!-- v-hasPermission="'procurement.sparepart.directShip'" -->
|
|
<ws-button
|
|
<ws-button
|
|
|
|
+ class="find"
|
|
type="primary"
|
|
type="primary"
|
|
@click="find()"
|
|
@click="find()"
|
|
v-hasPermission="
|
|
v-hasPermission="
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
"
|
|
"
|
|
- >查找</ws-button
|
|
|
|
- >
|
|
|
|
|
|
+ ><img
|
|
|
|
+ width="16"
|
|
|
|
+ height="16"
|
|
|
|
+ style="
|
|
|
|
+ vertical-align: text-top;
|
|
|
|
+ position: relative;
|
|
|
|
+ top: 0px;
|
|
|
|
+ left: -8px;
|
|
|
|
+ "
|
|
|
|
+ src="../../../public/img/sousuo.png"
|
|
|
|
+ alt=""
|
|
|
|
+ /></ws-button>
|
|
</template>
|
|
</template>
|
|
</BaseHeaderLayout>
|
|
</BaseHeaderLayout>
|
|
<el-table
|
|
<el-table
|
|
@@ -99,6 +121,9 @@
|
|
<span v-if="scope.row.grade == '三等品'" class="third-class">{{
|
|
<span v-if="scope.row.grade == '三等品'" class="third-class">{{
|
|
scope.row.grade
|
|
scope.row.grade
|
|
}}</span>
|
|
}}</span>
|
|
|
|
+ <span v-if="scope.row.grade == '等外'" class="substandard">{{
|
|
|
|
+ scope.row.grade
|
|
|
|
+ }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="weight" label="重量(吨)"> </el-table-column>
|
|
<el-table-column prop="weight" label="重量(吨)"> </el-table-column>
|
|
@@ -108,6 +133,11 @@
|
|
<el-table-column prop="buyer" label="买方"> </el-table-column>
|
|
<el-table-column prop="buyer" label="买方"> </el-table-column>
|
|
<el-table-column prop="seller" label="卖方"> </el-table-column>
|
|
<el-table-column prop="seller" label="卖方"> </el-table-column>
|
|
<el-table-column prop="imperfectGrain" label="已完成(吨)">
|
|
<el-table-column prop="imperfectGrain" label="已完成(吨)">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span style="color: #5473e8; font-weight: 600">{{
|
|
|
|
+ scope.row.imperfectGrain
|
|
|
|
+ }}</span>
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="status" label="状态">
|
|
<el-table-column prop="status" label="状态">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -175,20 +205,37 @@
|
|
<!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
|
|
<!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="address" label="操作" width="300">
|
|
|
|
|
|
+ <el-table-column prop="address" label="操作" width="200">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button
|
|
|
|
- type="success"
|
|
|
|
- size="small"
|
|
|
|
|
|
+ <img
|
|
|
|
+ width="16"
|
|
|
|
+ height="16"
|
|
|
|
+ style="vertical-align: text-top; margin: 0 6px"
|
|
|
|
+ src="../../../public/img/chakan.png"
|
|
@click="handleExamine(scope.row)"
|
|
@click="handleExamine(scope.row)"
|
|
- >查看</el-button
|
|
|
|
- >
|
|
|
|
- <el-button type="primary" size="small" @click="handleEdit(scope.row)"
|
|
|
|
- >编辑</el-button
|
|
|
|
- >
|
|
|
|
- <el-button type="danger" size="small" @click="handleDelete(scope.row)"
|
|
|
|
- >删除</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ <img
|
|
|
|
+ width="17"
|
|
|
|
+ height="16"
|
|
|
|
+ style="vertical-align: text-top; margin: 0 6px"
|
|
|
|
+ src="../../../public/img/bianji.png"
|
|
|
|
+ @click="handleEdit(scope.row)"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ <img
|
|
|
|
+ width="16"
|
|
|
|
+ height="17"
|
|
|
|
+ style="
|
|
|
|
+ vertical-align: text-top;
|
|
|
|
+ position: relative;
|
|
|
|
+ top: -1px;
|
|
|
|
+ margin: 0 6px;
|
|
|
|
+ "
|
|
|
|
+ src="../../../public/img/shanchu.png"
|
|
|
|
+ @click="handleDelete(scope.row)"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -309,9 +356,11 @@ export default {
|
|
},
|
|
},
|
|
handleSizeChange(val) {
|
|
handleSizeChange(val) {
|
|
console.log(`每页 ${val} 条`)
|
|
console.log(`每页 ${val} 条`)
|
|
|
|
+ this.pageSize = val
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
handleCurrentChange(val) {
|
|
handleCurrentChange(val) {
|
|
|
|
+ this.currentPage = val
|
|
console.log(`当前页: ${val}`)
|
|
console.log(`当前页: ${val}`)
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
@@ -426,6 +475,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
find() {
|
|
find() {
|
|
|
|
+ this.currentPage = 1
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
async exportlist() {
|
|
async exportlist() {
|
|
@@ -487,6 +537,25 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+/deep/.base_header_layout .grid-content.right .find.el-button--primary {
|
|
|
|
+ width: 30px;
|
|
|
|
+ margin-left: -10px;
|
|
|
|
+ border-top-left-radius: 0px;
|
|
|
|
+ border-bottom-left-radius: 0px;
|
|
|
|
+}
|
|
|
|
+.el-button--primary {
|
|
|
|
+ background-color: #5878e8;
|
|
|
|
+ border-color: #5878e8;
|
|
|
|
+}
|
|
|
|
+.el-button--default {
|
|
|
|
+ border: 1px solid #5473e8;
|
|
|
|
+ color: #5473e8;
|
|
|
|
+}
|
|
|
|
+.warning {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 2px;
|
|
|
|
+ background: red;
|
|
|
|
+}
|
|
.executory,
|
|
.executory,
|
|
.inExecution,
|
|
.inExecution,
|
|
.done {
|
|
.done {
|
|
@@ -524,6 +593,12 @@ export default {
|
|
padding: 3px;
|
|
padding: 3px;
|
|
border-radius: 2px;
|
|
border-radius: 2px;
|
|
}
|
|
}
|
|
|
|
+.substandard {
|
|
|
|
+ background: linear-gradient(90deg, #b2b4bb, #ced0d5);
|
|
|
|
+ color: #fff;
|
|
|
|
+ padding: 3px;
|
|
|
|
+ border-radius: 2px;
|
|
|
|
+}
|
|
.wrap {
|
|
.wrap {
|
|
width: 400px;
|
|
width: 400px;
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -614,6 +689,10 @@ export default {
|
|
.findValue {
|
|
.findValue {
|
|
margin: 0 10px;
|
|
margin: 0 10px;
|
|
}
|
|
}
|
|
|
|
+/deep/.findValue .el-input__inner {
|
|
|
|
+ border-top-right-radius: 0px;
|
|
|
|
+ border-bottom-right-radius: 0px;
|
|
|
|
+}
|
|
.button-container {
|
|
.button-container {
|
|
display: flex;
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
flex-wrap: nowrap;
|