diff --git a/src.zip b/src.zip new file mode 100644 index 00000000..94630d32 Binary files /dev/null and b/src.zip differ diff --git a/src/styles/index.scss b/src/styles/index.scss index 96f0e9d0..c6be7d0f 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -253,7 +253,8 @@ h3 { height: 37px; } .el-table__footer-wrapper tbody td, .el-table__header-wrapper tbody td { - background-color: rgb(126,172,237); + //background-color: rgb(126,172,237); + background-color: #e9f0f9; font-weight:bold; color: black; } @@ -289,7 +290,7 @@ h3 { } } .el-tabs--border-card>.el-tabs__content { - padding: 15px 15px 0px 15px!important; + padding: 8px 8px 8px 8px!important; } //.el-table__header-wrapper { // height: 25px!important; @@ -303,3 +304,39 @@ h3 { .el-table__header td,.el-table__header th{ padding:0px!important; } + + +// 20200211 刘路加 按钮样式 更新 +//分配按钮样式 橘黄 悬停变淡 +.el-button--distribution{ + 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; + } +} +// 20200211 刘路加 按钮样式 更新 +//打回 撤回 删除 移除 按钮 按钮样式 红色 悬停变淡 +.el-button--repulse{ + background:rgb(253,246,236); + border-color: #F56C6C; + color: #F56C6C; + &:hover{ + background: #F56C6C; + border-color: #F56C6C; + color: white; + } + &:focus{ + background: #F56C6C; + border-color: #F56C6C; + color: white; + } +} diff --git a/src/utils/request.js b/src/utils/request.js index 15f19c7e..82fbed06 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -19,6 +19,7 @@ export const uploadOP = `http://123.56.95.229:8010/submit/uploadOP.ashx` export const url = `http://123.56.95.229:8010/submit/MESCommonBase.ashx` // 采购件入库、离线件入库 export const ExcelDownLoad = 'http://123.56.95.229:8010/submit/MESDownloadExcel.ashx' // 导出excel export const ExcelWaiGou = 'http://192.168.0.106:8045/submit/excel.ashx' // 导出excel + // 技术中心程序发布时要更改下面所有的IP到0段 export const ServerIP = `http://123.56.95.229:8010/webpage/file/` export const uploadFileMachine = `http://123.56.95.229:8010/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231 diff --git a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue index bf7cc776..8436d6c6 100644 --- a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue +++ b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue @@ -21,7 +21,7 @@ - + @@ -87,28 +87,29 @@ :value="item.value"/> 查询 - 未分配 - 已分配 + 已分配 + + - + - + 分配 - + - + - - + + - + @@ -239,6 +240,7 @@ :page-size="pageSize0" :total="total0" style="display:inline-block;width:50%" + small layout="total, sizes, prev, pager, next, jumper" @size-change="handleSizeChange0" @current-change="handleCurrentChange0"/> @@ -414,7 +416,8 @@ :page-sizes="[10, 20, 30, 40, 50]" :page-size="pageSize1" :total="total1" - style="display:inline-block;width:50%" + small + style="display:inline-block;width:30%" layout="total, sizes, prev, pager, next, jumper" @size-change="handleSizeChange1" @current-change="handleCurrentChange1"/> @@ -697,7 +700,8 @@ export default { total1: 0, pageCurrent2: 1, pageSize2: 50, - total2: 0 + total2: 0, + checked: false } }, computed: { @@ -861,6 +865,8 @@ export default { } }, searchTable0() { // 查询标准件 + console.log(this.checked) + this.checked ? this.radio = 2 : this.radio = 1 this.loading = true this.MaterialCategoryValue ? this.check1 = 1 : this.check1 = 0 this.MaterialVarietyValue ? this.check2 = 1 : this.check2 = 0 diff --git a/src/views/WorkshopProcurement/NewArrivalList/index.vue b/src/views/WorkshopProcurement/NewArrivalList/index.vue index 8219ae73..639fad8e 100644 --- a/src/views/WorkshopProcurement/NewArrivalList/index.vue +++ b/src/views/WorkshopProcurement/NewArrivalList/index.vue @@ -644,7 +644,10 @@ export default { 到货金额组: [], getRowKeys(row) { return row.采购计划明细流水号 - } + }, + sup: '', + num: '', + num2: '' } }, computed: { @@ -945,7 +948,10 @@ export default { }) }, searchTable5(row) { - console.log(row) + this.sup = row.供应商名称 + this.num1 = row.到货单流水号 + this.num2 = row.到货单编号 + console.log(row, 22222) this.excle_row = row console.log(this.userId, this.id) this.disable = row.是否关联 @@ -1161,8 +1167,16 @@ export default { }) }, downloadExcel() { - const _ExcelWaiGou = ExcelWaiGou - this.download(`${_ExcelWaiGou}?type=Excel_NewArrivalList&folename=外购单&rec1=${this.excle_row.到货单流水号}&rec2=${this.excle_row.到货单流水号}&rec3=${this.excle_row.到货单流水号}&rec4=${this.excle_row.到货单流水号}`) + console.log(this.num2, 222222222) + var param = [] + param[0] = ['到货单流水号', this.num1] + param[1] = ['编号', this.num2] + param[2] = ['供应商', this.sup] + var Data = this.CreateData('12', '报表_备料管理_到货单明细查询', param) + this.exportExcel_NPOI(Data) + + // const _ExcelWaiGou = ExcelWaiGou + // this.download(`${_ExcelWaiGou}?type=Excel_NewArrivalList&folename=外购单&rec1=${this.excle_row.到货单流水号}&rec2=${this.excle_row.到货单流水号}&rec3=${this.excle_row.到货单流水号}&rec4=${this.excle_row.到货单流水号}`) }, /** * 下载 @@ -1214,7 +1228,7 @@ function saveAs(blob, filename = '下载文件.xls') { diff --git a/src/views/layout/components/TagsView.vue b/src/views/layout/components/TagsView.vue index 60759c22..e5287ef5 100644 --- a/src/views/layout/components/TagsView.vue +++ b/src/views/layout/components/TagsView.vue @@ -145,7 +145,8 @@ export default { margin-left: 15px; } &.active { - background-color: rgb(52,119,190); + /*background-color: rgb(52,119,190);*/ + background-color: #2A71CA; color: #ffffff; border-color: #ffffff; &::before {