Merge branch 'master' of http://gitea.zianxin.com/zianxin-tec/biz-pc-cloud
This commit is contained in:
commit
ec0bca6bb2
3 files changed
+41
No files matched your search
@@ -1,5 +1,19 @@
|
|||||||
import request from "/@/utils/request"
|
import request from "/@/utils/request"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 音量修改
|
||||||
|
* @param hardId 设备id
|
||||||
|
* @param systemVolume 系统音量
|
||||||
|
* @param mediaVolume 媒体音量
|
||||||
|
*/
|
||||||
|
export function getByCabinetNo(query?: { hardId: any; systemVolume: any; mediaVolume: any }) {
|
||||||
|
return request({
|
||||||
|
url: "/hard/hard-door-manager/change-volume",
|
||||||
|
method: "post",
|
||||||
|
params: query,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
export function pageJoin(query?: Object) {
|
export function pageJoin(query?: Object) {
|
||||||
return request({
|
return request({
|
||||||
url: "/hard/hard-door-manager/page-join",
|
url: "/hard/hard-door-manager/page-join",
|
||||||
|
|||||||
@@ -1,5 +1,18 @@
|
|||||||
import request from "/@/utils/request"
|
import request from "/@/utils/request"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据设备id智能柜编号查询商品
|
||||||
|
* @param hardId 设备id
|
||||||
|
* @param cabinetNo 柜子编号
|
||||||
|
*/
|
||||||
|
export function getByCabinetNo(query?: { hardId: any; cabinetNo: any }) {
|
||||||
|
return request({
|
||||||
|
url: "/hard/hard-spu/get-by-cabinet-no",
|
||||||
|
method: "get",
|
||||||
|
params: query,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
export function select(query?: Object) {
|
export function select(query?: Object) {
|
||||||
return request({
|
return request({
|
||||||
url: "/hard/hard-spu/select",
|
url: "/hard/hard-spu/select",
|
||||||
|
|||||||
@@ -1,6 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="layout-padding">
|
<div class="layout-padding">
|
||||||
<div class="layout-padding-auto layout-padding-view">
|
<div class="layout-padding-auto layout-padding-view">
|
||||||
|
<el-form ref="queryRef" :inline="true" :model="state.queryForm" @keyup.enter="getDataList">
|
||||||
|
<el-row>
|
||||||
|
<el-form-item style="width: 300px" label="商品名" prop="name">
|
||||||
|
<el-input v-model="state.queryForm.name" placeholder="商品名" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item style="width: 300px" label="商品类型" prop="skuType">
|
||||||
|
<dict-select v-model="state.queryForm.skuType" dict-code="hard_ks_sku_type" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-button icon="Search" type="primary" @click="getDataList">{{ $t("common.queryBtn") }}</el-button>
|
||||||
|
<el-button icon="Refresh" @click="resetQuery">{{ $t("common.resetBtn") }}</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
<el-row>
|
<el-row>
|
||||||
<div class="mb8" style="width: 100%">
|
<div class="mb8" style="width: 100%">
|
||||||
<el-button icon="folder-add" type="primary" class="ml10" @click="formDialogRef.openDialog()" v-auth="'hard_hardSpu_add'">
|
<el-button icon="folder-add" type="primary" class="ml10" @click="formDialogRef.openDialog()" v-auth="'hard_hardSpu_add'">
|
||||||
|
|||||||
Reference in new issue
Block a user