1.添加垛码明细查询展示页面

master
x_z 3 years ago
parent ae107bba11
commit 33140069d7

@ -22,19 +22,16 @@
prop="code"
show-overflow-tooltip
></el-table-column>
<el-table-column
label="扫码数量"
prop="count"
width="180"
show-overflow-tooltip
></el-table-column>
<el-table-column label="创建时间" prop="actDate" width="220" show-overflow-tooltip>
<el-table-column label="操作" fixed="right">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span>{{ scope.row.actDate }}</span>
<el-button
type="text"
size="small"
@click.native="handleDel(scope.$index, scope.row)"
>减一
</el-button>
</template>
</el-table-column>
<el-table-column label="操作员" prop="actor" width="180"></el-table-column>
</el-table>
<el-pagination
@ -49,7 +46,7 @@
</template>
<script>
import {codeList} from "../../api/warehouse/order";
import {getStackCodeList} from "@/api/production/stackCode";
import draggable from "vuedraggable";
export default {
@ -64,7 +61,7 @@ export default {
return {
query: {
code: "",
corpOrderId: "",
orderIdFk: null,
page: 1,
limit: 20,
},
@ -75,7 +72,6 @@ export default {
formLoading: false,
formVisible: false,
deleteLoading: false,
orderNo: null,
busTypes: [],
};
},
@ -115,9 +111,7 @@ export default {
},
getCodeList() {
this.loading = true;
// this.query.corpOrderId = this.idQuery.id;
this.query.orderId = this.idQuery.id;
codeList(this.query) //
getStackCodeList(this.query) //
.then((response) => {
this.loading = false;
this.codeArry = response.data.list || [];
@ -130,7 +124,6 @@ export default {
});
},
intentBack() {
// this.$router.push({path:'../readme/detail',query:{id:row.corpOrderId}});
this.$router.go(-1);
},
},
@ -143,15 +136,10 @@ export default {
},
created() {
//
let query = this.$route.query;
this.orderNo = query.id;
this.query = Object.assign(this.query, query);
this.query.limit = parseInt(this.query.limit);
this.query.corpOrderId = query.id;
this.query.orderIdFk = this.idQuery.orderIdFk;
//
this.getCodeList();
},
}
};
</script>

@ -143,7 +143,8 @@ export default {
});
},
codeDetail(orderId) {
this.codeDetailVisible = true;
this.idQuery.orderIdFk = orderId;
},
handleForm() {
@ -159,6 +160,7 @@ export default {
},
//
handleDel(index, row) {
},
},
mounted() {

Loading…
Cancel
Save