|
|
@ -31,10 +31,12 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<br /> |
|
|
|
<br /> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item> |
|
|
|
<el-form-item v-if="type === 1"> |
|
|
|
<el-button>批量锁定</el-button> |
|
|
|
<el-button>批量锁定</el-button> |
|
|
|
<el-button>批量开启</el-button> |
|
|
|
<el-button>批量开启</el-button> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item v-else> |
|
|
|
|
|
|
|
<el-button>批量审核</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
@ -57,6 +59,7 @@ |
|
|
|
<el-table-column align="center" label="联系电话"> |
|
|
|
<el-table-column align="center" label="联系电话"> |
|
|
|
18888888888 |
|
|
|
18888888888 |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<template v-if="type === '1'"> |
|
|
|
<el-table-column align="center" label="经销商"> |
|
|
|
<el-table-column align="center" label="经销商"> |
|
|
|
125 |
|
|
|
125 |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
@ -72,34 +75,60 @@ |
|
|
|
<el-table-column align="center" label="存储到期时间"> |
|
|
|
<el-table-column align="center" label="存储到期时间"> |
|
|
|
2022-12-31 12:31 |
|
|
|
2022-12-31 12:31 |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-else> |
|
|
|
|
|
|
|
<el-table-column align="center" label="申请时间"> |
|
|
|
|
|
|
|
2022-12-31 12:31 |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
</template> |
|
|
|
<el-table-column align="center" label="状态"> |
|
|
|
<el-table-column align="center" label="状态"> |
|
|
|
正常 |
|
|
|
正常 |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column align="center" label="操作"> |
|
|
|
<el-table-column align="center" label="操作"> |
|
|
|
<el-button type="text" @click="open = true">详情</el-button> |
|
|
|
<el-button type="text" @click="dialog.detail = true">详情</el-button> |
|
|
|
<el-button type="text">锁定</el-button> |
|
|
|
<el-button type="text">锁定</el-button> |
|
|
|
|
|
|
|
<el-button type="text" v-if="type === '2'" @click="dialog.audit = true">审核</el-button> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
|
|
|
|
<detail :open="open" @close="open = false" /> |
|
|
|
<detail :open="dialog.detail" @close="dialog.detail = false" :type="type" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :visible.sync="dialog.audit" title="审核"> |
|
|
|
|
|
|
|
<el-form :label-width="width + 'px'"> |
|
|
|
|
|
|
|
<el-form-item label="审核"> |
|
|
|
|
|
|
|
<el-radio v-model="audit" :label="item.value" v-for="item in dict.type.audit_status" |
|
|
|
|
|
|
|
:key="item.value">{{ |
|
|
|
|
|
|
|
item.label |
|
|
|
|
|
|
|
}}</el-radio> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item> |
|
|
|
|
|
|
|
<el-input :autosize="{ minRows: 5 }" type="textarea" placeholder="拒绝原因" :minRow="5"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" |
|
|
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" |
|
|
|
:limit.sync="queryParams.pageSize" @pagination="getList" /> |
|
|
|
:limit.sync="queryParams.pageSize" @pagination="getList" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
|
|
|
|
import { type } from "os"; |
|
|
|
import Detail from "./detail" |
|
|
|
import Detail from "./detail" |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: "Index", |
|
|
|
name: "Index", |
|
|
|
dicts: ['manufacturer_type'], |
|
|
|
dicts: ['manufacturer_type', 'audit_status'], |
|
|
|
components: { Detail }, |
|
|
|
components: { Detail }, |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
open: false, |
|
|
|
width: 100, |
|
|
|
|
|
|
|
dialog: { |
|
|
|
|
|
|
|
detail: false, |
|
|
|
|
|
|
|
audit: false |
|
|
|
|
|
|
|
}, |
|
|
|
dataList: [{}], |
|
|
|
dataList: [{}], |
|
|
|
//总记录数 |
|
|
|
//总记录数 |
|
|
|
total: 1, |
|
|
|
total: 1, |
|
|
|
|
|
|
|
audit: '0', |
|
|
|
//查询参数 |
|
|
|
//查询参数 |
|
|
|
queryParams: { |
|
|
|
queryParams: { |
|
|
|
pageNum: 1, |
|
|
|
pageNum: 1, |
|
|
@ -112,6 +141,11 @@ export default { |
|
|
|
getList() { |
|
|
|
getList() { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
computed: { |
|
|
|
|
|
|
|
type() { |
|
|
|
|
|
|
|
return this.$route.fullPath.split('/').at(-1) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|