运费模版
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ac41f54a07
commit
b95c767c98
|
@ -1,37 +1,42 @@
|
|||
<template>
|
||||
<div>
|
||||
<obj-table-plus
|
||||
style="height: calc(100vh - 132px)"
|
||||
ref="oTable"
|
||||
mode="flex"
|
||||
:tableCols="tableCols"
|
||||
v-model="dataList"
|
||||
@query="queryList"
|
||||
>
|
||||
<template slot="flexEmpty">
|
||||
<el-empty description="暂无数据"></el-empty>
|
||||
</template>
|
||||
<div slot="tableTop" class="mb-2">
|
||||
<el-form inline>
|
||||
<el-form-item label="模板名称:">
|
||||
<el-input
|
||||
placeholder="请输入模板名称"
|
||||
v-model="searchForm.name"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-button type="primary" @click="$refs.oTable.reload()"
|
||||
>搜索</el-button
|
||||
<div v-if="shopId">
|
||||
<obj-table-plus
|
||||
style="height: calc(100vh - 132px)"
|
||||
ref="oTable"
|
||||
mode="flex"
|
||||
:tableCols="tableCols"
|
||||
v-model="dataList"
|
||||
@query="queryList"
|
||||
>
|
||||
<template slot="flexEmpty">
|
||||
<el-empty description="暂无数据"></el-empty>
|
||||
</template>
|
||||
<div slot="tableTop" class="mb-2">
|
||||
<el-form inline>
|
||||
<el-form-item label="模板名称:">
|
||||
<el-input
|
||||
placeholder="请输入模板名称"
|
||||
v-model="searchForm.name"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-button type="primary" @click="$refs.oTable.reload()"
|
||||
>搜索</el-button
|
||||
>
|
||||
</el-form>
|
||||
<el-button type="primary" @click="addFareTemplate"
|
||||
>添加运费模板</el-button
|
||||
>
|
||||
</el-form>
|
||||
<el-button type="primary" @click="addFareTemplate"
|
||||
>添加运费模板</el-button
|
||||
>
|
||||
</div>
|
||||
</obj-table-plus>
|
||||
<add-template
|
||||
ref="addTemplate"
|
||||
@refresh="$refs.oTable.refresh()"
|
||||
></add-template>
|
||||
</div>
|
||||
</obj-table-plus>
|
||||
<add-template
|
||||
ref="addTemplate"
|
||||
@refresh="$refs.oTable.refresh()"
|
||||
></add-template>
|
||||
</div>
|
||||
<div style="height: calc(100vh - 200px)" v-else>
|
||||
<el-empty :image-size="200" description="请先去完成认证"></el-empty>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -45,8 +50,12 @@ export default {
|
|||
searchForm: {
|
||||
name: "",
|
||||
},
|
||||
shopId: "",
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.shopId = JSON.parse(sessionStorage.getItem("userInfo")).shopId;
|
||||
},
|
||||
methods: {
|
||||
queryList(pageNo, pageSize) {
|
||||
this.$api.mer_admin
|
||||
|
@ -144,7 +153,7 @@ export default {
|
|||
}
|
||||
|
||||
// 将所有找到的路径合并成字符串返回
|
||||
return paths.map((path) =><p>{path.join("/")}</p>);
|
||||
return paths.map((path) => <p>{path.join("/")}</p>);
|
||||
};
|
||||
|
||||
const appointMapper = {
|
||||
|
|
|
@ -100,9 +100,12 @@ export default {
|
|||
},
|
||||
productFilterType: "SALE",
|
||||
selectList: [],
|
||||
shopId: sessionStorage.getItem("userInfo").shopId,
|
||||
shopId: "",
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.shopId = JSON.parse(sessionStorage.getItem("userInfo")).shopId;
|
||||
},
|
||||
methods: {
|
||||
addProduct() {
|
||||
this.$refs.addOrUpdate.toggle().add();
|
||||
|
|
Loading…
Reference in New Issue