From 61f3a53219c10373b332d754b1fa3a09894a9278 Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Mon, 11 Nov 2019 15:02:23 +0800
Subject: [PATCH 1/6] =?UTF-8?q?=E9=87=87=E8=B4=AD=E5=90=88=E5=90=8C?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=9B=9E=E8=BD=A6=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/PurchasingCenter/PurchaseContractSearch/index.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/PurchasingCenter/PurchaseContractSearch/index.vue b/src/views/PurchasingCenter/PurchaseContractSearch/index.vue
index aa3d4640..8ee54625 100644
--- a/src/views/PurchasingCenter/PurchaseContractSearch/index.vue
+++ b/src/views/PurchasingCenter/PurchaseContractSearch/index.vue
@@ -24,9 +24,9 @@
-
+
-
+
Date: Mon, 11 Nov 2019 16:00:33 +0800
Subject: [PATCH 2/6] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E8=AF=A2=E4=BB=B7?=
=?UTF-8?q?=E5=8D=95=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../CreateInquirySheet/index.vue | 100 +++++++++---------
1 file changed, 50 insertions(+), 50 deletions(-)
diff --git a/src/views/PurchasingCenter/CreateInquirySheet/index.vue b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
index 2ebc6e61..f532c373 100644
--- a/src/views/PurchasingCenter/CreateInquirySheet/index.vue
+++ b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
@@ -129,17 +129,17 @@
{{ scope.row.供货商 }}
-
+
{{ scope.row.机床图号 }}
-
+
{{ scope.row.物料名称 }}
-
+
{{ scope.row.物料规格 }}
@@ -583,40 +583,40 @@
-
-
-
-
-
- 查询
-
+
+
+
+
选入物料
-
- 创建询价单
-
-
- 询价单
- 编辑
- 删除
-
- 打印
- 导出
-
- 保存
-
+ icon="el-icon-search"
+ style="margin:0px 10px"
+ @click="pageCurrent2=1;pageSize2=10000;total2=0;searchTable2()">查询
+
+ 选入物料
+
+ 创建询价单
+
+
+ 询价单
+ 编辑
+ 删除
+
+ 打印
+ 导出
+
+ 保存
+
+
@@ -682,19 +682,19 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
+
@@ -710,7 +710,7 @@
{{ scope.row.组件零件流水号 ? scope.row.物料名称 : scope.row.零件名称 }}
-
+
{{ scope.row.组件零件流水号 ? scope.row.物料规格 : scope.row.规格 }}
@@ -720,9 +720,9 @@
{{ scope.row.技术下达数量 }}
-
+
-
+
@@ -732,7 +732,7 @@
-
+
From 916ddb04fae5cd537ed6d3127a61c6fb93bfbfc2 Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Mon, 11 Nov 2019 16:12:38 +0800
Subject: [PATCH 3/6] =?UTF-8?q?=E9=87=87=E8=B4=AD=E5=90=88=E5=90=8C?=
=?UTF-8?q?=E8=AF=B7=E6=AC=BE=E5=88=97=E5=AE=BD=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../PurchasingCenter/PurchaseContractRequestFund/index.vue | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/views/PurchasingCenter/PurchaseContractRequestFund/index.vue b/src/views/PurchasingCenter/PurchaseContractRequestFund/index.vue
index 9c20756d..eea2073c 100644
--- a/src/views/PurchasingCenter/PurchaseContractRequestFund/index.vue
+++ b/src/views/PurchasingCenter/PurchaseContractRequestFund/index.vue
@@ -36,13 +36,11 @@
{{ scope.row.姓名 }}
-
+
{{ scope.row.请款金额 }}
-
-
未审核
From d57f6232d3c50a861fb167fd303eba83ce13c99a Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Mon, 11 Nov 2019 16:34:37 +0800
Subject: [PATCH 4/6] =?UTF-8?q?=E9=87=87=E8=B4=AD=E4=BB=BB=E5=8A=A1?=
=?UTF-8?q?=E5=88=86=E9=85=8D=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../PurchasingCenter/PurchaseTaskAllocate.js | 6 +-
.../PurchaseTaskAllocate/index.vue | 328 ++++++++----------
2 files changed, 143 insertions(+), 191 deletions(-)
diff --git a/src/api/PurchasingCenter/PurchaseTaskAllocate.js b/src/api/PurchasingCenter/PurchaseTaskAllocate.js
index f326320b..d5399312 100644
--- a/src/api/PurchasingCenter/PurchaseTaskAllocate.js
+++ b/src/api/PurchasingCenter/PurchaseTaskAllocate.js
@@ -53,7 +53,7 @@ export function searchMachine(num) {
data: {
type: '1',
name: 'PDM_机床名称_查询数据',
- param: '项目流水号_check=1&项目流水号=' + num
+ param: '项目流水号_check=0&项目流水号=' + num
}
})
}
@@ -76,7 +76,7 @@ export function searchTable1(...params) {
method: 'post',
data: {
type: '1',
- name: 'xqs_采购管理_采购部采购_查询物料_分配后',
+ name: 'xqs_采购管理_采购部采购_查询物料_分配后_采购任务分配',
param: `物料类别流水号_check=${params[2]}&物料类别流水号=${params[3]}&物料品种流水号_check=${params[4]}&物料品种流水号=${params[5]}&项目流水号_check=${params[6]}&项目流水号=${params[7]}&机床流水号_check=${params[8]}&机床流水号=${params[9]}&组件流水号_check=${params[10]}&组件流水号=${params[11]}&物料名称_check=${params[12]}&物料名称=${params[13]}&物料状态编号=${params[14]}&物料规格_check=${params[15]}&物料规格=${params[16]}&物料型号_check=${params[17]}&物料型号=${params[18]}&零件类型=${params[19]}&时间段_check=${params[20]}&开始时间=${params[21]}&结束时间=${params[22]}`,
Pagination: params[0] + '&' + params[1]
}
@@ -89,7 +89,7 @@ export function searchTable2(...params) {
method: 'post',
data: {
type: '1',
- name: '采购管理_采购部采购_查询物料_基本件_分配后',
+ name: '采购管理_采购部采购_查询物料_基本件_分配后_采购任务分配',
param: `项目流水号_check=${params[2]}&项目流水号=${params[3]}&机床流水号_check=${params[4]}&机床流水号=${params[5]}&组件流水号_check=${params[6]}&组件流水号=${params[7]}&物料状态编号=${params[8]}&零件图号_check=${params[9]}&零件图号=${params[10]}&零件名称_check=${params[11]}&零件名称=${params[12]}&零件规格_check=${params[13]}&零件规格=${params[14]}&材料_check=${params[15]}&材料=${params[16]}`,
Pagination: params[0] + '&' + params[1]
}
diff --git a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
index 8a27de06..7db6d77f 100644
--- a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
+++ b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
@@ -22,13 +22,14 @@
-
-
-
+
+
+
+
+
+
+
+
{{ item.name }}
-
-
-
+
+
+
+
+
+
+
-
+
-
- 采购员:
-
-
-
-
-
-
-
-
-
查询
-
+
+
采购员:
+
+
+
已采购
+
+
+ {{ scope.row.物料名称 }}
+
+
+
+
+ {{ scope.row.物料规格 }}
+
+
+
+
+ {{ scope.row.物料型号 }}
+
+
+
+
+ {{ scope.row.零件数量 }}
+
+
{{ scope.row.项目名称 }}
@@ -154,26 +168,6 @@
{{ scope.row.物料品种 }}
-
-
- {{ scope.row.物料型号 }}
-
-
-
-
- {{ scope.row.物料名称 }}
-
-
-
-
- {{ scope.row.物料规格 }}
-
-
-
-
- {{ scope.row.零件数量 }}
-
-
{{ scope.row.备注 }}
@@ -238,14 +232,15 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
{{ item.name }}
-
-
-
-
+
+
+
+
+
+
+
+
-
- 采购员:
-
-
-
-
-
-
-
-
-
- 查询
-
-
分配
-
退回
+
查询
+
+ 采购员:
+
+
+
+ 分配
+ 退回
@@ -333,6 +306,26 @@
已采购
+
+
+ {{ scope.row.物料名称 }}
+
+
+
+
+ {{ scope.row.物料规格 }}
+
+
+
+
+ {{ scope.row.物料型号 }}
+
+
+
+
+ {{ scope.row.零件数量 }}
+
+
{{ scope.row.项目名称 }}
@@ -358,26 +351,6 @@
{{ scope.row.物料品种 }}
-
-
- {{ scope.row.物料型号 }}
-
-
-
-
- {{ scope.row.物料名称 }}
-
-
-
-
- {{ scope.row.物料规格 }}
-
-
-
-
- {{ scope.row.零件数量 }}
-
-
{{ scope.row.备注 }}
@@ -439,14 +412,15 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
{{ item.name }}
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 查询
采购员:
@@ -474,31 +448,8 @@
:label="item.label"
:value="item.value"/>
-
-
-
-
-
-
- 查询
-
- 分配
- 退回
+ 分配
+ 退回
@@ -512,6 +463,31 @@
已采购
+
+
+ {{ scope.row.零件图号 }}
+
+
+
+
+ {{ scope.row.零件名称 }}
+
+
+
+
+ {{ scope.row.规格 }}
+
+
+
+
+ {{ scope.row.材料 }}
+
+
+
+
+ {{ scope.row.零件数量 }}
+
+
{{ scope.row.项目名称 }}
@@ -527,31 +503,6 @@
{{ scope.row.组号 }}
-
-
- {{ scope.row.零件图号 }}
-
-
-
-
- {{ scope.row.零件名称 }}
-
-
-
-
- {{ scope.row.规格 }}
-
-
-
-
- {{ scope.row.材料 }}
-
-
-
-
- {{ scope.row.零件数量 }}
-
-
{{ scope.row.备注 }}
@@ -762,6 +713,7 @@ export default {
created() {
this.searchTable0() // 查表1
this.fetchData() // 初始化数据
+ this.projectChange()
this.searchUnallocatePartNumber()
this.timer2 = setInterval(this.searchUnallocatePartNumber, 20 * 60 * 1000) // 20 分钟一刷新
this.getDefaultTime()
From 5bc47a79292ade00067394f304078a66d87c4a41 Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Mon, 11 Nov 2019 16:35:53 +0800
Subject: [PATCH 5/6] =?UTF-8?q?=E9=87=87=E8=B4=AD=E4=BB=BB=E5=8A=A1?=
=?UTF-8?q?=E5=88=86=E9=85=8D=E5=9B=9E=E8=BD=A6=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
index 7db6d77f..af298c88 100644
--- a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
+++ b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
@@ -29,7 +29,7 @@
-
+
-
+
-
+
Date: Mon, 11 Nov 2019 16:54:01 +0800
Subject: [PATCH 6/6] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E8=AF=A2=E4=BB=B7?=
=?UTF-8?q?=E5=8D=95=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/PurchasingCenter/CreateInquirySheet.js | 4 ++--
src/views/PurchasingCenter/CreateInquirySheet/index.vue | 4 ++--
src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue | 7 +++----
3 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/api/PurchasingCenter/CreateInquirySheet.js b/src/api/PurchasingCenter/CreateInquirySheet.js
index 0b2693e7..7b2f3d91 100644
--- a/src/api/PurchasingCenter/CreateInquirySheet.js
+++ b/src/api/PurchasingCenter/CreateInquirySheet.js
@@ -76,14 +76,14 @@ export function getExport2(num) {
})
}
// 查询分配后的标准件和外购件
-export function searchMaterial(pageCurrent, pageSize, num1, check1, val1, check2, val2, check3, val3, person, check4, val4, check5, val5, check6, val6, val7, val8, val9, val10) {
+export function searchMaterial(pageCurrent, pageSize, num1, check1, val1, check2, val2, check3, val3, person, check4, val4, check5, val5, check6, val6, val8, val9, val10) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: 'xqs_采购管理_采购部采购_查询物料_分配后_带库存_创建询价单',
- param: `物料状态编号=${num1}&物料名称_check=${check1}&物料名称=${val1}&物料规格_check=${check2}&物料规格=${val2}&物料型号_check=${check3}&物料型号=${val3}&人员编号=${person}&项目流水号_check=${check4}&项目流水号=${val4}&机床流水号_check=${check5}&机床流水号=${val5}&组件流水号_check=${check6}&组件流水号=${val6}&零件类型=${val7}&时间_check=${val8}&开始时间=${val9}&结束时间=${val10}`,
+ param: `物料状态编号=${num1}&物料名称_check=${check1}&物料名称=${val1}&物料规格_check=${check2}&物料规格=${val2}&物料型号_check=${check3}&物料型号=${val3}&人员编号=${person}&项目流水号_check=${check4}&项目流水号=${val4}&机床流水号_check=${check5}&机床流水号=${val5}&组件流水号_check=${check6}&组件流水号=${val6}&时间_check=${val8}&开始时间=${val9}&结束时间=${val10}`,
Pagination: pageCurrent + '&' + pageSize
}
})
diff --git a/src/views/PurchasingCenter/CreateInquirySheet/index.vue b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
index f532c373..aad45b46 100644
--- a/src/views/PurchasingCenter/CreateInquirySheet/index.vue
+++ b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
@@ -37,7 +37,7 @@
-
+
@@ -1715,7 +1715,7 @@ export default {
this.machineValue ? check5 = 1 : check5 = 0
this.groupValue ? check6 = 1 : check6 = 0
this.startTime ? check7 = 1 : (check7 = 0, this.startTime = '')
- searchMaterial(this.pageCurrent11, this.pageSize11, this.materialStatusValue[this.materialStatusValue.length - 1], check1, this.materialName, check2, this.materialSpec, check3, this.materialModel, this.id, check4, this.projectValue, check5, this.machineValue, check6, this.groupValue, 2, check7, this.startTime[0], this.startTime[1]).then(response => {
+ searchMaterial(this.pageCurrent11, this.pageSize11, this.materialStatusValue[this.materialStatusValue.length - 1], check1, this.materialName, check2, this.materialSpec, check3, this.materialModel, this.id, check4, this.projectValue, check5, this.machineValue, check6, this.groupValue, check7, this.startTime[0], this.startTime[1]).then(response => {
this.tableData11 = response.data.rows
this.total11 = response.data.total
const remark = []
diff --git a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
index af298c88..7949d99f 100644
--- a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
+++ b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
@@ -208,9 +208,8 @@
撤回
@@ -390,7 +389,7 @@
撤回
@@ -537,7 +536,7 @@
撤回