erp-el-element/commontable/configuration/index.vue

140 lines
3.2 KiB
Vue

<template>
<div class="btnbox">
<div class="btnbox-l">
<ButtonGrop
:LightList="LightList"
:buttonlist="buttonlist"
@BatchChange="BatchChange"
@BatchOffShelf="BatchOffShelf"
@BatchRedlight="BatchRedlight"
@BatchPublish="BatchPublish"
@BatchDelete="BatchDelete"
@SyncOrder="SyncOrder"
@changeLight="changeLight"
@BatchRepublish="BatchRepublish"
@BatchAudited="BatchAudited"
@PrintPICK="PrintPICK"
@ScanDelivery="ScanDelivery"
></ButtonGrop>
</div>
<div class="btnbox-r">
<QC :qcList="qcList" @get_op_user_id="get_op_user_id"></QC>
<RefExp :loading="exploading" @exceldown="exceldown"></RefExp>
<SetUp
:tableLabel="tableLabel"
:columnconfigvisible="columnconfigvisible"
:columnOptions="columnOptions"
@columnConfigClose="columnConfigClose"
@columnCfgRest="columnCfgRest"
@columnConfigSubmit="columnConfigSubmit"
@columnCfgCheck="columnCfgCheck"
@columnCfgAllchange="columnCfgAllchange"
@columnconfigClick="columnconfigClick"
></SetUp>
</div>
</div>
</template>
<script>
import ButtonGrop from "./buttongrop";
import QC from "./qc.vue";
import RefExp from "./refexp";
import SetUp from "./setup";
export default {
components: { ButtonGrop, QC, RefExp, SetUp },
props: [
"buttonlist",
"qcList",
"exploading",
"columnconfigvisible",
"columnOptions",
"tableLabel",
"LightList",
],
data() {
return {};
},
methods: {
get_op_user_id(val) {
this.$emit("get_op_user_id", val);
},
exceldown() {
this.$emit("exceldown");
},
columnConfigClose(val) {
this.$emit("columnConfigClose", val);
},
columnCfgRest() {
this.$emit("columnCfgRest");
},
columnConfigSubmit(val) {
this.$emit("columnConfigSubmit", val);
},
columnCfgCheck(val) {
this.$emit("columnCfgCheck", val);
},
columnCfgAllchange(val) {
this.$emit("columnCfgAllchange", val);
},
columnconfigClick() {
this.$emit("columnconfigClick");
},
//批量改价
BatchChange() {
this.$emit("BatchChange");
},
// 批量下架
BatchOffShelf() {
this.$emit("BatchOffShelf");
},
//批量发布
BatchPublish() {
this.$emit("BatchPublish");
},
//亮红灯
BatchRedlight(val) {
this.$emit("BatchRedlight", val);
},
//批量删除
BatchDelete() {
this.$emit("BatchDelete");
},
//同步订单
SyncOrder() {
this.$emit("SyncOrder");
},
//批量亮灯
changeLight(val) {
this.$emit("changeLight", val);
},
//批量翻库
BatchRepublish() {
this.$emit("BatchRepublish");
},
//批量审核
BatchAudited() {
this.$emit("BatchAudited");
},
//打印拣货单
PrintPICK() {
this.$emit("PrintPICK");
},
//扫码发货
ScanDelivery() {
this.$emit("ScanDelivery");
},
},
};
</script>
<style scoped lang='scss'>
.btnbox {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px 0;
}
.btnbox-r {
display: flex;
}
</style>