协议新增分类
This commit is contained in:
parent
4ded1317e2
commit
28904ed0c1
|
@ -167,15 +167,6 @@
|
||||||
<!-- 添加或修改广告对话框 -->
|
<!-- 添加或修改广告对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||||
<el-form ref="form" :rules="rules" :model="form" label-width="80px" v-loading="detailLoading">
|
<el-form ref="form" :rules="rules" :model="form" label-width="80px" v-loading="detailLoading">
|
||||||
<el-form-item label="运营区" prop="areaId" >
|
|
||||||
<area-remote-select
|
|
||||||
v-model="form.areaId"
|
|
||||||
:init-options="initAreaOptions"
|
|
||||||
v-if="!detailLoading"
|
|
||||||
placeholder="请选择运营区"
|
|
||||||
style="width: 58%"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="广告所属" prop="belong" v-if="isSysAdmin()">
|
<el-form-item label="广告所属" prop="belong" v-if="isSysAdmin()">
|
||||||
<el-select v-model="form.belong" placeholder="请选择广告所属">
|
<el-select v-model="form.belong" placeholder="请选择广告所属">
|
||||||
<el-option
|
<el-option
|
||||||
|
@ -186,6 +177,15 @@
|
||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="运营区" prop="areaId" v-if="form.belong !== '0'">
|
||||||
|
<area-remote-select
|
||||||
|
v-model="form.areaId"
|
||||||
|
:init-options="initAreaOptions"
|
||||||
|
v-if="!detailLoading"
|
||||||
|
placeholder="请选择运营区"
|
||||||
|
style="width: 58%"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="广告图片" prop="picture">
|
<el-form-item label="广告图片" prop="picture">
|
||||||
<div class="upload-wrapper">
|
<div class="upload-wrapper">
|
||||||
<image-upload v-model="form.picture" :limit="1"/>
|
<image-upload v-model="form.picture" :limit="1"/>
|
||||||
|
@ -257,9 +257,6 @@
|
||||||
//{key: 'urlType', visible: true, label: '跳转类型,1外链跳转,2站内跳转', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
//{key: 'urlType', visible: true, label: '跳转类型,1外链跳转,2站内跳转', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
areaId: [
|
|
||||||
{ required: true, message: '运营区不能为空', trigger: 'change' }
|
|
||||||
],
|
|
||||||
picture: [
|
picture: [
|
||||||
{ required: true, message: '广告图片不能为空', trigger: 'change' }
|
{ required: true, message: '广告图片不能为空', trigger: 'change' }
|
||||||
],
|
],
|
||||||
|
|
|
@ -148,7 +148,7 @@
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="column.key === 'suitName'">
|
<template v-else-if="column.key === 'suitName'">
|
||||||
{{d.row.suitName | dv}}<br/>
|
{{d.row.suitName | dv}}<br/>
|
||||||
<dict-tag :options="dict.type.suit_type" :value="d.row.suitType" size="mini"/>
|
<dictd-tag :options="dict.type.suit_type" :value="d.row.suitType" size="mini"/>
|
||||||
<dict-tag :options="dict.type.order_status" :value="d.row.status" size="mini" style="margin-left: 4px;"/>
|
<dict-tag :options="dict.type.order_status" :value="d.row.status" size="mini" style="margin-left: 4px;"/>
|
||||||
<dict-tag :options="dict.type.suit_riding_rule" :value="d.row.suitRidingRule" size="mini" style="margin-left: 4px;"/>
|
<dict-tag :options="dict.type.suit_riding_rule" :value="d.row.suitRidingRule" size="mini" style="margin-left: 4px;"/>
|
||||||
</template>
|
</template>
|
||||||
|
@ -381,7 +381,7 @@ export default {
|
||||||
handleView(row) {
|
handleView(row) {
|
||||||
this.$router.push(`/view/order/${row.id}`)
|
this.$router.push(`/view/order/${row.id}`)
|
||||||
},
|
},
|
||||||
handleEnd(row) {
|
handleEnd(row) {
|
||||||
this.$confirm(`确定结束订单${row.no}吗?`, '提示', {
|
this.$confirm(`确定结束订单${row.no}吗?`, '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user