|
@@ -13,6 +13,10 @@
|
|
text: '添加产品',
|
|
text: '添加产品',
|
|
action: () => clickModal(),
|
|
action: () => clickModal(),
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ text: '批量修改',
|
|
|
|
+ action: () => batchModification(),
|
|
|
|
+ },
|
|
// {
|
|
// {
|
|
// text: '操作日志',
|
|
// text: '操作日志',
|
|
// action: () => viewLogs(),
|
|
// action: () => viewLogs(),
|
|
@@ -78,6 +82,10 @@
|
|
<el-button @click="openLogs = false" size="large">关 闭</el-button>
|
|
<el-button @click="openLogs = false" size="large">关 闭</el-button>
|
|
</template>
|
|
</template>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+
|
|
|
|
+ <el-dialog title="批量修改" v-if="openModification" v-model="openModification" width="96%">
|
|
|
|
+ <Modification :type="1" @clickCancel="clickModificationCancel"></Modification>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -85,6 +93,7 @@
|
|
import byTable from "@/components/byTable/index";
|
|
import byTable from "@/components/byTable/index";
|
|
import MakeSKU from "@/components/makeGroupProduct/index";
|
|
import MakeSKU from "@/components/makeGroupProduct/index";
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
|
+import Modification from "@/components/makeProduct/modification/index";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
const { proxy } = getCurrentInstance();
|
|
const sourceList = ref({
|
|
const sourceList = ref({
|
|
@@ -344,6 +353,16 @@ const getLogsList = async (req) => {
|
|
}, 200);
|
|
}, 200);
|
|
});
|
|
});
|
|
};
|
|
};
|
|
|
|
+const openModification = ref(false);
|
|
|
|
+const batchModification = () => {
|
|
|
|
+ openModification.value = true;
|
|
|
|
+};
|
|
|
|
+const clickModificationCancel = (status) => {
|
|
|
|
+ openModification.value = false;
|
|
|
|
+ if (status) {
|
|
|
|
+ getList();
|
|
|
|
+ }
|
|
|
|
+};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|