This commit is contained in:
yangjiahang
2020-02-08 16:18:50 +08:00
parent 76db4ae54a
commit b4ab7b62bc
40 changed files with 460 additions and 145 deletions

View File

@@ -7,8 +7,8 @@ const os = require('os')
const networkInterfaces = os.networkInterfaces() const networkInterfaces = os.networkInterfaces()
const ip = networkInterfaces['WLAN'][1] ? networkInterfaces['WLAN'][1].address : networkInterfaces['WLAN'][0].address // const ip = networkInterfaces['WLAN'][1] ? networkInterfaces['WLAN'][1].address : networkInterfaces['WLAN'][0].address
// const ip = '127.0.0.1' const ip = '127.0.0.1'
module.exports = { module.exports = {
dev: { dev: {
// Paths // Paths

View File

@@ -3,7 +3,7 @@
<el-row> <el-row>
<el-col :span="7"> <el-col :span="7">
<el-card style="margin-bottom: 20px"> <el-card style="margin-bottom: 20px">
<el-button size="small" type="primary" @click="addFisrtLevel">创建一级菜单</el-button> <el-button size="small" class="button111" @click="addFisrtLevel">创建一级菜单</el-button>
</el-card> </el-card>
<el-card> <el-card>
<div slot="header"> <div slot="header">
@@ -83,7 +83,7 @@
</el-col> </el-col>
<el-col :span="7"> <el-col :span="7">
<el-card style="margin-bottom: 20px"> <el-card style="margin-bottom: 20px">
<el-button size="small" type="primary" @click="addSecondLevel">创建二级菜单</el-button> <el-button size="small" class="button111" @click="addSecondLevel">创建二级菜单</el-button>
</el-card> </el-card>
<el-card> <el-card>
<div slot="header"> <div slot="header">
@@ -394,3 +394,20 @@ export default {
padding-right: 8px; padding-right: 8px;
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -22,13 +22,13 @@
<span>零件图号:</span> <span>零件图号:</span>
<el-input v-model="partNumber" clearable filterable size="small" placeholder="零件图号" style="width: 200px;"/> <el-input v-model="partNumber" clearable filterable size="small" placeholder="零件图号" style="width: 200px;"/>
<el-button icon="el-icon-search" type="success" size="small" @click="pageCurrentWB = 1;pageSizeWB = 10;pageCurrent = 1;pageSize = 10;getTableData();pageCurrent1 = 1;pageSize1 = 10;getTable();pageCurrent2 = 1;pageSize2 = 10;getTable1()">查询</el-button> <el-button icon="el-icon-search" type="primary" size="small" plain @click="pageCurrentWB = 1;pageSizeWB = 10;pageCurrent = 1;pageSize = 10;getTableData();pageCurrent1 = 1;pageSize1 = 10;getTable();pageCurrent2 = 1;pageSize2 = 10;getTable1()">查询</el-button>
</el-card> </el-card>
<el-card> <el-card>
<div> <div>
<span style="font-size: 20px">基本件三表数量</span> <span style="font-size: 20px">基本件三表数量</span>
<el-tooltip :open-delay="1000" effect="dark" content="删除基本件三表数量" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="删除基本件三表数量" placement="top">
<el-button style="float: right;margin-bottom: 3px" type="danger" size="small" @click="alldelete()">全部删除</el-button> <el-button style="float: right;margin-bottom: 3px" type="danger" size="small" plain @click="alldelete()">全部删除</el-button>
</el-tooltip> </el-tooltip>
</div> </div>
<el-table <el-table
@@ -151,7 +151,7 @@
<div> <div>
<span style="font-size: 20px">外购件和标准件三表数量</span> <span style="font-size: 20px">外购件和标准件三表数量</span>
<el-tooltip :open-delay="1000" effect="dark" content="删除外购件和标准件数量" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="删除外购件和标准件数量" placement="top">
<el-button style="float: right;margin-bottom: 3px" type="danger" size="small" @click="alldeleteWB()">全部删除</el-button> <el-button style="float: right;margin-bottom: 3px" type="danger" size="small" plain @click="alldeleteWB()">全部删除</el-button>
</el-tooltip> </el-tooltip>
</div> </div>
<el-table <el-table
@@ -222,11 +222,13 @@
<el-button <el-button
size="mini" size="mini"
type="primary" type="primary"
plain
icon="el-icon-edit" icon="el-icon-edit"
@click="type=1;handleEdit(scope.row)">编辑</el-button> @click="type=1;handleEdit(scope.row)">编辑</el-button>
<el-button <el-button
size="mini" size="mini"
type="danger" type="danger"
plain
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)">删除</el-button> @click="handleDelete(scope.row)">删除</el-button>
</template> </template>
@@ -291,6 +293,7 @@
<el-button <el-button
size="mini" size="mini"
type="primary" type="primary"
plain
@click="type=1;handleEdit(scope.row)">编辑</el-button> @click="type=1;handleEdit(scope.row)">编辑</el-button>
</template> </template>
</el-table-column> </el-table-column>
@@ -350,6 +353,7 @@
<el-button <el-button
size="mini" size="mini"
type="primary" type="primary"
plain
@click="handleEdit(scope.row)">编辑</el-button> @click="handleEdit(scope.row)">编辑</el-button>
</template> </template>
</el-table-column> </el-table-column>
@@ -421,6 +425,7 @@
<el-button <el-button
size="mini" size="mini"
type="primary" type="primary"
plain
@click="type=2;handleEdit(scope.row)">编辑</el-button> @click="type=2;handleEdit(scope.row)">编辑</el-button>
</template> </template>
</el-table-column> </el-table-column>
@@ -505,7 +510,7 @@
<el-card> <el-card>
<div> <div>
<span style="font-size: 20px">临时表</span> <span style="font-size: 20px">临时表</span>
<el-button style="float: right" type="danger" size="small" @click="alldelete5()">全部删除</el-button> <el-button style="float: right" type="danger" size="small" plain @click="alldelete5()">全部删除</el-button>
</div> </div>
<el-tabs v-model="activeName" style="margin-top: 10px" type="border-card" @tab-click="searchTable5();searchTable6()"> <el-tabs v-model="activeName" style="margin-top: 10px" type="border-card" @tab-click="searchTable5();searchTable6()">
<el-tab-pane label="标准件和外购件" name="1"> <el-tab-pane label="标准件和外购件" name="1">
@@ -550,6 +555,7 @@
<el-button <el-button
size="mini" size="mini"
type="danger" type="danger"
plain
@click="handleDelete5(scope.row)">删除</el-button> @click="handleDelete5(scope.row)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
@@ -603,6 +609,7 @@
<el-button <el-button
size="mini" size="mini"
type="danger" type="danger"
plain
@click="handleDelete6(scope.row)">删除</el-button> @click="handleDelete6(scope.row)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>

View File

@@ -3,9 +3,9 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-card> <el-card>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd('department_Form')">新增</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd('department_Form')">新增</el-button>
<el-button type="warning" icon="el-icon-edit" size="small" @click="handleEdit()">编辑</el-button> <el-button type="warning" icon="el-icon-edit" size="small" plain @click="handleEdit()">编辑</el-button>
<el-button type="danger" icon="el-icon-delete" size="small" @click="deleteTable()">删除</el-button> <el-button type="danger" icon="el-icon-delete" size="small" plain @click="deleteTable()">删除</el-button>
</el-card> </el-card>
</el-col> </el-col>
<el-col :span="18"> <el-col :span="18">
@@ -14,10 +14,10 @@
<el-input v-model="Name" placeholder="请输入人员名称" class="input-with-select" size="small" style="width: 200px; margin-right: 15px" clearable> <el-input v-model="Name" placeholder="请输入人员名称" class="input-with-select" size="small" style="width: 200px; margin-right: 15px" clearable>
<el-button slot="append" icon="el-icon-search" @click="fetchPeopleForName"/> <el-button slot="append" icon="el-icon-search" @click="fetchPeopleForName"/>
</el-input> </el-input>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="addPeople()">新增</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" @click="addPeople()">新增</el-button>
<el-button type="danger" icon="el-icon-circle-close-outline" size="small" @click="Quit()">离职</el-button> <el-button type="danger" icon="el-icon-circle-close-outline" size="small" plain @click="Quit()">离职</el-button>
<el-button type="text" size="small" style="float: right" @click="searchLeavingList">离职名单</el-button> <el-button type="text" size="small" style="float: right" plain @click="searchLeavingList">离职名单</el-button>
<el-button v-popover:popover4 :disabled="disabledMove" type="success" icon="el-icon-sort" size="small" @click="moveGroup">移动 <el-button v-popover:popover4 :disabled="disabledMove" type="success" icon="el-icon-sort" size="small" plain @click="moveGroup">移动
</el-button> </el-button>
<!--<el-button size="small" @click="postMaintain()">岗位维护</el-button>--> <!--<el-button size="small" @click="postMaintain()">岗位维护</el-button>-->
<el-popover <el-popover
@@ -912,3 +912,20 @@ export default {
<style scoped> <style scoped>
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -9,8 +9,8 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 15px" @click="searchTable()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 15px" plain @click="searchTable()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="addShifttable()">新增</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" @click="addShifttable()">新增</el-button>
<el-button type="warning" icon="el-icon-circle-plus-outline" plain size="small" @click="ShiftType()">班次类型工作时间</el-button> <el-button type="warning" icon="el-icon-circle-plus-outline" plain size="small" @click="ShiftType()">班次类型工作时间</el-button>
</el-card> </el-card>
@@ -475,3 +475,20 @@ export default {
margin: 0px; margin: 0px;
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -3,8 +3,8 @@
<el-card> <el-card>
<!-- <span>角色功能:</span>--> <!-- <span>角色功能:</span>-->
<el-input v-model="RoleFunctioning" size="small" clearable placeholder="请输入角色功能" style="width:200px"/> <el-input v-model="RoleFunctioning" size="small" clearable placeholder="请输入角色功能" style="width:200px"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 15px" @click="searchData()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 15px" plain @click="searchData()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd()">增加</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd()">增加</el-button>
</el-card> </el-card>
<el-card style="margin-top: 0px"> <el-card style="margin-top: 0px">
<el-table <el-table
@@ -216,3 +216,20 @@ export default {
margin: 0px; margin: 0px;
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -13,8 +13,8 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 15px" @click="searchData">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 15px" plain @click="searchData">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="handelAdd">增加</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" @click="handelAdd">增加</el-button>
</el-card> </el-card>
<el-card> <el-card>
@@ -403,3 +403,20 @@ export default {
margin: 0px; margin: 0px;
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -7,9 +7,9 @@
<span>工艺分类</span> <span>工艺分类</span>
</el-row> </el-row>
<el-row> <el-row>
<el-button type="primary" style="margin: 3px" icon="el-icon-circle-plus-outline" size="small" @click="addProcessClassification()">新增</el-button> <el-button class="button111" style="margin: 3px" icon="el-icon-circle-plus-outline" size="small" @click="addProcessClassification()">新增</el-button>
<el-button size="small" style="margin-left: 10px" type="warning" icon="el-icon-edit-outline" @click="editProcessClassification()">编辑</el-button> <el-button size="small" style="margin-left: 10px" type="warning" icon="el-icon-edit-outline" plain @click="editProcessClassification()">编辑</el-button>
<el-button size="small" style="margin-left: 10px" type="danger" icon="el-icon-delete" @click="delProcessClassification()">删除</el-button> <el-button size="small" style="margin-left: 10px" type="danger" icon="el-icon-delete" plain @click="delProcessClassification()">删除</el-button>
</el-row> </el-row>
</el-card> </el-card>
</el-col> </el-col>
@@ -606,3 +606,20 @@ export default {
} }
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -20,8 +20,8 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="pageCurrent=1;pageSize=20;searchMaterial()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="pageCurrent=1;pageSize=20;searchMaterial()">查询</el-button>
<el-button type="primary" icon="el-icon-edit" size="small" @click="addMaterial()">新增</el-button> <el-button class="button111" icon="el-icon-edit" size="small" @click="addMaterial()">新增</el-button>
</el-row> </el-row>
</div> </div>
<el-table :data="tableData1" stripe highlight-current-row border height="550px" style="width: 850px" size="mini"> <el-table :data="tableData1" stripe highlight-current-row border height="550px" style="width: 850px" size="mini">
@@ -384,3 +384,20 @@ export default {
width:165px width:165px
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -2,7 +2,7 @@
<div class="app-container"> <div class="app-container">
<el-card> <el-card>
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<el-button size="small" type="primary" icon="el-icon-circle-plus-outline" style="margin: 0 0 0 10px" @click="ADD()">新建仓库</el-button> <el-button size="small" class="button111" icon="el-icon-circle-plus-outline" style="margin: 0 0 0 10px" @click="ADD()">新建仓库</el-button>
</div> </div>
<el-table :data="tableData" border stripe highlight-current-row size="mini" style="width: 100%;max-height: 300px" height="300" @row-click="getWarehouse"> <el-table :data="tableData" border stripe highlight-current-row size="mini" style="width: 100%;max-height: 300px" height="300" @row-click="getWarehouse">
<el-table-column label="仓库编号" align="center" width="90" show-overflow-tooltip> <el-table-column label="仓库编号" align="center" width="90" show-overflow-tooltip>
@@ -41,7 +41,7 @@
size="mini" size="mini"
icon="el-icon-edit" icon="el-icon-edit"
plain plain
type="warning" type="primary"
@click="handleEdit(scope.$index, scope.row, 'form')">修改</el-button> @click="handleEdit(scope.$index, scope.row, 'form')">修改</el-button>
<el-button <el-button
size="mini" size="mini"
@@ -49,7 +49,7 @@
plain plain
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)">删除</el-button> @click="handleDelete(scope.row)">删除</el-button>
<el-button size="mini" type="primary" icon="el-icon-circle-plus-outline" plain style="margin: 0 0 0 10px" @click="ADDLocate()">增加货位</el-button> <el-button size="mini" class="button111" icon="el-icon-circle-plus-outline" plain style="margin: 0 0 0 10px" @click="ADDLocate()">增加货位</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -605,3 +605,20 @@ export default {
margin: 10px 0 10px 10px; margin: 10px 0 10px 10px;
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -4,7 +4,7 @@
<div style="margin-top: 8px;margin-bottom: 8px"> <div style="margin-top: 8px;margin-bottom: 8px">
<span style="margin: 5px">领料单编号:</span> <span style="margin: 5px">领料单编号:</span>
<el-input v-model="pickingListNumber" clearable size="small" style="width:200px" /> <el-input v-model="pickingListNumber" clearable size="small" style="width:200px" />
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchList()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" style="margin: 0 0 0 10px" plain @click="searchList()">查询</el-button>
<!-- <el-button size="small" type="warning" style="float: right;margin-right: 10px" @click="prepareConfirm()">备料确认</el-button>--> <!-- <el-button size="small" type="warning" style="float: right;margin-right: 10px" @click="prepareConfirm()">备料确认</el-button>-->
<el-button :disabled="审批未通过===true" size="small" type="primary" style="float: right; margin-right: 30px" @click="inputPassword()">领料确认</el-button> <el-button :disabled="审批未通过===true" size="small" type="primary" style="float: right; margin-right: 30px" @click="inputPassword()">领料确认</el-button>
</div> </div>

View File

@@ -8,7 +8,7 @@
<!--<el-input v-model="materialSpec" placeholder="物料规格" clearable size="small"/>--> <!--<el-input v-model="materialSpec" placeholder="物料规格" clearable size="small"/>-->
<!--<span>物料型号</span>--> <!--<span>物料型号</span>-->
<!--<el-input v-model="materialModel" placeholder="物料型号" clearable size="small"/>--> <!--<el-input v-model="materialModel" placeholder="物料型号" clearable size="small"/>-->
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="pageCurrent1=1;pageSize1=20;total1=0;searchTable1()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" style="margin: 0 0 0 10px" plain @click="pageCurrent1=1;pageSize1=20;total1=0;searchTable1()">查询</el-button>
</el-row> </el-row>
</el-card> </el-card>

View File

@@ -17,7 +17,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" size="small" style="margin-left: 10px" @click="searchContractDetail">查询明细</el-button> <el-button type="primary" size="small" style="margin-left: 10px" plain @click="searchContractDetail">查询明细</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table ref="multipleTable" :data="table1" border stripe size="mini" highlight-current-row style="width: 100%;margin-bottom: 5px"> <el-table ref="multipleTable" :data="table1" border stripe size="mini" highlight-current-row style="width: 100%;margin-bottom: 5px">
@@ -68,7 +68,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="primary" style="margin-left: 5px" size="small" @click="submitInStorage">确认入库</el-button> <el-button class="button111" style="margin-left: 5px" size="small" @click="submitInStorage">确认入库</el-button>
</el-card> </el-card>
</div> </div>
</template> </template>
@@ -351,3 +351,20 @@ export default {
<style scoped> <style scoped>
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -22,7 +22,7 @@
<el-input v-model="name" placeholder="名称图号规格" style="width:150px;margin-left: 10px" clearable size="small" @keyup.enter.native="searchRecord()"/> <el-input v-model="name" placeholder="名称图号规格" style="width:150px;margin-left: 10px" clearable size="small" @keyup.enter.native="searchRecord()"/>
<!--<el-input v-model="model" placeholder="图号或型号" style="width:150px;margin-left: 10px" clearable size="small" />--> <!--<el-input v-model="model" placeholder="图号或型号" style="width:150px;margin-left: 10px" clearable size="small" />-->
<!--<el-input v-model="spec" placeholder="规格" clearable size="small" style="width:150px;margin: 0px 10px" />--> <!--<el-input v-model="spec" placeholder="规格" clearable size="small" style="width:150px;margin: 0px 10px" />-->
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="searchRecord()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="searchRecord()">查询</el-button>
</el-row> </el-row>
<el-row v-show="false" style="margin-bottom:10px"> <el-row v-show="false" style="margin-bottom:10px">
<el-date-picker <el-date-picker

View File

@@ -22,7 +22,7 @@
<el-input v-model="name" placeholder="名称图号规格" clearable size="small" style="width:150px;margin-left: 10px" @keyup.enter.native="pageCurrent1=1;pageSize1=100;searchRecord()"/> <el-input v-model="name" placeholder="名称图号规格" clearable size="small" style="width:150px;margin-left: 10px" @keyup.enter.native="pageCurrent1=1;pageSize1=100;searchRecord()"/>
<!--<el-input v-model="model" placeholder="图号或型号" clearable size="small" style="width:150px;margin-left: 10px" />--> <!--<el-input v-model="model" placeholder="图号或型号" clearable size="small" style="width:150px;margin-left: 10px" />-->
<!--<el-input v-model="spec" placeholder="规格" clearable size="small" style="width:150px;margin: 0px 10px" />--> <!--<el-input v-model="spec" placeholder="规格" clearable size="small" style="width:150px;margin: 0px 10px" />-->
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=100;searchRecord()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="pageCurrent1=1;pageSize1=100;searchRecord()">查询</el-button>
</el-row> </el-row>
<el-row v-show="false" style="margin-bottom:10px"> <el-row v-show="false" style="margin-bottom:10px">
<el-date-picker <el-date-picker

View File

@@ -25,7 +25,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" size="small" style="margin-left: 10px" @click="searchContractDetail">查询明细</el-button> <el-button type="primary" size="small" style="margin-left: 10px" plain @click="searchContractDetail">查询明细</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table ref="multipleTable" :data="table1" border stripe size="mini" highlight-current-row style="width: 100%;margin-bottom: 5px" @selection-change="handleSelectionChange"> <el-table ref="multipleTable" :data="table1" border stripe size="mini" highlight-current-row style="width: 100%;margin-bottom: 5px" @selection-change="handleSelectionChange">
@@ -72,7 +72,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="primary" style="margin: 10px" size="small" @click="submitInStorage">确认入库</el-button> <el-button class="button111" style="margin: 10px" size="small" @click="submitInStorage">确认入库</el-button>
</el-card> </el-card>
</div> </div>
</template> </template>
@@ -475,3 +475,20 @@ export default {
margin-bottom: 5px; margin-bottom: 5px;
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -14,7 +14,7 @@
@change="pageCurrent=1;total=0;searchTable()"/> @change="pageCurrent=1;total=0;searchTable()"/>
<span>操作者:</span> <span>操作者:</span>
<el-input v-model="workerName" placeholder="操作者" size="small" clearable style="width:100px; margin-top: 10px;margin-bottom: 10px"/> <el-input v-model="workerName" placeholder="操作者" size="small" clearable style="width:100px; margin-top: 10px;margin-bottom: 10px"/>
<el-button :disabled="loading" type="success" class="el-icon-search" size="small" style="margin: 10px 0 0 10px" @click="pageCurrent=1;total=0;searchTable();">查询</el-button> <el-button :disabled="loading" type="primary" class="el-icon-search" size="small" style="margin: 10px 0 0 10px" plain @click="pageCurrent=1;total=0;searchTable();">查询</el-button>
</el-row> </el-row>
</el-card> </el-card>

View File

@@ -31,7 +31,7 @@
<el-input v-model="totalProcessingHours" clearable size="small" style="margin-right:10px;width: 100px"/> <el-input v-model="totalProcessingHours" clearable size="small" style="margin-right:10px;width: 100px"/>
<span>计划总工时小时:</span> <span>计划总工时小时:</span>
<el-input v-model="totalPlannedHours" clearable size="small" style="margin-right:10px;width: 100px"/> <el-input v-model="totalPlannedHours" clearable size="small" style="margin-right:10px;width: 100px"/>
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchTable()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" style="margin: 0 0 0 10px" plain @click="searchTable()">查询</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table :data="tableData" highlight-current-row border style="width: 100%;" size="mini" height="300"> <el-table :data="tableData" highlight-current-row border style="width: 100%;" size="mini" height="300">

View File

@@ -6,7 +6,7 @@
<el-input v-model="materialName" placeholder="名称规格型号" size="small" clearable style="margin-bottom: 10px; width: 180px;"/> <el-input v-model="materialName" placeholder="名称规格型号" size="small" clearable style="margin-bottom: 10px; width: 180px;"/>
<!-- <el-input v-model="materialSpec" placeholder="物料规格" size="small" style="margin-bottom: 10px; width: 120px;" clearable/>--> <!-- <el-input v-model="materialSpec" placeholder="物料规格" size="small" style="margin-bottom: 10px; width: 120px;" clearable/>-->
<!-- <el-input v-model="materialModel" placeholder="物料型号" size="small" style="margin-bottom: 10px; width: 120px;" clearable/>--> <!-- <el-input v-model="materialModel" placeholder="物料型号" size="small" style="margin-bottom: 10px; width: 120px;" clearable/>-->
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="pageCurrent=1;pageSize=30;searchMaterial()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="pageCurrent=1;pageSize=30;searchMaterial()">查询</el-button>
<!-- <el-button type="primary" icon="el-icon-edit" size="small" @click="addMaterial()">新增</el-button>--> <!-- <el-button type="primary" icon="el-icon-edit" size="small" @click="addMaterial()">新增</el-button>-->
</el-row> </el-row>
</div> </div>

View File

@@ -12,8 +12,8 @@
style="width:250px;margin-left: 5px;margin-top: 10px;margin-bottom: 10px" style="width:250px;margin-left: 5px;margin-top: 10px;margin-bottom: 10px"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期"/> end-placeholder="结束日期"/>
<el-button size="small" type="success" icon="el-icon-search" style="margin-left: 5px" @click="searchTable">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" style="margin-left: 5px" plain @click="searchTable">查询</el-button>
<el-button size="small" type="primary" icon="el-icon-download" @click="exportExcel">导出</el-button> <el-button size="small" type="primary" icon="el-icon-download" plain @click="exportExcel">导出</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table :data="tableData" size="mini" style="max-height: 720px" height="720px" border> <el-table :data="tableData" size="mini" style="max-height: 720px" height="720px" border>

View File

@@ -28,7 +28,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" size="small" style="margin: 0px 10px" icon="el-icon-search" @click="pageCurrent=1;pageSize=300;total=0;searchData()">查询</el-button> <el-button type="primary" size="small" style="margin: 0px 10px" icon="el-icon-search" plain @click="pageCurrent=1;pageSize=300;total=0;searchData()">查询</el-button>
<el-tooltip effect="dark" content="将零件打回,重新编制工艺定额" placement="top"> <el-tooltip effect="dark" content="将零件打回,重新编制工艺定额" placement="top">
<el-button v-show="true" type="danger" plain style="margin-left: 0px;margin-top: 3px" icon="el-icon-edit" size="small" @click="returnEdit">零件工艺调整</el-button> <el-button v-show="true" type="danger" plain style="margin-left: 0px;margin-top: 3px" icon="el-icon-edit" size="small" @click="returnEdit">零件工艺调整</el-button>
</el-tooltip> </el-tooltip>

View File

@@ -29,7 +29,7 @@
</el-option> </el-option>
</el-select> </el-select>
<el-checkbox v-model="checked" :disabled="isShow2 || (parseInt(token) !== 6 && parseInt(token) !== 19)" size="small" style="margin-left:10px">是否核准</el-checkbox> <el-checkbox v-model="checked" :disabled="isShow2 || (parseInt(token) !== 6 && parseInt(token) !== 19)" size="small" style="margin-left:10px">是否核准</el-checkbox>
<el-button :disabled="disabled" type="baocun" size="small" icon="el-icon-tickets" @click="saveApprove">保存</el-button> <el-button :disabled="disabled" type="success" size="small" plain icon="el-icon-tickets" @click="saveApprove">保存</el-button>
<el-button v-show="isShowN" type="text" style="margin-top: 8px;float: right" @click="isShowN=false">折叠</el-button> <el-button v-show="isShowN" type="text" style="margin-top: 8px;float: right" @click="isShowN=false">折叠</el-button>
<el-button v-show="!isShowN" type="text" style="margin-top: 8px;float: right" @click="isShowN=true">展开</el-button> <el-button v-show="!isShowN" type="text" style="margin-top: 8px;float: right" @click="isShowN=true">展开</el-button>
</el-card> </el-card>
@@ -69,7 +69,7 @@
<el-input-number v-model="diameter" size="small" controls-position="right" style="width:100px;margin-top: 7px"/> <el-input-number v-model="diameter" size="small" controls-position="right" style="width:100px;margin-top: 7px"/>
<span>长度:</span> <span>长度:</span>
<el-input-number v-model="height2" size="small" controls-position="right" style="width:100px;margin-top:3px;"/> <el-input-number v-model="height2" size="small" controls-position="right" style="width:100px;margin-top:3px;"/>
<el-button style="margin-top: 3px;margin-left: 10px;" type="success" size="small" @click="Calculation1()">计算重量</el-button> <el-button style="margin-top: 3px;margin-left: 10px;" type="primary" size="small" plain @click="Calculation1()">计算重量</el-button>
<span>重量:</span> <span>重量:</span>
<el-input v-model="weight" style="width:150px" size="small" placeholder="重量"> <el-input v-model="weight" style="width:150px" size="small" placeholder="重量">
<el-button slot="append" icon="el-icon-cjn-09" @click="saveWeight"/> <el-button slot="append" icon="el-icon-cjn-09" @click="saveWeight"/>
@@ -84,7 +84,7 @@
<el-input-number v-model="Width" size="small" controls-position="right" style="width:100px;margin-top:20px;"/> <el-input-number v-model="Width" size="small" controls-position="right" style="width:100px;margin-top:20px;"/>
<span>:</span> <span>:</span>
<el-input-number v-model="height1" size="small" controls-position="right" style="width:100px;margin-top:20px;"/> <el-input-number v-model="height1" size="small" controls-position="right" style="width:100px;margin-top:20px;"/>
<el-button style="margin-top: 20px;margin-left: 10px;" type="primary" size="small" @click="Calculation2()">计算重量 <el-button style="margin-top: 20px;margin-left: 10px;" type="primary" size="small" plain @click="Calculation2()">计算重量
</el-button> </el-button>
<span>重量:</span> <span>重量:</span>
<el-input v-model="weight" style="width:150px" size="small" placeholder="重量"> <el-input v-model="weight" style="width:150px" size="small" placeholder="重量">
@@ -112,7 +112,7 @@
<el-input-number v-model="bianhou" size="small" controls-position="right" style="width:100px;margin-top:20px;"/> <el-input-number v-model="bianhou" size="small" controls-position="right" style="width:100px;margin-top:20px;"/>
<span>长度:</span> <span>长度:</span>
<el-input-number v-model="changdu" size="small" controls-position="right" style="width:100px;margin-top:20px;"/> <el-input-number v-model="changdu" size="small" controls-position="right" style="width:100px;margin-top:20px;"/>
<el-button style="margin-top: 20px;margin-left: 10px;" type="primary" size="small" @click="Calculation4()">计算重量 <el-button style="margin-top: 20px;margin-left: 10px;" type="primary" size="small" plain @click="Calculation4()">计算重量
</el-button> </el-button>
<span>重量:</span> <span>重量:</span>
<el-input v-model="weight" style="width:150px" size="small" placeholder="重量"> <el-input v-model="weight" style="width:150px" size="small" placeholder="重量">
@@ -150,21 +150,21 @@
</el-select> </el-select>
<span>公差:</span> <span>公差:</span>
<el-input v-model="tolerance" size="small" style="width:100px" placeholder="公差"/> <el-input v-model="tolerance" size="small" style="width:100px" placeholder="公差"/>
<el-button style="margin-left: 10px" type="success" size="small" @click="calTol()">计算公差</el-button> <el-button style="margin-left: 10px" type="primary" size="small" plain @click="calTol()">计算公差</el-button>
<el-button-group v-if="isShow1" style="margin-left: 10px" > <el-button-group v-if="isShow1" style="margin-left: 10px" >
<el-button v-if="isShow1" type="info" size="small" icon="el-icon-document" @click="pasteTable">粘贴 <el-button v-if="isShow1" type="info" size="small" icon="el-icon-document" plain @click="pasteTable">粘贴
</el-button> </el-button>
<el-button v-if="true" :disabled="disabled" type="warning" size="small" icon="el-icon-tickets" @click="DYbtn">原有 <el-button v-if="true" :disabled="disabled" type="warning" size="small" icon="el-icon-tickets" plain @click="DYbtn">原有
</el-button> </el-button>
<el-button :disabled="disabled" type="warning" size="small" icon="el-icon-tickets" @click="WYbtn"> <el-button :disabled="disabled" type="warning" size="small" icon="el-icon-tickets" plain @click="WYbtn">
完艺 完艺
</el-button> </el-button>
<el-button :disabled="disabled" type="danger" size="small" icon="el-icon-delete" @click="deleteTable">删除 <el-button :disabled="disabled" type="danger" size="small" icon="el-icon-delete" plain @click="deleteTable">删除
</el-button> </el-button>
<el-button v-if="isShow1" type="baocun" size="small" icon="el-icon-tickets" style="margin-left: 1px;margin-right: 1px" @click="copyAndSave"> <el-button v-if="isShow1" type="success" size="small" icon="el-icon-tickets" style="margin-left: 1px;margin-right: 1px" plain @click="copyAndSave">
复制并保存 复制并保存
</el-button> </el-button>
<el-button :disabled="disabled" type="baocun" size="small" icon="el-icon-tickets" @click="saveApprove">保存 <el-button :disabled="disabled" type="success" size="small" icon="el-icon-tickets" plain @click="saveApprove">保存
</el-button> </el-button>
</el-button-group> </el-button-group>
<el-button v-if="!isShow1" type="warning" size="small" icon="el-icon-tickets" @click="saveCompiled">记录修改备注</el-button> <el-button v-if="!isShow1" type="warning" size="small" icon="el-icon-tickets" @click="saveCompiled">记录修改备注</el-button>

View File

@@ -22,9 +22,9 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="primary" size="small" icon="el-icon-bangzhu" style="margin-left: 10px" @click="selectAll(tableData)">全选</el-button> <el-button type="primary" size="small" icon="el-icon-bangzhu" style="margin-left: 10px" plain @click="selectAll(tableData)">全选</el-button>
<el-button type="baocun" size="small" icon="el-icon-upload" style="margin-left: 10px" @click="save">保存</el-button> <el-button type="success" size="small" icon="el-icon-upload" style="margin-left: 10px" plain @click="save">保存</el-button>
<el-button type="baocun" size="small" icon="el-icon-upload" style="margin-left: 10px;float: right" @click="currency">通用件保存</el-button> <el-button type="success" size="small" icon="el-icon-upload" style="margin-left: 10px;float: right" plain @click="currency">通用件保存</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table <el-table

View File

@@ -25,8 +25,8 @@
<!-- size="small"--> <!-- size="small"-->
<!-- type="date"--> <!-- type="date"-->
<!-- placeholder="请选择结束日期"/>--> <!-- placeholder="请选择结束日期"/>-->
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px;margin-right: 15px" @click="addBidBond();flag1 = 2">新增</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px;margin-right: 15px" @click="addBidBond();flag1 = 2">新增</el-button>
</el-card> </el-card>
<!--投标保证金表格--> <!--投标保证金表格-->
@@ -70,7 +70,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="保证金金额" width="100"> <el-table-column align="center" label="保证金金额" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag style="width: 80px" size="mini">{{ Number(scope.row.保证金金额).toFixed(2) }}</el-tag> <span style="width: 80px" size="mini">{{ Number(scope.row.保证金金额).toFixed(2) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="中标服务费" width="100"> <el-table-column align="center" label="中标服务费" width="100">
@@ -90,8 +90,8 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="实收回金额" width="100"> <el-table-column align="center" label="实收回金额" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="parseInt(scope.row.是否收回) === 2" size="mini" type="success" style="width: 66px">{{ scope.row.应收回金额 }}</el-tag> <span v-if="parseInt(scope.row.是否收回) === 2" size="mini" type="success" style="width: 66px">{{ scope.row.应收回金额 }}</span>
<el-tag v-else slot="reference" type="danger" size="mini" style="width: 66px">未收回</el-tag> <span v-else slot="reference" type="danger" size="mini" style="width: 66px">未收回</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="投标人" prop="投标人" width="100"> <el-table-column align="center" label="投标人" prop="投标人" width="100">
@@ -133,7 +133,7 @@
{{ scope.row.备注 }} {{ scope.row.备注 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" fixed="right" align="center" width="200"> <el-table-column label="操作" fixed="right" align="center" width="320">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1000" effect="dark" content="收回" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="收回" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
@@ -142,7 +142,7 @@
size="mini" size="mini"
type="text" type="text"
icon="el-icon-money" icon="el-icon-money"
@click.stop="TakeBack(scope.row);flag1 = 1"/> @click.stop="TakeBack(scope.row);flag1 = 1">收回</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1000" class="item" effect="dark" content="转入履约金" placement="top"> <el-tooltip :open-delay="1000" class="item" effect="dark" content="转入履约金" placement="top">
@@ -153,7 +153,7 @@
type="text" type="text"
style="margin-left: 20px" style="margin-left: 20px"
icon="el-icon-stopwatch" icon="el-icon-stopwatch"
@click.stop="ComplianceGold(scope.row)"/> @click.stop="ComplianceGold(scope.row)">转入履约金</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1000" class="item" effect="dark" content="编辑" placement="top"> <el-tooltip :open-delay="1000" class="item" effect="dark" content="编辑" placement="top">
@@ -164,7 +164,7 @@
type="text" type="text"
style="margin-left: 20px" style="margin-left: 20px"
icon="el-icon-edit-outline" icon="el-icon-edit-outline"
@click.stop="editBidBond(scope.row);flag1 = 3"/> @click.stop="editBidBond(scope.row);flag1 = 3">编辑</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1000" class="item" effect="dark" content="删除" placement="top"> <el-tooltip :open-delay="1000" class="item" effect="dark" content="删除" placement="top">
@@ -175,7 +175,7 @@
type="text" type="text"
style="margin-left: 20px" style="margin-left: 20px"
icon="el-icon-delete" icon="el-icon-delete"
@click.stop="delBidBond(scope.row)"/> @click.stop="delBidBond(scope.row)">删除</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
</template> </template>
@@ -782,3 +782,20 @@ export default {
<style scoped> <style scoped>
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -21,11 +21,11 @@
<!--:value="item.value">--> <!--:value="item.value">-->
<!--</el-option>--> <!--</el-option>-->
<!--</el-select>--> <!--</el-select>-->
<el-button type="success" icon="el-icon-search" class="move" size="small" style="margin-left: 10px" @click="selectCustomerOfName">查询</el-button> <el-button type="primary" icon="el-icon-search" class="move" size="small" style="margin-left: 10px" plain @click="selectCustomerOfName">查询</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-button icon="el-icon-circle-plus-outline" type="primary" size="small" style="margin-top: 3px;" @click="addMarketingManager();flag = 1" >添加营销经理</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" style="margin-top: 3px;" @click="addMarketingManager();flag = 1" >添加营销经理</el-button>
<el-button icon="el-icon-circle-plus-outline" type="primary" plain size="small" style="margin-top: 3px" @click = "addCustomer();flag1 = 1">新增客户</el-button> <el-button class="button222" icon="el-icon-circle-plus-outline" size="small" style="margin-top: 3px" @click = "addCustomer();flag1 = 1">新增客户</el-button>
<el-table v-loading="loading3" :data="tableData3" highlight-current-row height="192" size="mini" stripe style="width: 100%;margin-top: 3px;margin-bottom: 0px" border> <el-table v-loading="loading3" :data="tableData3" highlight-current-row height="192" size="mini" stripe style="width: 100%;margin-top: 3px;margin-bottom: 0px" border>
<!--<el-table-column label="责权省份" align="center" min-width="80">--> <!--<el-table-column label="责权省份" align="center" min-width="80">-->
<!--<template slot-scope="scope">--> <!--<template slot-scope="scope">-->
@@ -52,7 +52,7 @@
{{ scope.row.出生日期 }} {{ scope.row.出生日期 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="100px" fixed="right"> <el-table-column label="操作" align="center" width="150px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1000" class="item" effect="dark" content="编辑" placement="top"> <el-tooltip :open-delay="1000" class="item" effect="dark" content="编辑" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
@@ -60,7 +60,7 @@
size="mini" size="mini"
type="text" type="text"
class="el-icon-edit-outline" class="el-icon-edit-outline"
@click="handleEditMarketingManager(scope.row);flag = 2"/> @click="handleEditMarketingManager(scope.row);flag = 2">编辑</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1000" class="item" effect="dark" content="删除" placement="top"> <el-tooltip :open-delay="1000" class="item" effect="dark" content="删除" placement="top">
@@ -70,7 +70,7 @@
type="text" type="text"
style="margin-left: 20px" style="margin-left: 20px"
class="el-icon-delete" class="el-icon-delete"
@click="handleDeleteMarketingManager(scope.$index, scope.row)"/> @click="handleDeleteMarketingManager(scope.$index, scope.row)">删除</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
</template> </template>
@@ -672,3 +672,38 @@ export default {
border: 1px solid black!important; border: 1px solid black!important;
} }
</style> </style>
<style lang="scss">
.button111
{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>
<style lang="scss">
.button222{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -10,7 +10,7 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-input v-model="customerName1" clearable size="small" style="width:200px;margin: 0px 10px" placeholder="合同编号或客户名称" @keyup.enter.native="PageSize = 30;PageCurrent = 1;fetchTableData1()"/> <el-input v-model="customerName1" clearable size="small" style="width:200px;margin: 0px 10px" placeholder="合同编号或客户名称" @keyup.enter.native="PageSize = 30;PageCurrent = 1;fetchTableData1()"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
</el-row> </el-row>
</el-card> </el-card>
@@ -60,7 +60,7 @@
<el-table-column align="center" label="合同编号" prop="合同编号" width="130"> <el-table-column align="center" label="合同编号" prop="合同编号" width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<template> <template>
<el-tag slot="reference" type="mini">{{ scope.row.合同编号 }}</el-tag> <span slot="reference" type="mini">{{ scope.row.合同编号 }}</span>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
@@ -82,7 +82,7 @@
</div> </div>
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9">
<el-table :data="tableData2" class="subTableHeader" border stripe style="text-align: center" size="mini"> <el-table :data="tableData2" class="subTableHeader" border style="text-align: center" size="mini">
<el-table-column label="设备型号" align="center" width="230" show-overflow-tooltip> <el-table-column label="设备型号" align="center" width="230" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机床图号 }} {{ scope.row.机床图号 }}

View File

@@ -15,7 +15,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;tableData2=[];getTableData()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSize = 30;PageCurrent = 1;tableData2=[];getTableData()">查询</el-button>
<!--<el-badge :value="value" :max="99" class="item">--> <!--<el-badge :value="value" :max="99" class="item">-->
<!--<el-button size="small" plain @click="AccountsReceivable">查看收款信息</el-button>--> <!--<el-button size="small" plain @click="AccountsReceivable">查看收款信息</el-button>-->
<!--</el-badge>--> <!--</el-badge>-->
@@ -58,7 +58,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="合同编号" prop="合同编号" width="140"> <el-table-column align="center" label="合同编号" prop="合同编号" width="140">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag size="mini" type="primary">{{ scope.row.合同编号 }}</el-tag> {{ scope.row.合同编号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="项目名称" prop="项目名称" width="100" show-overflow-tooltip> <el-table-column align="center" label="项目名称" prop="项目名称" width="100" show-overflow-tooltip>
@@ -143,7 +143,6 @@
style="width: 500px;max-height: 440px;text-align: center" style="width: 500px;max-height: 440px;text-align: center"
highlight-current-row highlight-current-row
border border
stripe
size="mini"> size="mini">
<el-table-column <el-table-column
align="center" align="center"

View File

@@ -27,8 +27,8 @@
<!-- size="small"--> <!-- size="small"-->
<!-- type="date"--> <!-- type="date"-->
<!-- placeholder="请选择结束日期"/>--> <!-- placeholder="请选择结束日期"/>-->
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSize = 30;PageCurrent = 1;fetchTableData1()" >查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="ADD()">新增</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="ADD()" >新增</el-button>
</div> </div>
</el-card> </el-card>
<el-card> <el-card>
@@ -91,22 +91,23 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="合同编号" prop="合同编号" width="130"> <el-table-column align="center" label="合同编号" prop="合同编号" width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<template> {{ scope.row.合同编号 }}
<el-popover <!-- <template>-->
placement="right" <!-- <el-popover-->
width="200" <!-- placement="right"-->
trigger="hover"> <!-- width="200"-->
<div v-show="!scope.row.招标企业" style="text-align: center"> <!-- trigger="hover">-->
<h4 style="margin: 5px 0">未缴纳投标保证金</h4> <!-- <div v-show="!scope.row.招标企业" style="text-align: center">-->
</div> <!-- <h4 style="margin: 5px 0">未缴纳投标保证金</h4>-->
<div v-show="scope.row.招标企业"> <!-- </div>-->
<h4>招标企业 {{ scope.row.招标企业 }}</h4> <!-- <div v-show="scope.row.招标企业">-->
<h4>投标保证金金额 {{ scope.row.保证金金额 }}</h4> <!-- <h4>招标企业 {{ scope.row.招标企业 }}</h4>-->
<h4>是否收回 {{ parseInt(scope.row.是否收回) === 1 ? '未收回' : '已收回' }}</h4> <!-- <h4>投标保证金金额 {{ scope.row.保证金金额 }}</h4>-->
</div> <!-- <h4>是否收回 {{ parseInt(scope.row.是否收回) === 1 ? '未收回' : '已收回' }}</h4>-->
<el-tag slot="reference" size="mini">{{ scope.row.合同编号 }}</el-tag> <!-- </div>-->
</el-popover> <!-- <el-tag slot="reference" size="mini">{{ scope.row.合同编号 }}</el-tag>-->
</template> <!-- </el-popover>-->
<!-- </template>-->
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="客户名称" prop="客户名称" width="190" show-overflow-tooltip> <el-table-column align="center" label="客户名称" prop="客户名称" width="190" show-overflow-tooltip>
@@ -174,7 +175,7 @@
{{ scope.row.合同信息备注 }} {{ scope.row.合同信息备注 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="170"> <el-table-column label="操作" align="center" width="300">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
@@ -188,7 +189,7 @@
type="text" type="text"
icon="el-icon-edit-outline" icon="el-icon-edit-outline"
style="margin-left: 20px" style="margin-left: 20px"
@click.stop="handleEdit(scope.row)"/> @click.stop="handleEdit(scope.row)">修改</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1000" effect="dark" content="删除" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="删除" placement="top">
@@ -198,7 +199,7 @@
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
style="margin-left: 20px" style="margin-left: 20px"
@click.stop="handleDelete(scope.row)"/> @click.stop="handleDelete(scope.row)">删除</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
</template> </template>
@@ -1385,9 +1386,25 @@ a{
tr.el-table__row td { tr.el-table__row td {
background-color: #d8e5f6 !important; background-color: #d8e5f6 !important;
} }
tr.el-table__row.el-table__row--striped td { tr.el-table__row.el-table__row--striped td {
background: #e9f0f9 !important; background: #e9f0f9 !important;
} }
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -3,12 +3,12 @@
<el-card class="box-card"> <el-card class="box-card">
<div> <div>
<el-row> <el-row>
<el-button :disabled="disabledAdd" type="primary" icon="el-icon-circle-plus-outline" size="mini" @click="function_InvoiceAdd">新增</el-button> <el-button :disabled="disabledAdd" class="button111" icon="el-icon-circle-plus-outline" size="mini" @click="function_InvoiceAdd">新增</el-button>
<el-button :disabled="disabledEdit" type="warning" icon="el-icon-edit" size="mini" @click="function_InvoiceEdit">编辑</el-button> <el-button :disabled="disabledEdit" type="warning" icon="el-icon-edit" size="mini" plain @click="function_InvoiceEdit">编辑</el-button>
<el-button :disabled="disabledSave" type="success" icon="el-icon-upload" size="mini" @click="function_InvoiceSave">保存</el-button> <el-button :disabled="disabledSave" type="success" icon="el-icon-upload" size="mini" plain @click="function_InvoiceSave">保存</el-button>
<el-button :disabled="disabledExamine" type="success" icon="el-icon-lock" size="mini" @click="function_InvoiceExamine">核准</el-button> <el-button :disabled="disabledExamine" type="success" icon="el-icon-lock" size="mini" plain @click="function_InvoiceExamine">核准</el-button>
<el-button :disabled="disabledAbandoningTrial" type="info" icon="el-icon-unlock" size="mini" @click="function_InvoiceAbandoningTrial">放弃</el-button> <el-button :disabled="disabledAbandoningTrial" type="info" icon="el-icon-unlock" size="mini" plain @click="function_InvoiceAbandoningTrial">放弃</el-button>
<el-button :disabled="disabledDelete" type="danger" icon="el-icon-delete" size="mini" @click="function_InvoiceDelete">删除</el-button> <el-button :disabled="disabledDelete" type="danger" icon="el-icon-delete" size="mini" plain @click="function_InvoiceDelete">删除</el-button>
<div style="float: right"> <div style="float: right">
<el-autocomplete <el-autocomplete
v-model="searchCriteria" v-model="searchCriteria"
@@ -177,8 +177,8 @@
size="small" size="small"
type="datetime" type="datetime"
placeholder="结束日期"/> placeholder="结束日期"/>
<el-button type="success" icon="el-icon-menu" size="mini" style="margin-left: 74px" @click="openSearch">加载</el-button> <el-button type="primary" icon="el-icon-menu" size="mini" style="margin-left: 74px" plain @click="openSearch">加载</el-button>
<el-button type="warning" icon="el-icon-delete" size="mini" @click="clearSearch">清空</el-button> <el-button type="warning" icon="el-icon-delete" size="mini" plain @click="clearSearch">清空</el-button>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
@@ -1221,3 +1221,20 @@ export default {
clear: both clear: both
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -26,9 +26,10 @@
<!-- size="small"--> <!-- size="small"-->
<!-- type="date"--> <!-- type="date"-->
<!-- placeholder="请选择结束日期"/>--> <!-- placeholder="请选择结束日期"/>-->
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button <el-button
size="mini" class="button111"
size="small"
type="primary" type="primary"
icon="el-icon-circle-plus-outline" icon="el-icon-circle-plus-outline"
@click.stop="openAddInvoiceRecordingDialog(); flag = 1">新增记录</el-button> @click.stop="openAddInvoiceRecordingDialog(); flag = 1">新增记录</el-button>
@@ -48,7 +49,8 @@
@row-click="fetchTableData2"> @row-click="fetchTableData2">
<el-table-column align="center" label="合同编号" prop="合同编号" width="140"> <el-table-column align="center" label="合同编号" prop="合同编号" width="140">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag size="mini" type="primary">{{ scope.row.合同编号 }}</el-tag> <!-- <el-tag size="mini" type="primary">{{ scope.row.合同编号 }}</el-tag>-->
{{ scope.row.合同编号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="项目名称" prop="项目名称" width="150" show-overflow-tooltip> <el-table-column align="center" label="项目名称" prop="项目名称" width="150" show-overflow-tooltip>
@@ -68,14 +70,14 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="合同总金额(含税)" width="130"> <el-table-column align="center" label="合同总金额(含税)" width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.合同总金额===''||scope.row.合同总金额===null" slot="reference" size="mini" style="width: 80px" type="success">0.00</el-tag> <span v-if="scope.row.合同总金额===''||scope.row.合同总金额===null" slot="reference" size="mini" style="width: 80px" type="success">0.00</span>
<el-tag v-else slot="reference" type="success" size="mini" style="width: 80px"> {{ Number(scope.row.合同总金额).toFixed(2) }} </el-tag> <span v-else slot="reference" type="success" size="mini" style="width: 80px"> {{ Number(scope.row.合同总金额).toFixed(2) }} </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="已到账金额" width="120"> <el-table-column align="center" label="已到账金额" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.已支付===''||scope.row.已支付===null" slot="reference" size="mini" style="width: 80px" type="success">0.00</el-tag> <span v-if="scope.row.已支付===''||scope.row.已支付===null" slot="reference" size="mini" style="width: 80px" type="success">0.00</span>
<el-tag v-else slot="reference" type="success" size="mini" style="width: 80px"> {{ Number(scope.row.已支付).toFixed(2) }} </el-tag> <span v-else slot="reference" type="success" size="mini" style="width: 80px"> {{ Number(scope.row.已支付).toFixed(2) }} </span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column align="center" label="税率" width="100">--> <!-- <el-table-column align="center" label="税率" width="100">-->
@@ -820,3 +822,20 @@ export default {
/* }*/ /* }*/
/*}*/ /*}*/
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -26,7 +26,7 @@
<!-- size="small"--> <!-- size="small"-->
<!-- type="date"--> <!-- type="date"-->
<!-- placeholder="请选择结束日期"/>--> <!-- placeholder="请选择结束日期"/>-->
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
</el-card> </el-card>
<el-card> <el-card>
@@ -42,7 +42,7 @@
@row-click="fetchTableData2"> @row-click="fetchTableData2">
<el-table-column align="center" label="合同编号" prop="合同编号" width="150"> <el-table-column align="center" label="合同编号" prop="合同编号" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag size="mini" type="primary">{{ scope.row.合同编号 }}</el-tag> <span size="mini" type="primary">{{ scope.row.合同编号 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="项目名称" prop="项目名称" width="150" show-overflow-tooltip> <el-table-column align="center" label="项目名称" prop="项目名称" width="150" show-overflow-tooltip>

View File

@@ -4,14 +4,14 @@
<el-col :span="12"> <el-col :span="12">
<el-card v-loading="loading1" style="height: 450px"> <el-card v-loading="loading1" style="height: 450px">
<span>年营销金额图表</span> <span>年营销金额图表</span>
<el-button size="small" type="success" icon="el-icon-search" @click="search1()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" plain @click="search1()">查询</el-button>
<div id="myChart1" :style="{width: '100%', height: '400px', margin: 'auto'}"/> <div id="myChart1" :style="{width: '100%', height: '400px', margin: 'auto'}"/>
</el-card> </el-card>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-card v-loading="loading2" style="height: 450px"> <el-card v-loading="loading2" style="height: 450px">
<span>客户分布图</span> <span>客户分布图</span>
<el-button size="small" type="success" icon="el-icon-search" @click="search2()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" plain @click="search2()">查询</el-button>
<div id="myChart2" :style="{width: '100%', height: '400px', margin: 'auto'}"/> <div id="myChart2" :style="{width: '100%', height: '400px', margin: 'auto'}"/>
</el-card> </el-card>
</el-col> </el-col>
@@ -20,7 +20,7 @@
<el-col :span="12"> <el-col :span="12">
<el-card v-loading="loading3" style="height: 450px"> <el-card v-loading="loading3" style="height: 450px">
<span>在执行项目金额及回款</span> <span>在执行项目金额及回款</span>
<el-button size="small" type="success" icon="el-icon-search" @click="search3()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" plain @click="search3()">查询</el-button>
<div id="myChart3" :style="{width: '100%', height: '400px', margin: 'auto'}"/> <div id="myChart3" :style="{width: '100%', height: '400px', margin: 'auto'}"/>
</el-card> </el-card>
</el-col> </el-col>

View File

@@ -27,7 +27,7 @@
<!-- size="small"--> <!-- size="small"-->
<!-- type="date"--> <!-- type="date"-->
<!-- placeholder="请选择结束日期"/>--> <!-- placeholder="请选择结束日期"/>-->
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSizeProject = 30;PageCurrentProject = 1;searchTableDataProject()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSizeProject = 30;PageCurrentProject = 1;searchTableDataProject()">查询</el-button>
</el-card> </el-card>
<el-card> <el-card>
@@ -43,7 +43,7 @@
@row-click="fetchTableData1"> @row-click="fetchTableData1">
<el-table-column align="center" label="合同编号" prop="合同编号" width="150"> <el-table-column align="center" label="合同编号" prop="合同编号" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag size="mini" type="primary">{{ scope.row.合同编号 }}</el-tag> <span size="mini" type="primary">{{ scope.row.合同编号 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="项目名称" prop="项目名称" width="160" show-overflow-tooltip> <el-table-column align="center" label="项目名称" prop="项目名称" width="160" show-overflow-tooltip>

View File

@@ -3,7 +3,7 @@
<el-card> <el-card>
<el-input v-model="invoiceNumber" placeholder="发货单号和收货单位" clearable style="width: 200px;margin-right: 10px" size="small" @keyup.enter.native="openSearch"/> <el-input v-model="invoiceNumber" placeholder="发货单号和收货单位" clearable style="width: 200px;margin-right: 10px" size="small" @keyup.enter.native="openSearch"/>
<!--<el-input v-model="receivingUnit" placeholder="请输入收货单位" clearable style="width: 150px;margin-right: 10px" size="mini"/>--> <!--<el-input v-model="receivingUnit" placeholder="请输入收货单位" clearable style="width: 150px;margin-right: 10px" size="mini"/>-->
<el-button type="success" icon="el-icon-menu" size="mini" style="margin-left: 10px" @click="openSearch">查询</el-button> <el-button type="primary" icon="el-icon-search" size="mini" style="margin-left: 10px" plain @click="openSearch">查询</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-col :span="10"> <el-col :span="10">
@@ -76,7 +76,7 @@
<el-table v-loading="listLoading" :data="tableData" highlight-current-row style="width: 100%" height="560" border size="mini"> <el-table v-loading="listLoading" :data="tableData" highlight-current-row style="width: 100%" height="560" border size="mini">
<el-table-column align="center" label="货品类别" width="80"> <el-table-column align="center" label="货品类别" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag effect="dark" size="small" type="success">{{ scope.row.货品类别 }}</el-tag> <span effect="dark" size="small" type="success">{{ scope.row.货品类别 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="货品编号"> <el-table-column align="center" label="货品编号">

View File

@@ -8,7 +8,7 @@
<!--<el-input v-model="phNumber" size="small" clearable style="width:200px"/>--> <!--<el-input v-model="phNumber" size="small" clearable style="width:200px"/>-->
<!--<el-button type="success" class="el-icon-search" size="small" @click="pageCurrent=1;pageSize=50;searchTable()">查询</el-button>--> <!--<el-button type="success" class="el-icon-search" size="small" @click="pageCurrent=1;pageSize=50;searchTable()">查询</el-button>-->
<el-tooltip :open-delay="1200" effect="dark" content="新增外协厂家" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="新增外协厂家" placement="top">
<el-button type="primary" class="el-icon-circle-plus-outline" size="small" @click="editType1('form');param = 0">新增</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" @click="editType1('form');param = 0">新增</el-button>
</el-tooltip> </el-tooltip>
</el-card> </el-card>
<el-card> <el-card>
@@ -419,3 +419,20 @@ export default {
margin: 0px; margin: 0px;
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -14,8 +14,8 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button icon="el-icon-search" type="success" size="small" @click="pageCurrent = 1;pageSize = 50;getTableData()">查询</el-button> <el-button icon="el-icon-search" type="primary" size="small" plain @click="pageCurrent = 1;pageSize = 50;getTableData()">查询</el-button>
<el-button type="warning" class="el-icon-download" size="small" style="margin: 10px 0 0 10px" @click="exportExcel">导出</el-button> <el-button type="primary" class="el-icon-download" size="small" style="margin: 10px 0 0 10px" plain @click="exportExcel">导出</el-button>
</div> </div>
</el-card> </el-card>
<el-card style="width: 70%"> <el-card style="width: 70%">

View File

@@ -50,7 +50,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" class="el-icon-search" size="small" @click="pageCurrent=1;pageSize=20;searchTable()">查询</el-button> <el-button type="primary" class="el-icon-search" size="small" plain @click="pageCurrent=1;pageSize=20;searchTable()">查询</el-button>
</el-row> </el-row>
<el-table v-loading="loading" :data="tableData" height="500" size="mini" stripe style="width: 100%;" border highlight-current-row element-loading-text="拼命加载中"> <el-table v-loading="loading" :data="tableData" height="500" size="mini" stripe style="width: 100%;" border highlight-current-row element-loading-text="拼命加载中">
<el-table-column label="序号" type="index" align="center" fixed="left" width="50"/> <el-table-column label="序号" type="index" align="center" fixed="left" width="50"/>
@@ -202,7 +202,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" class="el-icon-search" size="small" @click="pageCurrent2=1;pageSize2=20;getParts()">查询</el-button> <el-button type="primary" class="el-icon-search" size="small" plain @click="pageCurrent2=1;pageSize2=20;getParts()">查询</el-button>
<el-tooltip :open-delay="1200" effect="dark" content="记录外协付款到票信息" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="记录外协付款到票信息" placement="top">
<el-button size="small" type="primary" plain class="el-icon-check" @click="editType1('form');param = 0">到票</el-button> <el-button size="small" type="primary" plain class="el-icon-check" @click="editType1('form');param = 0">到票</el-button>
</el-tooltip> </el-tooltip>

View File

@@ -3,7 +3,7 @@
<el-card> <el-card>
<span>零件号:</span> <span>零件号:</span>
<el-input v-model="partNumber" size="small" placeholder="零件号" clearable style="width:200px"/> <el-input v-model="partNumber" size="small" placeholder="零件号" clearable style="width:200px"/>
<el-button type="success" size="mini" icon="el-icon-search" style="margin-left:10px" @click="getList()">查询</el-button> <el-button type="primary" size="mini" icon="el-icon-search" style="margin-left:10px" plain @click="getList()">查询</el-button>
<el-button type="danger" plain size="mini" icon="el-icon-caret-right" style="float: right;margin-right:10px" @click="getBack()">打回车间</el-button> <el-button type="danger" plain size="mini" icon="el-icon-caret-right" style="float: right;margin-right:10px" @click="getBack()">打回车间</el-button>
<el-table <el-table
v-loading="loading1" v-loading="loading1"
@@ -83,8 +83,8 @@
<!--<el-input v-model="formNumber" size="small" placeholder="表单号" clearable style="width:200px;margin-bottom: 10px"/>--> <!--<el-input v-model="formNumber" size="small" placeholder="表单号" clearable style="width:200px;margin-bottom: 10px"/>-->
<span>厂家:</span> <span>厂家:</span>
<el-input v-model="manufacturers" size="small" placeholder="外协厂家" style="width:160px" clearable @keyup.enter.native="pageSize=20;pageList=1;fetchData()" @clear="pageSize=20;pageList=1;fetchData()"/> <el-input v-model="manufacturers" size="small" placeholder="外协厂家" style="width:160px" clearable @keyup.enter.native="pageSize=20;pageList=1;fetchData()" @clear="pageSize=20;pageList=1;fetchData()"/>
<el-button type="success" size="mini" icon="el-icon-search" style="margin-left:10px" @click="pageSize=20;pageList=1;fetchData()">查询</el-button> <el-button type="primary" size="mini" icon="el-icon-search" style="margin-left:10px" plain @click="pageSize=20;pageList=1;fetchData()">查询</el-button>
<el-button type="primary" size="mini" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="handleAdd()">新增</el-button> <el-button class="button111" size="mini" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="handleAdd()">新增</el-button>
<el-table v-loading="loading2" :data="List" highlight-current-row height="450" size="mini" stripe border @row-click="searchProcess" > <el-table v-loading="loading2" :data="List" highlight-current-row height="450" size="mini" stripe border @row-click="searchProcess" >
<el-table-column label="表单号" prop="表单号" align="center" min-width="155px"> <el-table-column label="表单号" prop="表单号" align="center" min-width="155px">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -96,10 +96,10 @@
{{ scope.row.外协厂家 }} {{ scope.row.外协厂家 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" min-width="100px"> <el-table-column label="操作" align="center" min-width="140px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-edit" plain style="margin-left:10px" @click="handleEdit(scope.row)"/> <el-button type="text" size="mini" icon="el-icon-edit" plain style="margin-left:10px" @click="handleEdit(scope.row)">编辑</el-button>
<el-button :disabled="scope.row.单据状态==='成交'" plain type="text" size="mini" icon="el-icon-delete" @click="handleDelete(scope.row)"/> <el-button :disabled="scope.row.单据状态==='成交'" plain type="text" size="mini" icon="el-icon-delete" @click="handleDelete(scope.row)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -138,16 +138,16 @@
<!--<el-tooltip :open-delay="1200" effect="dark" content="计算选入零件的价格" placement="top">--> <!--<el-tooltip :open-delay="1200" effect="dark" content="计算选入零件的价格" placement="top">-->
<!--<el-button type="success" size="mini" icon="el-icon-edit" style="margin-left:10px;margin-top: 15px" @click="calculatingPrice">计算价格</el-button>--> <!--<el-button type="success" size="mini" icon="el-icon-edit" style="margin-left:10px;margin-top: 15px" @click="calculatingPrice">计算价格</el-button>-->
<!--</el-tooltip>--> <!--</el-tooltip>-->
<el-button type="warning" size="mini" icon="el-icon-arrow-down" style="margin-left:10px" @click="getSpareParts">选入零件</el-button> <el-button type="warning" size="mini" icon="el-icon-arrow-down" plain style="margin-left:10px" @click="getSpareParts">选入零件</el-button>
<el-button type="primary" size="mini" icon="el-icon-download" style="margin-left:10px;margin-top: 3px;float: right" @click="exportTable('RWD')">导出任务单</el-button> <el-button type="primary" size="mini" icon="el-icon-download" style="margin-left:10px;margin-top: 3px;float: right" plain @click="exportTable('RWD')">导出任务单</el-button>
<el-tooltip :open-delay="1200" effect="dark" content="成交" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="成交" placement="top">
<el-button type="success" size="mini" icon="el-icon-success" style="margin-left:10px;margin-top: 3px;float: right" @click="Deal">提交</el-button> <el-button type="success" size="mini" icon="el-icon-success" style="margin-left:10px;margin-top: 3px;float: right" plain @click="Deal">提交</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="核对价格信息后确定" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="核对价格信息后确定" placement="top">
<el-button type="success" size="mini" icon="el-icon-edit" style="margin-left:10px;margin-top: 3px;float: right" @click="confirmPrice">保存</el-button> <el-button type="success" size="mini" icon="el-icon-edit" style="margin-left:10px;margin-top: 3px;float: right" plain @click="confirmPrice">保存</el-button>
</el-tooltip> </el-tooltip>
</div> </div>
<el-table v-loading="loading" :data="List3" :summary-method="getSummaries" height="488" stripe size="mini" show-summary border> <el-table v-loading="loading" :data="List3" :summary-method="getSummaries" height="488" size="mini" show-summary border>
<el-table-column label="零件图号" align="center" min-width="150px"> <el-table-column label="零件图号" align="center" min-width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ 零件图号[scope.$index] }} {{ 零件图号[scope.$index] }}
@@ -1545,3 +1545,20 @@ export default {
text-align: left; text-align: left;
} }
</style> </style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>

View File

@@ -12,7 +12,7 @@
<!--type="date"--> <!--type="date"-->
<!--size="small"--> <!--size="small"-->
<!--placeholder="选择日期"/>--> <!--placeholder="选择日期"/>-->
<el-button type="success" size="mini" icon="el-icon-search" style="margin-left:10px" @click="pageSize=10;pageList=1;fetchData()">查询</el-button> <el-button type="primary" size="mini" icon="el-icon-search" style="margin-left:10px" plain @click="pageSize=10;pageList=1;fetchData()">查询</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table v-loading="loading2" :data="List" :row-class-name="tableData1ClassName" highlight-current-row size="mini" height="550" border @row-click="searchProcess" > <el-table v-loading="loading2" :data="List" :row-class-name="tableData1ClassName" highlight-current-row size="mini" height="550" border @row-click="searchProcess" >
@@ -42,8 +42,8 @@
</el-col> </el-col>
<el-col :span="14"> <el-col :span="14">
<el-card> <el-card>
<el-button :disabled="loading=false" type="warning" size="mini" icon="el-icon-arrow-down" style="margin-left:10px" @click="getSpareParts">收货</el-button> <el-button :disabled="loading=false" type="warning" size="mini" icon="el-icon-arrow-down" style="margin-left:10px" plain @click="getSpareParts">收货</el-button>
<el-table v-loading="loading" :data="List3" border stripe size="mini" highlight-current-row height="595" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="List3" border size="mini" highlight-current-row height="595" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column <el-table-column
:selectable="selectable" :selectable="selectable"
type="selection" type="selection"

View File

@@ -118,7 +118,7 @@
<h4 style="margin: 0px;display: inline-block;width: 150px;">发票结算申请单明细</h4> <h4 style="margin: 0px;display: inline-block;width: 150px;">发票结算申请单明细</h4>
<span>发票号</span> <span>发票号</span>
<el-input v-model="invoiceNumber" size="small" placeholder="请选择发票结算申请单" readonly style="margin: 5px 0 5px 0"/> <el-input v-model="invoiceNumber" size="small" placeholder="请选择发票结算申请单" readonly style="margin: 5px 0 5px 0"/>
<el-table :data="tableData2" border stripe highlight-current-row style="width: 100%;max-height: 250px;" height="250px" size="mini"> <el-table :data="tableData2" border highlight-current-row style="width: 100%;max-height: 250px;" height="250px" size="mini">
<el-table-column label="名称" align="center" min-width="100"> <el-table-column label="名称" align="center" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.采购物料名称 || scope.row.离线物料名称 || scope.row.采购零件名称 }} {{ scope.row.采购物料名称 || scope.row.离线物料名称 || scope.row.采购零件名称 }}