From afc1565a0993b05b856fc3719554ae34fd55cdf7 Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Wed, 27 Mar 2019 16:15:49 +0800
Subject: [PATCH 1/7] =?UTF-8?q?=E5=BA=93=E5=AD=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/Inventory/StockInquiry.js | 28 +--
src/views/Inventory/StockInquiry/index.vue | 239 +++++++++++++++++++++
2 files changed, 254 insertions(+), 13 deletions(-)
diff --git a/src/api/Inventory/StockInquiry.js b/src/api/Inventory/StockInquiry.js
index 2104299f..70438de1 100644
--- a/src/api/Inventory/StockInquiry.js
+++ b/src/api/Inventory/StockInquiry.js
@@ -1,18 +1,7 @@
import request from '@/utils/request'
-// 初始化项目
-export function initProject() {
- return request({
- url: '',
- method: 'post',
- data: {
- type: '1',
- name: 'PDM_项目名称_查询数据_按时间排序'
- }
- })
-}
// 机床查询
-export function searchmachine(check, num) {
+export function getMachines(check, num) {
return request({
url: '',
method: 'post',
@@ -24,7 +13,7 @@ export function searchmachine(check, num) {
})
}
// 分组查询
-export function searchTeam(machineNumber) {
+export function getGroups(machineNumber) {
return request({
url: '',
method: 'post',
@@ -35,3 +24,16 @@ export function searchTeam(machineNumber) {
}
})
}
+// 主表查询
+export function getTable(num1, num2, num3, num4, num5, num6, pageCurrent, pageSize) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间生产管理工艺_库存管理_基本件库存查询',
+ param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 + '&组件流水号_check=' + num3 + '&组件流水号=' + num4 + '&零件图号_check=' + num5 + '&零件图号=' + num6,
+ Pagination: pageCurrent + '&' + pageSize
+ }
+ })
+}
diff --git a/src/views/Inventory/StockInquiry/index.vue b/src/views/Inventory/StockInquiry/index.vue
index e69de29b..20d9c1a8 100644
--- a/src/views/Inventory/StockInquiry/index.vue
+++ b/src/views/Inventory/StockInquiry/index.vue
@@ -0,0 +1,239 @@
+
+
+
+ 机床号:
+
+
+ {{ item.label }}
+ {{ item.value2 }}
+
+
+ 组号:
+
+
+
+ 零件图号:
+
+ 查询
+
+
+
+
+
+
+
+ {{ scope.row.零件名称 }}
+
+
+
+
+ {{ scope.row.零件图号 }}
+
+
+
+
+ {{ scope.row.入库数量 }}
+
+
+
+
+ {{ scope.row.机床图号 }}
+
+
+
+
+ {{ scope.row.组号 }}
+
+
+
+
+ {{ scope.row.仓库名称 }}
+
+
+
+
+ {{ scope.row.货位名称 }}
+
+
+
+
+ {{ scope.row.入库时间 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
From 199b7186d913a419a1689ed0669d38c44cdd8c52 Mon Sep 17 00:00:00 2001
From: caoxinyu
Date: Wed, 27 Mar 2019 18:33:32 +0800
Subject: [PATCH 2/7] 11
---
.../ContractCapitalManagement/index.vue | 20 +++++++++----------
.../ContractInformationManagement/index.vue | 2 +-
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/views/MarketingCenter/ContractCapitalManagement/index.vue b/src/views/MarketingCenter/ContractCapitalManagement/index.vue
index c2ee328e..e52faa5e 100644
--- a/src/views/MarketingCenter/ContractCapitalManagement/index.vue
+++ b/src/views/MarketingCenter/ContractCapitalManagement/index.vue
@@ -71,17 +71,17 @@
{{ scope.row.付款方式 }}
-
+
{{ scope.row.合同总金额 }}
-
+
{{ scope.row.已支付 }}
-
+
{{ scope.row.未支付金额 }}
@@ -203,17 +203,17 @@
label="付款批次"
type="index"
width="150"/>
-
+
{{ scope.row.应收金额 }}
-
+
{{ scope.row.已收金额 }}
-
+
{{ scope.row.未收金额 }}
@@ -309,7 +309,7 @@
-
+
+
+
+ 使用滞货数量:
+
+
+
@@ -656,7 +685,10 @@ export default {
standardAndPurchaseValue: '', // 标准件和外购件流水号
title2: '',
orderExport: '',
- supplierExport: ''
+ supplierExport: '',
+ useNumber: '',
+ maxUseNumber: '',
+ dialogVisible4: false
}
},
computed: {
@@ -672,6 +704,22 @@ export default {
this.searchTable2() // 查表2
},
methods: {
+ submitUseInventory() {
+ this.$confirm('该操作不可逆,确定使用滞货?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ this.dialogVisible4 = false
+ }).catch(() => {
+ this.$message.info('已取消操作')
+ })
+ },
+ useInventory(row) { // 使用滞货
+ console.log(row)
+ this.maxUseNumber = Number(row.滞货数量)
+ this.dialogVisible4 = true
+ },
saveOrder() { // 保存询价单
const orderNumGroup = []
const numGroup = []
From 40e88b96cd399437c769d97b9bbfe1fef81e5020 Mon Sep 17 00:00:00 2001
From: chenjianan
Date: Thu, 28 Mar 2019 16:38:37 +0800
Subject: [PATCH 4/7] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=BB=9E=E8=B4=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../PurchasingCenter/CreateInquirySheet.js | 20 ++++-
.../CreateInquirySheet/index.vue | 90 ++++++++++---------
.../PurchaseTaskAllocate/index.vue | 20 +++++
3 files changed, 86 insertions(+), 44 deletions(-)
diff --git a/src/api/PurchasingCenter/CreateInquirySheet.js b/src/api/PurchasingCenter/CreateInquirySheet.js
index f1c797f6..c2261111 100644
--- a/src/api/PurchasingCenter/CreateInquirySheet.js
+++ b/src/api/PurchasingCenter/CreateInquirySheet.js
@@ -1,27 +1,27 @@
import request from '@/utils/request'
// 查询分配后的标准件和外购件
-export function searchMaterial(pageCurrent, pageSize, check1, num1, check2, num2, person) {
+export function searchMaterial(pageCurrent, pageSize, num1, check1, val1, person) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_采购部采购_查询物料_分配后',
- param: `询价状态编号_check=${check1}&询价状态编号=${num1}&物料名称_check=${check2}&物料名称=${num2}&人员编号=${person}`,
+ param: `物料状态编号=${num1}&物料名称_check=${check1}&物料名称=${val1}&人员编号=${person}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 查询分配后的基本件
-export function searchPart(pageCurrent, pageSize, check1, num1, person) {
+export function searchPart(pageCurrent, pageSize, num1, person) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_采购部采购_查询物料_基本件_分配后',
- param: `询价状态编号_check=${check1}&询价状态编号=${num1}&人员编号=${person}`,
+ param: `物料状态编号=${num1}&人员编号=${person}`,
Pagination: pageCurrent + '&' + pageSize
}
})
@@ -183,3 +183,15 @@ export function saveOrder(num1, num2, num3) {
}
})
}
+// 编辑询价单
+export function submitUseInventory(...params) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '采购管理_使用滞货',
+ param: `物料流水号=${params[0]}&使用滞货数量=${params[1]}&组件零件流水号=${params[2]}`
+ }
+ })
+}
diff --git a/src/views/PurchasingCenter/CreateInquirySheet/index.vue b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
index d7e11703..695f6d66 100644
--- a/src/views/PurchasingCenter/CreateInquirySheet/index.vue
+++ b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
@@ -4,13 +4,7 @@
询价状态:
-
-
-
+
物料名称:
- {{ scope.row.待询价数量 = Number(scope.row.零件数量) - Number(scope.row.使用数量) }}
+ {{ scope.row.待询价数量 = Number(scope.row.零件数量) - Number(scope.row.使用滞货数量) }}
- {{ Number(scope.row.使用数量) }}
+ {{ Number(scope.row.使用滞货数量) }}
- 使用滞货
+ 使用滞货
@@ -140,13 +134,7 @@
询价状态:
-
-
-
+
-
+
{{ scope.row.技术下达数量 }}
-
+
@@ -593,7 +581,7 @@