|
|
|
@ -121,6 +121,13 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<el-pagination
|
|
|
|
|
:current-page="filterQuery.page"
|
|
|
|
|
:page-size="filterQuery.limit"
|
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
|
layout="prev, pager, next"
|
|
|
|
|
:total="total"
|
|
|
|
|
></el-pagination>
|
|
|
|
|
|
|
|
|
|
<el-dialog title="错误信息" :visible.sync="dialogVisible" width="30%">
|
|
|
|
|
<span>{{ errorDetail }}</span>
|
|
|
|
@ -134,6 +141,8 @@
|
|
|
|
|
title="选择往来单位"
|
|
|
|
|
:visible.sync="dialogTableVisible"
|
|
|
|
|
width="70%"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
>
|
|
|
|
|
<el-form :inline="true" :model="unitquery" class="query-form" size="mini">
|
|
|
|
|
<el-form-item class="query-form-item">
|
|
|
|
@ -179,6 +188,14 @@
|
|
|
|
|
<el-table-column label="状态" prop="status"></el-table-column>
|
|
|
|
|
<el-table-column label="类型" prop="type"></el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
<el-pagination
|
|
|
|
|
:current-page="unitquery.page"
|
|
|
|
|
:page-size="unitquery.limit"
|
|
|
|
|
@current-change="loadUnitList"
|
|
|
|
|
layout="prev, pager, next"
|
|
|
|
|
:total="unitTotal"
|
|
|
|
|
></el-pagination>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
@ -192,13 +209,6 @@
|
|
|
|
|
v-on:closeDetailDialog="closeDetailDialog"
|
|
|
|
|
></codeDetail>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
<el-pagination
|
|
|
|
|
:current-page="filterQuery.page"
|
|
|
|
|
:page-size="filterQuery.limit"
|
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
|
layout="prev, pager, next"
|
|
|
|
|
:total="total"
|
|
|
|
|
></el-pagination>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -239,7 +249,8 @@ export default {
|
|
|
|
|
success: "校验成功"
|
|
|
|
|
},
|
|
|
|
|
curIndex: "",
|
|
|
|
|
unitquery: {key: "", page: 1, limit: 20},
|
|
|
|
|
unitquery: {key: "", page: 1, limit: 10},
|
|
|
|
|
unitTotal: 0,
|
|
|
|
|
unitlist: [],
|
|
|
|
|
unitUpdateQuery: {
|
|
|
|
|
id: "",
|
|
|
|
@ -287,6 +298,11 @@ export default {
|
|
|
|
|
path: ""
|
|
|
|
|
});
|
|
|
|
|
this.filterQuery = {
|
|
|
|
|
id: "",
|
|
|
|
|
mainAction: null,
|
|
|
|
|
action: null,
|
|
|
|
|
status: 9,
|
|
|
|
|
receiveStatus: 0,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20
|
|
|
|
|
};
|
|
|
|
@ -305,10 +321,20 @@ export default {
|
|
|
|
|
this.filterQuery.page = val;
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
loadUnitList(val) {
|
|
|
|
|
this.unitquery.page = val;
|
|
|
|
|
this.getUnitList();
|
|
|
|
|
},
|
|
|
|
|
handleUnitClick(row) {
|
|
|
|
|
this.curIndex = row.id;
|
|
|
|
|
this.dialogTableVisible = true;
|
|
|
|
|
this.curOrderId = row.orderId;
|
|
|
|
|
this.unitquery = {
|
|
|
|
|
key: "",
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10
|
|
|
|
|
}
|
|
|
|
|
this.getUnitList();
|
|
|
|
|
},
|
|
|
|
|
closeDetailDialog(val) {
|
|
|
|
|
this.codeDetailVisible = false;
|
|
|
|
@ -326,6 +352,7 @@ export default {
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.unitlist = response.data.list || [];
|
|
|
|
|
this.unitTotal = response.data.total || 0;
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
@ -367,11 +394,15 @@ export default {
|
|
|
|
|
this.deleteData.orderId = data;
|
|
|
|
|
deleteByOrderId(this.deleteData)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.getList();
|
|
|
|
|
this.$message({
|
|
|
|
|
type: "success",
|
|
|
|
|
message: "删除成功!"
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|