2024-05-07 11:30:13 +08:00
|
|
|
<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">
|
2024-05-08 15:11:06 +08:00
|
|
|
<QC :qcList="qcList" @get_op_user_id="get_op_user_id" v-if="qcList&&get_op_user_id"></QC>
|
|
|
|
<RefExp :loading="exploading" @exceldown="exceldown" v-if="exceldown"></RefExp>
|
2024-05-07 11:30:13 +08:00
|
|
|
<SetUp
|
2024-05-08 15:11:06 +08:00
|
|
|
v-if="tableLabel||columnconfigvisible"
|
2024-05-07 11:30:13 +08:00
|
|
|
: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";
|
2024-05-07 14:41:13 +08:00
|
|
|
|
2024-05-07 11:30:13 +08:00
|
|
|
export default {
|
2024-05-07 14:41:13 +08:00
|
|
|
name: "erpConfiguration",
|
2024-05-07 11:30:13 +08:00
|
|
|
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>
|