-
+
已采购
+
+
+ {{ scope.row.物料名称 }}
+
+
+
+
+ {{ scope.row.物料规格 }}
+
+
+
+
+ {{ scope.row.物料型号 }}
+
+
{{ scope.row.供货商 === '0' ? '-' : scope.row.供货商 }}
@@ -101,21 +96,6 @@
{{ scope.row.物料品种 }}
-
-
- {{ scope.row.物料名称 }}
-
-
-
-
- {{ scope.row.物料型号 }}
-
-
-
-
- {{ scope.row.物料规格 }}
-
-
{{ scope.row.零件数量 }}
@@ -185,9 +165,7 @@
-
-
-
+
@@ -881,7 +859,7 @@ export default {
},
created() {
this.getPerson()
- this.fetchData()
+ this.projectChange()
// this.searchTable2()
this.searchTable11()
this.initDirection()
@@ -1574,17 +1552,13 @@ export default {
return Number(row.采购状态编号) < 3 && Number(row.是否确认) === 1 // 未采购&&确认物料修改
},
searchTable11() { // 查询外购件列表
- let check1, check2, check3, check4, check5, check6, check7
+ let check1, check5, check7
this.materialName ? check1 = 1 : check1 = 0
- this.materialSpec ? check2 = 1 : check2 = 0
- this.materialModel ? check3 = 1 : check3 = 0
- this.projectValue ? check4 = 1 : check4 = 0
this.machineValue ? check5 = 1 : check5 = 0
- this.groupValue ? check6 = 1 : check6 = 0
this.startTime ? check7 = 1 : (check7 = 0, this.startTime = '')
if (this.tabName === '外购件') { this.partType = 2 }
if (this.tabName === '标准件') { this.partType = 1 }
- searchMaterial1(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, this.partType, check7, this.startTime[0], this.startTime[1]).then(response => {
+ searchMaterial1(this.pageCurrent11, this.pageSize11, check1, this.materialName, this.id, check5, this.machineValue, check7, this.startTime[0], this.startTime[1]).then(response => {
console.log(response.data, 111222)
this.tableData00 = response.data.rows
this.total11 = response.data.total
@@ -1653,11 +1627,9 @@ export default {
this.searchTable12()
},
searchTable22() {
- let check1, check2, check3
+ let check1
this.materialName ? check1 = 1 : check1 = 0
- this.materialSpec ? check2 = 1 : check2 = 0
- this.materialModel ? check3 = 1 : check3 = 0
- searchMaterial22(check1, this.materialName, check2, this.materialSpec, check3, this.materialModel, this.pageCurrent22, this.pageSize22).then(response => {
+ searchMaterial22(check1, this.materialName, this.pageCurrent22, this.pageSize22).then(response => {
console.log(response.data, 3333)
this.tableData22 = response.data.rows
this.total22 = response.data.total
From 1c6844277bf1c29aa609f41c4e0b235da9085a03 Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Sat, 9 Nov 2019 13:57:00 +0800
Subject: [PATCH 6/6] =?UTF-8?q?=E7=A6=BB=E7=BA=BF=E9=87=87=E8=B4=AD?=
=?UTF-8?q?=E5=BF=AB=E9=80=9F=E4=BF=AE=E6=94=B9=E4=BB=B7=E6=A0=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/request.js | 2 +-
src/views/PurchasingCenter/OfflineContract/index.vue | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/utils/request.js b/src/utils/request.js
index fc41e22d..2cb92ad8 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -26,7 +26,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil
export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx`
export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx`
const service = axios.create({
- baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`,
+ baseURL: `http://192.168.0.110:8002/submit/MESCommonBase.ashx`,
timeout: 1500000 // 请求超时时间
})
export default service
diff --git a/src/views/PurchasingCenter/OfflineContract/index.vue b/src/views/PurchasingCenter/OfflineContract/index.vue
index d77b9660..ce440a09 100644
--- a/src/views/PurchasingCenter/OfflineContract/index.vue
+++ b/src/views/PurchasingCenter/OfflineContract/index.vue
@@ -267,8 +267,8 @@
税率:
- 快速修改价格
- 还原
+
+