|
|
@@ -3,7 +3,7 @@
|
|
|
<el-container>
|
|
|
<el-aside width="350px">
|
|
|
<div class="JKWTree-tree">
|
|
|
- <h3>计件定额管理</h3>
|
|
|
+ <h3>其他常用字典查询</h3>
|
|
|
<el-tree :data="treeData" :props="defaultProps" @node-click="handleNodeClick"></el-tree>
|
|
|
</div>
|
|
|
</el-aside>
|
|
|
@@ -29,63 +29,71 @@
|
|
|
<el-button icon="refresh" @click="onReset">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form> -->
|
|
|
- <div class="gva-btn-list">
|
|
|
- <el-button type="primary" icon="upload" @click="bacthEditClick">定额参数批量修改excel</el-button>
|
|
|
- <el-button type="primary" icon="plus" @click="bacthSubmit">更新</el-button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="gva-table-box">
|
|
|
- <!-- <div class="gva-btn-list">
|
|
|
- <el-button type="primary" icon="upload" @click="">导出到excel</el-button>
|
|
|
- <el-button type="primary" icon="plus" @click="getDetails(2)">详情</el-button>
|
|
|
- </div> -->
|
|
|
- <el-table
|
|
|
- ref="multipleTable"
|
|
|
- stripe
|
|
|
- border
|
|
|
- style="width: 100%"
|
|
|
- tooltip-effect="dark"
|
|
|
- :data="tableData"
|
|
|
- row-key="ID"
|
|
|
- @selection-change="handleSelectionChange"
|
|
|
- @row-dblclick="updateCompanyFunc"
|
|
|
- :show-overflow-tooltip="true"
|
|
|
- highlight-current-row="true"
|
|
|
- >
|
|
|
- <el-table-column align="left" label="定额代号" prop="sys_bh" width="120" />
|
|
|
- <el-table-column align="left" label="名称备注" prop="sys_mc" width="210" />
|
|
|
- <el-table-column align="left" label="使用工序" prop="use_gx" width="88" />
|
|
|
- <el-table-column align="left" label="适用机型" prop="use_machine" width="88" />
|
|
|
- <el-table-column fixed="right" v-slot="scope" align="left" label="日定额" width="100" >
|
|
|
- <el-input @input="inputClick" v-model="scope.row.daily_quota" :clearable="false"/>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column fixed="right" v-slot="scope" align="left" label="千件工价" width="100" >
|
|
|
- <el-input @input="inputClick" v-model="scope.row.thousand_piece" :clearable="false"/>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column fixed="right" v-slot="scope" align="left" label="补产标准" width="100" >
|
|
|
- <el-input @input="inputClick" v-model="scope.row.production_standard" :clearable="false"/>
|
|
|
- </el-table-column>
|
|
|
- <!-- <el-table-column align="left" label="原日定额" prop="daily_quota" width="90" />
|
|
|
- <el-table-column align="left" label="原千件工价" prop="thousand_piece" width="100" />
|
|
|
- <el-table-column align="left" label="原补产标准" prop="production_standard" width="100" /> -->
|
|
|
- <!-- <el-table-column fixed="right" v-slot="scope" align="left" label="新日定额" width="100" >
|
|
|
- <el-input @input="inputClick" v-model="scope.row.daily_quota" :clearable="false"/>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column fixed="right" v-slot="scope" align="left" label="新千件工价" width="100" >
|
|
|
- <el-input @input="inputClick" v-model="scope.row.thousand_piece" :clearable="false"/>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column fixed="right" v-slot="scope" align="left" label="新补产标准" width="100" >
|
|
|
- <el-input @input="inputClick" v-model="scope.row.production_standard" :clearable="false"/>
|
|
|
- </el-table-column> -->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label="新补产标准" width="100">
|
|
|
- <el-form-item :prop="'tableData.'+scope.row+'.production_standard'">
|
|
|
- <el-input v-model="scope.row.production_standard" :clearable="true"/>
|
|
|
- </el-form-item>
|
|
|
- </el-table-column> -->
|
|
|
- <el-table-column v-slot="scope" v-if="false" align="left" label="UniqId" width="100" >
|
|
|
- <el-input v-model="scope.row.UniqId" :clearable="false"/>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+
|
|
|
+
|
|
|
+<!-- <div class="gva-btn-list">-->
|
|
|
+<!-- <el-button type="primary" icon="upload" @click="bacthEditClick">定额参数批量修改excel</el-button>-->
|
|
|
+<!-- <el-button type="primary" icon="plus" @click="bacthSubmit">更新</el-button>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div class="gva-table-box">-->
|
|
|
+<!-- <!– <div class="gva-btn-list">-->
|
|
|
+<!-- <el-button type="primary" icon="upload" @click="">导出到excel</el-button>-->
|
|
|
+<!-- <el-button type="primary" icon="plus" @click="getDetails(2)">详情</el-button>-->
|
|
|
+<!-- </div> –>-->
|
|
|
+<!-- <el-table-->
|
|
|
+<!-- ref="multipleTable"-->
|
|
|
+<!-- stripe-->
|
|
|
+<!-- border-->
|
|
|
+<!-- style="width: 100%"-->
|
|
|
+<!-- tooltip-effect="dark"-->
|
|
|
+<!-- :data="tableData"-->
|
|
|
+<!-- row-key="ID"-->
|
|
|
+<!-- @selection-change="handleSelectionChange"-->
|
|
|
+<!-- @row-dblclick="updateCompanyFunc"-->
|
|
|
+<!-- :show-overflow-tooltip="true"-->
|
|
|
+<!-- highlight-current-row="true"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-table-column align="left" label="定额代号" prop="sys_bh" width="120" />-->
|
|
|
+<!-- <el-table-column align="left" label="名称备注" prop="sys_mc" width="210" />-->
|
|
|
+<!-- <el-table-column align="left" label="使用工序" prop="use_gx" width="88" />-->
|
|
|
+<!-- <el-table-column align="left" label="适用机型" prop="use_machine" width="88" />-->
|
|
|
+<!-- <el-table-column fixed="right" v-slot="scope" align="left" label="日定额" width="100" >-->
|
|
|
+<!-- <el-input @input="inputClick" v-model="scope.row.daily_quota" :clearable="false"/>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- <el-table-column fixed="right" v-slot="scope" align="left" label="千件工价" width="100" >-->
|
|
|
+<!-- <el-input @input="inputClick" v-model="scope.row.thousand_piece" :clearable="false"/>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- <el-table-column fixed="right" v-slot="scope" align="left" label="补产标准" width="100" >-->
|
|
|
+<!-- <el-input @input="inputClick" v-model="scope.row.production_standard" :clearable="false"/>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- <!– <el-table-column align="left" label="原日定额" prop="daily_quota" width="90" />-->
|
|
|
+<!-- <el-table-column align="left" label="原千件工价" prop="thousand_piece" width="100" />-->
|
|
|
+<!-- <el-table-column align="left" label="原补产标准" prop="production_standard" width="100" /> –>-->
|
|
|
+<!-- <!– <el-table-column fixed="right" v-slot="scope" align="left" label="新日定额" width="100" >-->
|
|
|
+<!-- <el-input @input="inputClick" v-model="scope.row.daily_quota" :clearable="false"/>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- <el-table-column fixed="right" v-slot="scope" align="left" label="新千件工价" width="100" >-->
|
|
|
+<!-- <el-input @input="inputClick" v-model="scope.row.thousand_piece" :clearable="false"/>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- <el-table-column fixed="right" v-slot="scope" align="left" label="新补产标准" width="100" >-->
|
|
|
+<!-- <el-input @input="inputClick" v-model="scope.row.production_standard" :clearable="false"/>-->
|
|
|
+<!-- </el-table-column> –>-->
|
|
|
+<!-- <!– <el-table-column v-slot="scope" align="left" label="新补产标准" width="100">-->
|
|
|
+<!-- <el-form-item :prop="'tableData.'+scope.row+'.production_standard'">-->
|
|
|
+<!-- <el-input v-model="scope.row.production_standard" :clearable="true"/>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-table-column> –>-->
|
|
|
+<!-- <el-table-column v-slot="scope" v-if="false" align="left" label="UniqId" width="100" >-->
|
|
|
+<!-- <el-input v-model="scope.row.UniqId" :clearable="false"/>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- </el-table>-->
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<!-- <div class="gva-pagination">
|
|
|
<el-pagination
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
@@ -276,7 +284,7 @@ const treeTab = async() => {
|
|
|
label:item,
|
|
|
cate:`民族`
|
|
|
}))
|
|
|
-
|
|
|
+
|
|
|
for(let key in dictionaryTabs.data.标准工艺){
|
|
|
gystr+=key+'-'
|
|
|
for(let keys in dictionaryTabs.data.标准工艺[key]){
|
|
|
@@ -294,7 +302,7 @@ const treeTab = async() => {
|
|
|
cate:`标准工艺`,
|
|
|
}))
|
|
|
}))
|
|
|
-
|
|
|
+
|
|
|
for(let key in dictionaryTabs.data.废品分类){
|
|
|
fpstr+=key+'+'
|
|
|
for(let keys in dictionaryTabs.data.废品分类[key]){
|
|
|
@@ -312,7 +320,7 @@ const treeTab = async() => {
|
|
|
cate:`废品分类`,
|
|
|
}))
|
|
|
}))
|
|
|
-
|
|
|
+
|
|
|
for(let key in dictionaryTabs.data.工资表){
|
|
|
gzstr+=key+','
|
|
|
}
|
|
|
@@ -322,7 +330,7 @@ const treeTab = async() => {
|
|
|
label:item,
|
|
|
cate:`工资表`
|
|
|
}))
|
|
|
-
|
|
|
+
|
|
|
for(let key in dictionaryTabs.data.级别){
|
|
|
jbstr+=key+','
|
|
|
}
|
|
|
@@ -332,7 +340,7 @@ const treeTab = async() => {
|
|
|
label:item,
|
|
|
cate:`级别`
|
|
|
}))
|
|
|
-
|
|
|
+
|
|
|
for(let key in dictionaryTabs.data.学历){
|
|
|
xlstr+=key+','
|
|
|
}
|
|
|
@@ -345,7 +353,7 @@ const treeTab = async() => {
|
|
|
// console.log(dictionaryTabs.data.标准工艺.外发加工.map(items=>({
|
|
|
// lable:items
|
|
|
// })))
|
|
|
-
|
|
|
+
|
|
|
// const 标准工艺=gyarr.map(item=>({
|
|
|
// lable:item,
|
|
|
// cate:`标准工艺`,
|
|
|
@@ -509,7 +517,7 @@ const bacthSubmit = async() => {
|
|
|
}
|
|
|
// console.log(tableData.value)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
// 查询
|
|
|
// const getTableData = async() => {
|