diff --git a/src/api/PurchasingCenter/CreateInquirySheet.js b/src/api/PurchasingCenter/CreateInquirySheet.js
index ab95d0a1..60b8c4a6 100644
--- a/src/api/PurchasingCenter/CreateInquirySheet.js
+++ b/src/api/PurchasingCenter/CreateInquirySheet.js
@@ -353,7 +353,7 @@ export function searchMerge(num) {
}
})
}
-export function getPerson(num) {
+export function getPerson() {
return request({
url: '',
method: 'post',
@@ -387,3 +387,38 @@ export function tiaozheng2(num1, num2) {
}
})
}
+// 查询时间@change修改
+export function timeChange1(num1, num2) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '采购管理_创建询价单_外购件时间修改',
+ param: '外购件开始时间=' + num1 + '&外购件结束时间=' + num2
+ }
+ })
+}
+// 查询时间@change修改
+export function timeChange2(num1, num2) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '采购管理_创建询价单_基本件时间修改',
+ param: '基本件开始时间=' + num1 + '&基本件结束时间=' + num2
+ }
+ })
+}
+// 查询时间初始化查询
+export function timeSearch() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '采购管理_创建询价单_时间查询'
+ }
+ })
+}
diff --git a/src/api/WorkshopProcurement/CreatingPurchasingMaterials.js b/src/api/WorkshopProcurement/CreatingPurchasingMaterials.js
index c7d93675..7dd0c706 100644
--- a/src/api/WorkshopProcurement/CreatingPurchasingMaterials.js
+++ b/src/api/WorkshopProcurement/CreatingPurchasingMaterials.js
@@ -52,27 +52,26 @@ export function initPartDrawing(check1, name) {
})
}
// 查询外购备料
-export function searchPurchasedMaterials(pageCurrent, pageSize, check1, name) {
+export function searchPurchasedMaterials(check1, name) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '备料管理_外购备料_查询数据',
- param: `零件图号_check=${check1}&零件图号=${name}`,
- Pagination: pageCurrent + '&' + pageSize
+ param: `零件图号_check=${check1}&零件图号=${name}`
}
})
}
// 查询采购单
-export function searchPurchaseOrder(pageCurrent, pageSize, check1, num, check2, name) {
+export function searchPurchaseOrder(pageCurrent, pageSize, check1, num, check2, name, check3, name2) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '备料管理_采购计划_查询数据',
- param: `采购单号_check=${check1}&采购单号=${num}&供应商名称_check=${check2}&供应商名称=${name}`,
+ param: `采购单号_check=${check1}&采购单号=${num}&供应商名称_check=${check2}&供应商名称=${name}&供应商流水号_check=${check3}&供应商流水号=${name2}`,
Pagination: pageCurrent + '&' + pageSize
}
})
diff --git a/src/api/WorkshopProcurement/NewArrivalList.js b/src/api/WorkshopProcurement/NewArrivalList.js
index e8cec860..3a1598d6 100644
--- a/src/api/WorkshopProcurement/NewArrivalList.js
+++ b/src/api/WorkshopProcurement/NewArrivalList.js
@@ -37,14 +37,14 @@ export function searchMateriel(num, num1) {
})
}
// 查询到货单
-export function searchArriveOrder(num, num1, num2, num3, num5, num6, num7, pageCurrent, pageSize) {
+export function searchArriveOrder(num, num1, num8, num9, num2, num3, num5, num6, num7, pageCurrent, pageSize) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '备料管理_到货单查询_新',
- param: `供应商名称_check=${num}&供应商名称=${num1}&开始日期_check=${num2}&开始日期=${num3}&结束日期=${num5}&是否关联_check=${num6}&是否关联=${num7}`,
+ param: `供应商名称_check=${num}&供应商名称=${num1}&供应商名称_check=${num8}&供应商名称=${num9}&开始日期_check=${num2}&开始日期=${num3}&结束日期=${num5}&是否关联_check=${num6}&是否关联=${num7}`,
Pagination: pageCurrent + '&' + pageSize
}
})
diff --git a/src/styles/index.scss b/src/styles/index.scss
index 6af05507..ae382d70 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -109,7 +109,7 @@ el-form-item__content{
//background-color: #2e296a!important;
}
.el-card__body{
- padding: 10px !important;
+ padding: 0 10px 0 10px !important;
margin: 0px !important;
}
.app-container{
@@ -275,3 +275,6 @@ h3 {
color: white;
}
}
+.el-tabs--border-card>.el-tabs__content {
+ padding: 15px 15px 0px 15px!important;
+}
diff --git a/src/utils/request.js b/src/utils/request.js
index 56ffd77d..da3f9d7b 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -16,8 +16,8 @@ export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoic
export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement
export const uploadPerson = `http://192.168.1.231:8411/submit/uploadPerson.ashx`
export const uploadOP = `http://192.168.1.231:8411/submit/uploadOP.ashx`
-export const url = `http://192.168.1.231:8411/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
-export const ExcelDownLoad = 'http://192.168.1.231:8411/submit/downloadFile.ashx' // 导出excel
+export const url = `http://192.168.0.110:8002/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
+export const ExcelDownLoad = 'http://192.168.0.110:8002/submit/downloadFile.ashx' // 导出excel
// 技术中心程序发布时要更改下面所有的IP到0段
export const ServerIP = `http://192.168.1.231:8411/webpage/file/`
diff --git a/src/views/ManufacturingCenter/EquipmentConditionAnalysis/index.vue b/src/views/ManufacturingCenter/EquipmentConditionAnalysis/index.vue
index ac0edbed..1677c574 100644
--- a/src/views/ManufacturingCenter/EquipmentConditionAnalysis/index.vue
+++ b/src/views/ManufacturingCenter/EquipmentConditionAnalysis/index.vue
@@ -445,8 +445,8 @@ export default {
} // 数据的值
},
legend: { // 图例
- left: 'left'
- // selectedMode: false, // 图例可点击
+ left: 'left',
+ selectedMode: false // 图例可点击
},
dataZoom: [{
type: 'inside',
diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue
index ec47f960..096ef815 100644
--- a/src/views/ManufacturingCenter/InitialProduction/index.vue
+++ b/src/views/ManufacturingCenter/InitialProduction/index.vue
@@ -29,7 +29,7 @@
:label="item.label"
:value="item.value"/>
- 查询
+ 查询
@@ -142,30 +142,6 @@
{{ scope.row.零件类型名称 }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
分批投产
-
-
-
-
-
打回
@@ -268,15 +240,15 @@
-
@@ -426,11 +398,11 @@ export default {
gongyijihua: '',
radio: 0, // 第一组
total: 0, // 总条数
- pageSize: 10, // 每页显示条数
+ pageSize: 10000, // 每页显示条数
pageList: 1, // 后台获取页
currentPage: 1, // 显示当前页
total3: 0, // 总条数
- pageSize3: 10, // 每页显示条数
+ pageSize3: 10000, // 每页显示条数
pageList3: 1, // 后台获取页
currentPage3: 1, // 显示当前页
listLoading: false,
@@ -725,7 +697,7 @@ export default {
this.listLoading1 = false
})
this.total = 0
- this.pageSize = 10
+ this.pageSize = 10000
this.pageList = 1
this.getTable()
} else {
@@ -788,7 +760,7 @@ export default {
this.checked_baitu = false
this.checked_gaonandu = false
this.total = 0
- this.pageSize = 10
+ this.pageSize = 10000
this.pageList = 1
this.shijiancuo1 = 0
this.shijiancuo = 0
@@ -1000,7 +972,7 @@ export default {
message: '打回档案成功!'
})
this.total = 0
- this.pageSize = 10
+ this.pageSize = 10000
this.pageList = 1
this.getTable()
} else {
diff --git a/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue b/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue
index 6dca3f59..b65efc54 100644
--- a/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue
+++ b/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue
@@ -48,7 +48,7 @@
style="top: 1px;"
placeholder="选择开始日期"/>
- 零件计划变更
+ 零件计划变更
导出Excel
- 选入
+ 选入
- 全部选入
+ 全部选入
diff --git a/src/views/PurchasingCenter/CreateInquirySheet/index.vue b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
index e25ae23e..345097fd 100644
--- a/src/views/PurchasingCenter/CreateInquirySheet/index.vue
+++ b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
@@ -38,46 +38,35 @@
-
- 项目名称:
-
+
+
- 机床图号:
-
+
- 组号:
-
+
-
-
- 物料状态:
-
- 物料名称:
+
- 物料变更:
-
- 物料规格:
+
- 物料型号:
- 时间段:
+ end-placeholder="结束日期"
+ @change="timeChange1()"/>
查询
导出未询价物料清单
@@ -105,7 +95,7 @@
调整采购任务
-
+
-
+
{{ scope.row.机床图号 }}
@@ -169,17 +159,17 @@
-
+
{{ scope.row.物料名称 }}
-
+
{{ scope.row.物料型号 }}
-
+
{{ scope.row.物料规格 }}
@@ -239,58 +229,48 @@
-
-
-
-
+
+
+
+
-
- 项目名称:
-
+
+
- 机床图号:
-
+
- 组号:
-
+
-
-
- 物料状态:
-
- 零件图号:
+
- 零件名称:
- 零件规格:
- 时间段:
+ end-placeholder="结束日期"
+ @change="timeChange2()"/>
查询
导出未询价物料清单
@@ -422,6 +403,185 @@
@current-change="handleCurrentChange12"/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -907,7 +1067,7 @@
diff --git a/src/views/WorkshopProcurement/CreatingProcurementContracts/index.vue b/src/views/WorkshopProcurement/CreatingProcurementContracts/index.vue
index eb372cbd..da6efd9a 100644
--- a/src/views/WorkshopProcurement/CreatingProcurementContracts/index.vue
+++ b/src/views/WorkshopProcurement/CreatingProcurementContracts/index.vue
@@ -1,72 +1,35 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -632,10 +595,12 @@ export default {
width:200px
}
.el-select{
- width:160px
+ width:150px;
+ margin-right: 10px;
}
.el-input{
- width:160px
+ width:150px;
+ margin-right: 10px;
}
span{
margin: 10px 0 10px 10px;
diff --git a/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue b/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue
index 572a6b33..27175fd0 100644
--- a/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue
+++ b/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue
@@ -27,15 +27,12 @@
零件图号:
-
+
查询
-
- 选入外购备料
-
- 打回重新分配
+ 打回重新分配
@@ -60,7 +57,7 @@
-
+
采购计划单号:
供应商:
-
+
+
+
+
查询
创建采购计划单
+
+ 选入外购备料
+
保存采购计划单
@@ -126,21 +133,21 @@
{{ scope.row.计划完成日期.split(' ')[0] }}
-
+
-
+ 打印采购计划
-
+ 编辑
-
+ 删除
@@ -354,6 +361,7 @@ export default {
purchasingOrder: '', // 采购单号
purchasingOrderNumber: '', // 采购计划流水号
supplierName0: '', // 供应商名称(外面的)
+ supplierName0s: [], // 供应商名称(外面的)
supplierName: '', // 供应商名称
tableData2: [],
total2: 0,
@@ -435,6 +443,10 @@ export default {
label: response.data[i].供应商名称,
value: response.data[i].供应商流水号
})
+ this.supplierName0s.push({
+ label: response.data[i].供应商名称,
+ value: response.data[i].供应商流水号
+ })
}
})
searchRawMaterial(this.RawMaterialName, this.pageCurrent, this.pageSize).then(response => {
@@ -509,8 +521,9 @@ export default {
searchTable1() { // 查询外购备料
this.loading1 = true
this.partDrawingNumber ? this.check1 = 1 : this.check1 = 0
- searchPurchasedMaterials(this.pageCurrent1, this.pageSize1, this.check1, this.partDrawingNumber).then(response => {
- this.tableData1 = response.data.rows
+ // this.pageCurrent1, this.pageSize1,
+ searchPurchasedMaterials(this.check1, this.partDrawingNumber).then(response => {
+ this.tableData1 = response.data
this.total1 = response.data.total
this.loading1 = false
})
@@ -533,7 +546,7 @@ export default {
searchTable2() { // 查询采购单列表
this.purchasingOrder ? this.check3 = 1 : this.check3 = 0
this.supplierName0 ? this.check4 = 1 : this.check4 = 0
- searchPurchaseOrder(this.pageCurrent2, this.pageSize2, this.check3, this.purchasingOrder, this.check4, this.supplierName0).then(response => {
+ searchPurchaseOrder(this.pageCurrent2, this.pageSize2, this.check3, this.purchasingOrder, 0, 0, this.check4, this.supplierName0).then(response => {
this.tableData2 = response.data.rows
this.total2 = response.data.total
})
diff --git a/src/views/WorkshopProcurement/NewArrivalList/index.vue b/src/views/WorkshopProcurement/NewArrivalList/index.vue
index f597dc98..eb3938b9 100644
--- a/src/views/WorkshopProcurement/NewArrivalList/index.vue
+++ b/src/views/WorkshopProcurement/NewArrivalList/index.vue
@@ -3,7 +3,14 @@
供应商:
-
+
+
+
+
时间段:
{
+ for (let i = 0; i < response.data.length; i++) {
+ this.supplierName.push({
+ label: response.data[i].供应商名称,
+ value: response.data[i].供应商流水号
+ })
+ }
+ })
+ },
searchCailiao() {
this.Cailiao = []
searchCailiao(this.供应商111).then(response => {
@@ -637,14 +657,14 @@ export default {
searchTable4() {
this.tableData5 = []
this.tableData6 = []
- this.Name ? this.check = 1 : this.check = 0
+ this.supplierNameValue ? this.check = 1 : this.check = 0
this.dateRange ? this.check1 = 1 : (this.check1 = 0, this.dateRange = '')
if (this.PickingValue === 0 || this.PickingValue === 1) {
this.check2 = 1
} else {
this.check2 = 0
}
- searchArriveOrder(this.check, this.Name, this.check1, this.dateRange[0], this.dateRange[1], this.check2, this.PickingValue, this.pageCurrent4, this.pageSize4).then(response => {
+ searchArriveOrder(0, 0, this.check, this.supplierNameValue, this.check1, this.dateRange[0], this.dateRange[1], this.check2, this.PickingValue, this.pageCurrent4, this.pageSize4).then(response => {
this.tableData4 = response.data.rows
this.total4 = response.data.total
})
diff --git a/src/views/WorkshopProcurement/ProcurementContractEnquiry/index.vue b/src/views/WorkshopProcurement/ProcurementContractEnquiry/index.vue
index ee0d84a3..293c3b67 100644
--- a/src/views/WorkshopProcurement/ProcurementContractEnquiry/index.vue
+++ b/src/views/WorkshopProcurement/ProcurementContractEnquiry/index.vue
@@ -1,35 +1,36 @@
- 合 同 号:
-
-
- {{ item.label }}
- {{ item.name }}
-
-
- 采购员:
-
- 供应商:
-
- 审批情况:
-
-
-
- 查询
+
+
+
+
+ {{ item.label }}
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+ 查询
+
@@ -39,8 +40,8 @@
:row-class-name="tableRowClassName"
size="mini"
border
- style="width: 100%;max-height: 300px;"
- height="300px"
+ style="width: 100%"
+ height="700px"
highlight-current-row
@row-click="searchTable2">
@@ -616,10 +617,12 @@ export default {
width:200px
}
.el-select{
- width:200px
+ width:150px;
+ margin-right: 10px;
}
.el-input{
- width:200px
+ width:150px;
+ margin-right: 10px;
}
span{
margin: 10px 0 10px 10px;
diff --git a/src/views/layout/components/Navbar.vue b/src/views/layout/components/Navbar.vue
index c47317c7..af1da6c7 100644
--- a/src/views/layout/components/Navbar.vue
+++ b/src/views/layout/components/Navbar.vue
@@ -31,6 +31,7 @@ import { searchTable1 } from '@/api/PurchasingCenter/PurchaseContractApproval'
import { getMaterial, getMaterial_NOTES, setChakan } from '@/api/PurchasingCenter/MaterialManagement'
import { initApproval, initApprovalOffline } from '@/api/PurchasingCenter/FundApproval'
import { searchTable1 as searchTableInvoice } from '@/api/PurchasingCenter/InvoiceSettlementApprove'
+import { searchRequestFund } from '@/api/PurchasingCenter/PurchaseContractRequestFund'
export default {
components: {
Breadcrumb,
@@ -39,7 +40,12 @@ export default {
data() {
return {
timer: '',
- noticeContract: null,
+ noticeContract1: null,
+ noticeContract2: null,
+ noticeContract3: null,
+ noticeContract4: null,
+ noticeContract5: null,
+ noticeContract6: null,
noticeFund: null,
noticeInvoice: null
}
@@ -73,31 +79,82 @@ export default {
comfirmMaterial_CG() {
getMaterial_NOTES().then(res => {
if (res.data.length) {
- this.noticeContract = null
- this.noticeContract = this.$notify.success({
+ this.noticeContract1 = null
+ this.noticeContract1 = this.$notify.success({
title: '提示',
message: '有新采购物料审批结果,点击查看',
onClick: () => {
setChakan().then(res => {
this.$router.push({ path: '/PurchasingCenter/MaterialMProcure' })
- setTimeout(this.noticeContract.close(), 1000)
+ setTimeout(this.noticeContract1.close(), 1000)
})
},
duration: 1000 * 60
})
}
})
+ if (this.token.toString() === '2') {
+ searchRequestFund(1, 9999, 0, 0, 0, 0, 0).then(res => {
+ if (res.data.length) {
+ this.noticeContract2 = null
+ this.noticeContract2 = this.$notify.success({
+ title: '提示',
+ message: '有合同请款申请审批结果,点击查看',
+ onClick: () => {
+ setChakan().then(res => {
+ this.$router.push({ path: '/PurchasingCenter/PurchaseContractRequestFund' })
+ setTimeout(this.noticeContract2.close(), 1000)
+ })
+ },
+ duration: 1000 * 60
+ })
+ }
+ })
+ initApproval(1, 999, 1).then(res => {
+ if (res.data.rows.length) {
+ this.noticeContract3 = null
+ this.noticeContract3 = this.$notify.success({
+ title: '提示',
+ message: '有合同请款申请待审批,点击查看',
+ onClick: () => {
+ setChakan().then(res => {
+ this.$router.push({ path: '/PurchasingCenter/FundApproval1' })
+ setTimeout(this.noticeContract3.close(), 1000)
+ })
+ },
+ duration: 1000 * 60
+ })
+ }
+ })
+ } else if (this.token.toString() === '3') {
+ searchRequestFund(1, 99999, 0, 0, 0, 0, 0).then(res => {
+ if (res.data.length) {
+ this.noticeContract4 = null
+ this.noticeContract4 = this.$notify.success({
+ title: '提示',
+ message: '有合同请款申请审批结果,点击查看',
+ onClick: () => {
+ setChakan().then(res => {
+ this.$router.push({ path: '/PurchasingCenter/PurchaseContractRequestFund' })
+ setTimeout(this.noticeContract4.close(), 1000)
+ })
+ },
+ duration: 1000 * 60
+ })
+ }
+ })
+ }
},
comfirmMaterial() {
getMaterial().then(res => {
if (res.data.length) {
- this.noticeContract = null
- this.noticeContract = this.$notify.success({
+ this.noticeContract5 = null
+ this.noticeContract5 = this.$notify.success({
title: '提示',
message: '您有采购物料申请待审批,请及时处理,点击查看',
onClick: () => {
this.$router.push({ path: '/PurchasingCenter/MaterialManagement' })
- setTimeout(this.noticeContract.close(), 1000)
+ setTimeout(this.noticeContract5.close(), 1000)
},
duration: 1000 * 60
})
@@ -107,13 +164,13 @@ export default {
checkApproval() {
searchTable1(1, 999, 0, null, null, 0, 0, 0, 0, 0, 0).then(res => {
if (res.data.total) {
- this.noticeContract = null
- this.noticeContract = this.$notify.success({
+ this.noticeContract6 = null
+ this.noticeContract6 = this.$notify.success({
title: '提示',
message: '您有采购合同待审批,请及时处理,点击查看',
onClick: () => {
this.$router.push({ path: '/PurchasingCenter/PurchaseContractApproval' })
- setTimeout(this.noticeContract.close(), 1000)
+ setTimeout(this.noticeContract6.close(), 1000)
},
duration: 1000 * 60
})