|
|
@@ -14,10 +14,8 @@
|
|
|
<el-main>
|
|
|
<!-- 按钮区域 -->
|
|
|
<div class="gva-table-box">
|
|
|
- <div class="gva-btn-list">
|
|
|
- <el-row :span="6">
|
|
|
- <el-input v-model="positionvalue" placeholder="输入工单编号或产品名称" />
|
|
|
- </el-row>
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="positionvalue" placeholder="输入工单编号或产品名称" style="width: 180px;" />
|
|
|
<el-button type="primary" class="search" icon="search" @click="onSearch"></el-button>
|
|
|
<el-button type="primary" class="bt" icon="plus" @click="onAdd">新增</el-button>
|
|
|
<el-button type="primary" class="bt" icon="refresh" @click="onRefresh">刷新质检系数</el-button>
|
|
|
@@ -26,7 +24,7 @@
|
|
|
<div style="margin-left: auto;">
|
|
|
<el-button type="primary" :icon="Download" @click="exportExcel">导出到Excel</el-button>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </el-form-item>
|
|
|
<!-- 数据展示 -->
|
|
|
<el-table ref="multipleTable" style="width: 100%" tooltip-effect="dark" :data="tableData" row-key="ID"
|
|
|
highlight-current-row="true" border @selection-change="handleSelectionChange" @row-click="Click"
|
|
|
@@ -532,7 +530,6 @@ const getTableData = async() => {
|
|
|
page: page.value.toString(), limit: limit.value.toString(),
|
|
|
})
|
|
|
if (response.code === 0) {
|
|
|
- console.log(response)
|
|
|
const processedData = response.data.data.map(item => {
|
|
|
return {
|
|
|
...item,
|
|
|
@@ -541,7 +538,6 @@ const getTableData = async() => {
|
|
|
};
|
|
|
});
|
|
|
tableData.splice(0, tableData.length, ...processedData);
|
|
|
- console.log(tableData)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -562,7 +558,6 @@ const GetLocate = async () => {
|
|
|
gdbh: params.gdbh,
|
|
|
page: page.value.toString(), limit: limit.value.toString(),
|
|
|
})
|
|
|
- console.log(response)
|
|
|
if (response.code === 0) {
|
|
|
const processedData = response.data.rows.map(item => {
|
|
|
return {
|
|
|
@@ -794,7 +789,6 @@ const ent = (event, inputName) => {
|
|
|
//设置姓名样式
|
|
|
setColorReadonly('cl'+inputName);
|
|
|
setColorReadonly('fp'+inputName);
|
|
|
- console.log('bh'+(parseInt(inputName)+1))
|
|
|
if(inputName!=12){
|
|
|
document.getElementById('bh'+(parseInt(inputName)+1)).focus()
|
|
|
document.getElementById('bh'+(parseInt(inputName)+1)).select()
|
|
|
@@ -1053,7 +1047,6 @@ const ent = (event, inputName) => {
|
|
|
//设置姓名样式
|
|
|
setColorReadonly('cl'+inputName);
|
|
|
setColorReadonly('fp'+inputName);
|
|
|
- console.log('bh'+(parseInt(inputName)+1))
|
|
|
if(inputName!=12){
|
|
|
document.getElementById('bh'+(parseInt(inputName)+1)).focus()
|
|
|
document.getElementById('bh'+(parseInt(inputName)+1)).select()
|