|
@@ -17,14 +17,14 @@
|
|
|
<el-button
|
|
|
size="medium"
|
|
|
type="warning"
|
|
|
- @click="openEditProductPackDialog(null, 'add')"
|
|
|
+ @click="openEditGoodsPackDialog(null, 'add')"
|
|
|
>新增</el-button
|
|
|
>
|
|
|
</template>
|
|
|
<template slot="btn" slot-scope="props">
|
|
|
<el-button
|
|
|
type="text"
|
|
|
- @click="openEditProductPackDialog(props.scope.row, 'edit')"
|
|
|
+ @click="openEditGoodsPackDialog(props.scope.row, 'edit')"
|
|
|
>修改</el-button
|
|
|
>
|
|
|
<el-button type="text" @click="openMatchingDialog(props.scope.row)"
|
|
@@ -40,7 +40,7 @@
|
|
|
@handleSizeChange="handleSizeChange"
|
|
|
@handleCurrentChange="handleCurrentChange"
|
|
|
/>
|
|
|
- <editProductPack ref="editProductPack" @refresh="init()" />
|
|
|
+ <editGoodsPack ref="editGoodsPack" @refresh="init()" />
|
|
|
<matchingDialog ref="matchingDialog" @refresh="init()" />
|
|
|
</div>
|
|
|
</template>
|
|
@@ -49,11 +49,11 @@
|
|
|
import searchBoxNew from "@/components/searchBoxNew";
|
|
|
import tableList from "@/components/tableList";
|
|
|
import pagination from "@/components/pagination";
|
|
|
-import editProductPack from "./component/editProductPack.vue";
|
|
|
+import editGoodsPack from "./component/editGoodsPack.vue";
|
|
|
import matchingDialog from "./component/matchingDialog.vue";
|
|
|
export default {
|
|
|
name: "OfflineOrder",
|
|
|
- components: { searchBoxNew, tableList, pagination, editProductPack, matchingDialog },
|
|
|
+ components: { searchBoxNew, tableList, pagination, editGoodsPack, matchingDialog },
|
|
|
data() {
|
|
|
return {
|
|
|
loading: false, //当前表单加载是否加载动画
|
|
@@ -78,7 +78,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
prop: "businessId",
|
|
|
- placeholder: "培训项目",
|
|
|
+ placeholder: "业务层次",
|
|
|
scope: "businessLevel",
|
|
|
edu: "educationId",
|
|
|
},
|
|
@@ -137,7 +137,7 @@ export default {
|
|
|
hidden: true,
|
|
|
},
|
|
|
{
|
|
|
- label: "培训项目",
|
|
|
+ label: "业务层次",
|
|
|
prop: "projectName",
|
|
|
hidden: true,
|
|
|
},
|
|
@@ -186,8 +186,8 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
// 打开新增/编辑商品包弹窗
|
|
|
- openEditProductPackDialog(row, type) {
|
|
|
- this.$refs.editProductPack.openBoxs(row, type);
|
|
|
+ openEditGoodsPackDialog(row, type) {
|
|
|
+ this.$refs.editGoodsPack.openBoxs(row, type);
|
|
|
},
|
|
|
// 打开匹配弹窗
|
|
|
openMatchingDialog(row) {
|