2025-03-17 15:24:14 +08:00
|
|
|
|
<template>
|
2025-06-09 17:42:40 +08:00
|
|
|
|
<el-config-provider :locale="zhCn">
|
|
|
|
|
|
<el-container class="content">
|
|
|
|
|
|
<div class="work-area">
|
|
|
|
|
|
<fieldset class="search-area">
|
|
|
|
|
|
<el-form ref="kittingBomQueryFormRef" :model="kittingBomQueryFormEntity"
|
|
|
|
|
|
:label-position="labelPosition" label-width="158px" style="max-width: 100%" status-icon>
|
|
|
|
|
|
<div style="display: flex;justify-content: space-between;">
|
|
|
|
|
|
<el-row>
|
|
|
|
|
|
<el-form-item label="配料单类型">
|
|
|
|
|
|
<el-select-v2 style="width: 196px" v-model="kittingBomQueryFormEntity.bomType"
|
|
|
|
|
|
placeholder="配料单类型"
|
|
|
|
|
|
:options="kittingBomTypeOptions" @change="search()"></el-select-v2>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="机型">
|
|
|
|
|
|
<el-input v-model="kittingBomQueryFormEntity.model" @keyup.enter="search()" clearable/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="成品号">
|
|
|
|
|
|
<el-input v-model="kittingBomQueryFormEntity.productId" @keyup.enter="search()" clearable/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="原材料号">
|
|
|
|
|
|
<el-input v-model="kittingBomQueryFormEntity.goodsId" @keyup.enter="search()" clearable/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="料盒号">
|
|
|
|
|
|
<el-input v-model="kittingBomQueryFormEntity.boxNo" @keyup.enter="search()" clearable/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
<div style="align-content: center;">
|
|
|
|
|
|
<el-row>
|
|
|
|
|
|
<el-button type="primary" class="btn-search" @click="search()">查询</el-button>
|
|
|
|
|
|
<el-button type="warning" class="btn-search" @click="clearQuery()">清除输入</el-button>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
<el-row>
|
|
|
|
|
|
<el-button style="background-color: #00CED1;" class="btn-search"
|
|
|
|
|
|
@click="openUploadDialog()">导入配料单
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
<el-button type="success" class="btn-search"
|
|
|
|
|
|
@click="exportExcel()">导出excel
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
</div>
|
2025-03-17 15:24:14 +08:00
|
|
|
|
</div>
|
2025-06-09 17:42:40 +08:00
|
|
|
|
</el-form>
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
<div class="table-area">
|
|
|
|
|
|
<el-table :data="displayKittingList" stripe border v-loading="tableLoading" class="table-class"
|
|
|
|
|
|
:max-height="maxHeight" highlight-current-row @row-click="getCurrentRow"
|
|
|
|
|
|
:header-cell-style="{ 'text-align': 'center' }" :cell-style="{ 'text-align': 'center' }"
|
|
|
|
|
|
@sort-change="handleSortChange">
|
|
|
|
|
|
<el-table-column width="65px" fixed="left">
|
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
|
<el-radio :label="scope.row.templateId" v-model="templateId"> </el-radio>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column prop="bomType" label="配料单类型" fixed="left" min-width="120px" sortable="custom"
|
|
|
|
|
|
:formatter="bomTypeFormat" show-overflow-tooltip/>
|
|
|
|
|
|
<el-table-column prop="model" label="机型" min-width="120px" sortable="custom"
|
|
|
|
|
|
show-overflow-tooltip/>
|
|
|
|
|
|
<el-table-column prop="productId"
|
|
|
|
|
|
:label="kittingBomQueryFormEntity.bomType === 1 ? '成品号' : '服务件成品号'" fixed="left"
|
|
|
|
|
|
min-width="120px" sortable="custom"
|
|
|
|
|
|
show-overflow-tooltip/>
|
|
|
|
|
|
<el-table-column prop="goodsId" label="原材料号" min-width="120px" sortable="custom"
|
|
|
|
|
|
show-overflow-tooltip/>
|
|
|
|
|
|
<el-table-column prop="goodsDescription" label="物料描述" min-width="120px" sortable="custom"
|
|
|
|
|
|
show-overflow-tooltip/>
|
|
|
|
|
|
<el-table-column prop="quantity1Pair" label="单套数量" min-width="120px" sortable="custom"
|
|
|
|
|
|
show-overflow-tooltip/>
|
|
|
|
|
|
<el-table-column prop="boxNo" label="料盒号" min-width="120px" sortable="custom"
|
|
|
|
|
|
show-overflow-tooltip/>
|
|
|
|
|
|
<el-table-column prop="quantityOfPair" label="套数" min-width="120px" sortable="custom"
|
|
|
|
|
|
show-overflow-tooltip/>
|
|
|
|
|
|
<el-table-column fixed="right" label="操作" width="120px">
|
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
|
<el-button plain type="danger" @click="deleteThisProduct(scope.row)">删除</el-button>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
</el-table>
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
<el-pagination v-model:current-page="baseTableQuery.currentPage"
|
|
|
|
|
|
v-model:page-size="baseTableQuery.pageSize" :page-sizes="[10, 25, 50]" :small="false"
|
|
|
|
|
|
:disabled="false" :background="false" :default-page-size="10" @size-change="search"
|
|
|
|
|
|
@current-change="search" layout="total, sizes, prev, pager, next, jumper"
|
|
|
|
|
|
:total="baseTableQuery.total"/>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<el-dialog v-model="showKittingBomUploadDialog" title="上传配料单" width="40%" draggable :show-close="true">
|
|
|
|
|
|
<fieldset class="search-area" v-if="kittingBomQueryFormEntity.bomType === 1">
|
|
|
|
|
|
<legend>导入非服务件配料单</legend>
|
|
|
|
|
|
<UploadExcelProduct></UploadExcelProduct>
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
<fieldset class="search-area" v-if="kittingBomQueryFormEntity.bomType === 2">
|
|
|
|
|
|
<legend>导入服务件配料单</legend>
|
|
|
|
|
|
<UploadExcelSingleProduct></UploadExcelSingleProduct>
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</el-container>
|
|
|
|
|
|
</el-config-provider>
|
2025-03-17 15:24:14 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
|
import store from '@/store'
|
|
|
|
|
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
|
|
|
|
import UploadExcelProduct from '@/excel/UploadExcelProduct.vue'
|
|
|
|
|
|
import UploadExcelSingleProduct from '@/excel/UploadExcelSingleProduct.vue'
|
2025-06-09 17:42:40 +08:00
|
|
|
|
import {deleteKittingBom, queryKittingBomByPage} from '@/api/kateWork.js'
|
|
|
|
|
|
import {dateFormatter} from '@/utils/formatter.js'
|
|
|
|
|
|
import {ref, reactive, onMounted, nextTick, onBeforeUnmount} from 'vue'
|
|
|
|
|
|
import {ElMessage, ElMessageBox} from 'element-plus'
|
|
|
|
|
|
import {genTableRequest} from '@/utils/generator.js'
|
|
|
|
|
|
import {labelPosition} from '@/constant/form.js'
|
|
|
|
|
|
import {kittingBomTypeOptions} from '@/constant/options.js'
|
|
|
|
|
|
import {exportKittingBomWithExcel} from '@/api/excel.js'
|
|
|
|
|
|
import {loading} from "@/utils/loading";
|
2025-03-17 15:24:14 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 常量定义
|
|
|
|
|
|
*/
|
2025-06-09 17:42:40 +08:00
|
|
|
|
const USER_NAME = store.getters.getUserName
|
|
|
|
|
|
const STAND_ID = store.getters.getStandId
|
2025-03-17 15:24:14 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 变量定义
|
|
|
|
|
|
*/
|
|
|
|
|
|
let maxHeight = ref(window.innerHeight * 0.55)
|
|
|
|
|
|
let tableLoading = ref(false)
|
|
|
|
|
|
let displayKittingList = ref([])
|
|
|
|
|
|
let baseTableQuery = reactive({
|
2025-06-09 17:42:40 +08:00
|
|
|
|
currentPage: 1,
|
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
total: 0,
|
|
|
|
|
|
sortBy: new Map([['productId', true]]),// 按照成品号顺序排序
|
|
|
|
|
|
standId: STAND_ID,
|
|
|
|
|
|
userName: USER_NAME
|
2025-03-17 15:24:14 +08:00
|
|
|
|
})
|
|
|
|
|
|
let kittingBomQueryFormEntity = reactive({
|
2025-06-09 17:42:40 +08:00
|
|
|
|
bomType: 1,
|
|
|
|
|
|
model: '',
|
|
|
|
|
|
productId: '',
|
|
|
|
|
|
goodsId: '',
|
|
|
|
|
|
boxNo: ''
|
2025-03-17 15:24:14 +08:00
|
|
|
|
})
|
|
|
|
|
|
let kittingBomQueryFormRef = ref()
|
|
|
|
|
|
let templateId = ''
|
|
|
|
|
|
let showKittingBomUploadDialog = ref(false)
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 系统方法
|
|
|
|
|
|
*/
|
|
|
|
|
|
onMounted(() => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
nextTick(() => {
|
|
|
|
|
|
window.addEventListener('resize', resizeHeight)
|
|
|
|
|
|
search()
|
|
|
|
|
|
})
|
2025-03-17 15:24:14 +08:00
|
|
|
|
})
|
|
|
|
|
|
onBeforeUnmount(() => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
nextTick(() => {
|
|
|
|
|
|
window.removeEventListener('resize', resizeHeight)
|
|
|
|
|
|
})
|
2025-03-17 15:24:14 +08:00
|
|
|
|
})
|
|
|
|
|
|
const resizeHeight = () => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
maxHeight.value = window.innerHeight * 0.55
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 自定义方法
|
|
|
|
|
|
*/
|
|
|
|
|
|
// 查询
|
|
|
|
|
|
const search = () => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
tableLoading.value = true
|
|
|
|
|
|
let request = genTableRequest(baseTableQuery)
|
|
|
|
|
|
// 设定查询参数
|
|
|
|
|
|
request.bomType = kittingBomQueryFormEntity.bomType
|
|
|
|
|
|
request.model = kittingBomQueryFormEntity.model.trim()
|
|
|
|
|
|
request.productId = kittingBomQueryFormEntity.productId.trim()
|
|
|
|
|
|
request.goodsId = kittingBomQueryFormEntity.goodsId.trim()
|
|
|
|
|
|
request.boxNo = kittingBomQueryFormEntity.boxNo.trim()
|
|
|
|
|
|
queryKittingBomByPage(request).then((res) => {
|
|
|
|
|
|
const response = res.data
|
|
|
|
|
|
if (response.code === 0) {
|
|
|
|
|
|
const data = response.data
|
|
|
|
|
|
if (data != null) {
|
|
|
|
|
|
displayKittingList.value = data.lists
|
|
|
|
|
|
baseTableQuery.total = data.total
|
|
|
|
|
|
} else {
|
|
|
|
|
|
displayKittingList.value = []
|
|
|
|
|
|
baseTableQuery.total = 0
|
|
|
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
ElMessage.error(response.message)
|
|
|
|
|
|
}
|
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
console.log(err)
|
|
|
|
|
|
ElMessage.error('查询配料单异常。')
|
|
|
|
|
|
}).finally(() => {
|
|
|
|
|
|
tableLoading.value = false
|
|
|
|
|
|
})
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
const clearQuery = () => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
kittingBomQueryFormEntity.model = ''
|
|
|
|
|
|
kittingBomQueryFormEntity.productId = ''
|
|
|
|
|
|
kittingBomQueryFormEntity.goodsId = ''
|
|
|
|
|
|
kittingBomQueryFormEntity.boxNo = ''
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
const bomTypeFormat = (row, column, cellValue, index) => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
switch (cellValue) {
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return '非服务件'
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return '服务件'
|
|
|
|
|
|
default:
|
|
|
|
|
|
return '未知类型'
|
|
|
|
|
|
}
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
const handleSortChange = (data) => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
if (baseTableQuery.sortBy.has(data.prop)) {
|
|
|
|
|
|
baseTableQuery.sortBy.delete(data.prop)
|
|
|
|
|
|
}
|
|
|
|
|
|
baseTableQuery.sortBy.set(data.prop, data.order.toLowerCase() === 'ascending')
|
|
|
|
|
|
search()
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
const getCurrentRow = (row) => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
templateId = row.templateId
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
const exportExcel = () => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
const params = {
|
|
|
|
|
|
bomType: kittingBomQueryFormEntity.bomType,
|
|
|
|
|
|
model: kittingBomQueryFormEntity.model,
|
|
|
|
|
|
productId: kittingBomQueryFormEntity.productId,
|
|
|
|
|
|
goodsId: kittingBomQueryFormEntity.goodsId,
|
|
|
|
|
|
boxNo: kittingBomQueryFormEntity.boxNo
|
|
|
|
|
|
}
|
|
|
|
|
|
exportKittingBomWithExcel(params).then(res => {
|
|
|
|
|
|
const link = document.createElement('a');//创建a标签
|
|
|
|
|
|
try {
|
|
|
|
|
|
// let blob = new Blob([res.data],{type: 'application/vnd.ms-excel'}); //如果后台返回的不是blob对象类型,先定义成blob对象格式,该type导出为xls格式,
|
|
|
|
|
|
let blob = res.data //如果后台返回的直接是blob对象类型,直接获取数据
|
|
|
|
|
|
// let _fileName = res.headers['content-disposition'].split(';')[1].split('=')[1]; //拆解获取文件名,如果后端有给返回文件名的话
|
|
|
|
|
|
const preName = kittingBomQueryFormEntity.bomType === 1 ? '非服务件' : '服务件'
|
|
|
|
|
|
let _fileName = preName + '配料单' + dateFormatter(new Date) + '.xlsx'
|
|
|
|
|
|
link.style.display = 'none'//隐藏
|
2025-03-17 15:24:14 +08:00
|
|
|
|
|
2025-06-09 17:42:40 +08:00
|
|
|
|
// 兼容不同浏览器的URL对象
|
|
|
|
|
|
const url = window.URL || window.webkitURL || window.moxURL
|
|
|
|
|
|
link.href = url.createObjectURL(blob)
|
|
|
|
|
|
link.setAttribute('download', _fileName.substring(_fileName.lastIndexOf('_') + 1))
|
|
|
|
|
|
document.body.appendChild(link)
|
|
|
|
|
|
link.click()
|
|
|
|
|
|
document.body.removeChild(link)
|
|
|
|
|
|
url.revokeObjectURL(link.href)//移除url对象
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
console.log(e)
|
|
|
|
|
|
ElMessage.error('下载文件失败')
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
2025-06-09 17:42:40 +08:00
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
console.log(err)
|
|
|
|
|
|
ElMessage.error('导出失败')
|
|
|
|
|
|
})
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
2025-06-09 17:42:40 +08:00
|
|
|
|
// 删除当前成品的配料单
|
|
|
|
|
|
const deleteThisProduct = (row) => {
|
|
|
|
|
|
const toDeleteProductId = row.productId
|
|
|
|
|
|
ElMessageBox.confirm(
|
|
|
|
|
|
'当前操作会删除' + toDeleteProductId + '的整个配料单' + '。\n是否确认',
|
|
|
|
|
|
'警告',
|
|
|
|
|
|
{
|
|
|
|
|
|
confirmButtonText: '确认',
|
|
|
|
|
|
cancelButtonText: '取消',
|
|
|
|
|
|
type: 'warning',
|
|
|
|
|
|
}
|
|
|
|
|
|
).then(() => {
|
2025-03-17 15:24:14 +08:00
|
|
|
|
const request = {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
bomType: row.bomType,
|
|
|
|
|
|
productId: row.productId,
|
|
|
|
|
|
userName: USER_NAME,
|
|
|
|
|
|
standId: STAND_ID
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
2025-06-09 17:42:40 +08:00
|
|
|
|
loading.open('删除中...')
|
|
|
|
|
|
deleteKittingBom(request).then(res => {
|
|
|
|
|
|
const response = res.data
|
|
|
|
|
|
if (response.code === 0) {
|
|
|
|
|
|
ElMessage.success(response.message)
|
|
|
|
|
|
} else {
|
|
|
|
|
|
ElMessage.error(response.message)
|
|
|
|
|
|
}
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}).catch(err => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
console.log(err)
|
|
|
|
|
|
ElMessage.error('删除异常')
|
|
|
|
|
|
}).finally(() => {
|
|
|
|
|
|
search()
|
|
|
|
|
|
loading.close()
|
2025-03-17 15:24:14 +08:00
|
|
|
|
})
|
2025-06-09 17:42:40 +08:00
|
|
|
|
}).catch((err) => {
|
|
|
|
|
|
console.log(err)
|
|
|
|
|
|
ElMessage.info('操作取消')
|
|
|
|
|
|
})
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
const openUploadDialog = () => {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
showKittingBomUploadDialog.value = true
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
.content {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
width: 100%;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.work-area {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
|
/* padding: 5px; */
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-area {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
margin: auto;
|
|
|
|
|
|
min-height: fit-content;
|
|
|
|
|
|
max-height: 40%;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
min-width: inherit;
|
|
|
|
|
|
border: solid 1px;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
box-shadow: 0px 15px 10px -15px #000;
|
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
padding: 10px;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-area {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
margin: auto;
|
|
|
|
|
|
min-height: fit-content;
|
|
|
|
|
|
max-height: 60%;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
min-width: inherit;
|
|
|
|
|
|
border: solid 1px;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
box-shadow: 0px 15px 10px -15px #000;
|
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
padding: 10px;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.el-form-item {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
margin: 5px 5px 5px 5px;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.el-form-item .el-input {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
width: 196px;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-class {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
margin: 5px 5px 5px 5px;
|
|
|
|
|
|
width: inherit;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.el-pagination {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
padding-left: 5px;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.my-autocomplete li {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
width: 196px;
|
|
|
|
|
|
line-height: normal;
|
|
|
|
|
|
padding: 7px;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.my-autocomplete li .name {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
overflow: hidden;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.my-autocomplete li .addr {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: #b4b4b4;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.my-autocomplete li .highlighted .addr {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
color: #ddd;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.my-autocomplete li .goods_id {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
color: brown;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.my-autocomplete li .goods_name {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
color: cornflowerblue;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-search {
|
2025-06-09 17:42:40 +08:00
|
|
|
|
height: 30px;
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
margin: auto 5px 5px auto;
|
|
|
|
|
|
color: black;
|
2025-03-17 15:24:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
</style>
|