+
- 项目名称:
+ 项目名称:
- 机床名称:
+ 机床名称:
- 客户名称:
+ 客户名称:
- 签订日期:
- ~
+ 签订日期:
+ ~
- 交货期:
- ~
+ 交货期:
+ ~
查询
-
-
+ 总计划:
+
+
@@ -44,45 +45,45 @@
-
+
{{ scope.row.项目名称 }}
-
+
{{ scope.row.机床图号 }}
-
+
{{ scope.row.机床名称 }}
-
+
{{ scope.row.机床数量 }}
-
+
{{ scope.row.合同签订日期 }}
-
+
{{ scope.row.发货节点 }}
-
+
{{ scope.row.客户名称 }}
-
+
-
+
{{ scope.row.机床设计者 }}
@@ -92,50 +93,50 @@
-
+
- {{ scope.row.机床设计完成时间 }}
+ {{ scope.row.机床设计完成时间 }}
-
+
- {{ scope.row.采购完成时间 }}
+ {{ scope.row.采购完成时间 }}
-
+
- {{ scope.row.备料完成时间 }}
+ {{ scope.row.备料完成时间 }}
-
+
- {{ scope.row.机床生产完成时间 }}
+ {{ scope.row.机床生产完成时间 }}
-
+
- {{ scope.row.机床装配完成时间 }}
+ {{ scope.row.机床装配完成时间 }}
@@ -149,7 +150,7 @@
-
+
@@ -159,7 +160,7 @@
-
+
确定
编辑
@@ -167,7 +168,7 @@
-
+
+
-
- 增加
-
-
+ 子计划:{{ machineNum }}
+ 增加
+
+
-
+
{{ scope.row.组号 }}
-
+
-
+
{{ scope.row.任务名称 }}
-
+
-
+
{{ scope.row.负责人 }}
-
+
-
+
{{ scope.row.接收任务时间 }}
-
+
-
+
{{ scope.row.任务开始时间 }}
-
+
-
+
{{ scope.row.计划完成时间 }}
-
+
-
+
{{ scope.row.货期 }}
-
+
-
+
{{ scope.row.实际完成时间 }}
@@ -266,14 +268,14 @@
-
+
{{ scope.row.备注 }}
-
+
确定
编辑
@@ -291,6 +293,7 @@ import { getProject, getCustomerName, getToolNum, searchtable, editTable, search
export default {
data() {
return {
+ machineNum: '',
jichuang: '',
title: '',
tableData2: [],
@@ -442,6 +445,7 @@ export default {
},
// 查询表格2数据
openDialog(row) {
+ this.machineNum = row.机床图号
this.loading2 = true
this.tableData2 = []
if (this.code === 1) {
@@ -627,6 +631,38 @@ export default {
+
diff --git a/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue b/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue
index 773c3d3b..b70b2b43 100644
--- a/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue
+++ b/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue
@@ -50,72 +50,76 @@
-
-
-
+ 提前
+
+ 天预警
查询
-
-
-
- {{ scope.row.项目名称 }}
-
-
-
-
- {{ scope.row.机床图号 }}
-
-
-
-
- {{ scope.row.机床名称 }}
-
-
-
-
- {{ scope.row.客户名称 }}
-
-
-
-
- {{ scope.row.合同签订日期 }}
-
-
-
-
- {{ scope.row.发货节点 }}
-
-
-
-
- {{ scope.row.机床设计完成时间.split(' ')[0] }}
-
-
-
-
- {{ scope.row.采购完成时间.split(' ')[0] }}
-
-
-
-
- {{ scope.row.备料完成时间.split(' ')[0] }}
-
-
-
-
- {{ scope.row.机床生产完成时间.split(' ')[0] }}
-
-
-
-
- {{ scope.row.机床装配完成时间.split(' ')[0] }}
-
-
-
-
-
-
- 设计
+
+
+
总计划
+
+
+
+ {{ scope.row.项目名称 }}
+
+
+
+
+ {{ scope.row.机床图号 }}
+
+
+
+
+ {{ scope.row.机床名称 }}
+
+
+
+
+ {{ scope.row.客户名称 }}
+
+
+
+
+ {{ scope.row.合同签订日期 }}
+
+
+
+
+ {{ scope.row.发货节点 }}
+
+
+
+
+ {{ scope.row.机床设计完成时间.split(' ')[0] }}
+
+
+
+
+ {{ scope.row.采购完成时间.split(' ')[0] }}
+
+
+
+
+ {{ scope.row.备料完成时间.split(' ')[0] }}
+
+
+
+
+ {{ scope.row.机床生产完成时间.split(' ')[0] }}
+
+
+
+
+ {{ scope.row.机床装配完成时间.split(' ')[0] }}
+
+
+
+
+
+
+ 设计
+
@@ -134,7 +138,7 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
@@ -153,9 +157,9 @@
-
-
- 采购
+
+ 采购
+
@@ -174,7 +178,7 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
@@ -193,9 +197,9 @@
-
-
- 备料
+
+ 备料
+
@@ -214,7 +218,7 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
@@ -233,9 +237,9 @@
-
-
- 制造
+
+ 制造
+
@@ -254,7 +258,7 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
@@ -273,9 +277,9 @@
-
-
- 装配调试
+
+ 装配调试
+
@@ -294,7 +298,7 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
@@ -317,9 +321,11 @@
-
diff --git a/src/views/MarketingCenter/CRM/index.vue b/src/views/MarketingCenter/CRM/index.vue
index b6ddc1b5..4e10c09b 100644
--- a/src/views/MarketingCenter/CRM/index.vue
+++ b/src/views/MarketingCenter/CRM/index.vue
@@ -23,6 +23,51 @@
查询
+
+ 添加销售经理
+ 销售经理
+
+
+
+
+
+
+
+
+ {{ scope.row.姓名 }}
+
+
+
+
+ {{ scope.row.性别 }}
+
+
+
+
+ {{ scope.row.联系电话 }}
+
+
+
+
+ {{ scope.row.出生日期 }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
@@ -49,55 +94,10 @@
-
- 添加销售经理
- 销售经理
-
-
-
- {{ scope.row.省份 }}
-
-
-
-
- {{ scope.row.姓名 }}
-
-
-
-
- {{ scope.row.性别 }}
-
-
-
-
- {{ scope.row.联系电话 }}
-
-
-
-
- {{ scope.row.出生日期 }}
-
-
-
-
- 编辑
- 删除
-
-
-
-
新增客户
客户信息
-
+
{{ scope.row.省份 }}
@@ -403,13 +403,20 @@ export default {
this.dataPeople = tree(data, 0)
})
this.getSelect(initCustomer, ['客户名称', '客户流水号'], 'CustomerName')
+ selectMarketingManager(1).then(response => {
+ this.loading3 = false
+ for (let i = 0; i < response.data.length; i++) {
+ response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
+ }
+ this.tableData3 = response.data
+ })
},
getCurrentRow(row) {
this.CustomerNameValue = ''
this.AdressID = row
this.getTable(selectCustomer, [this.AdressID, this.pageCurrent, this.pageSize], ['tableData2', 'total', 'loading2'])
this.loading3 = true
- selectMarketingManager(this.AdressID).then(response => {
+ selectMarketingManager(1).then(response => {
this.loading3 = false
for (let i = 0; i < response.data.length; i++) {
response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
@@ -450,7 +457,7 @@ export default {
return this.AdressID
}).then(data => {
this.loading3 = false
- selectMarketingManager(data).then(response => {
+ selectMarketingManager(1).then(response => {
this.loading3 = false
for (let i = 0; i < response.data.length; i++) {
response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
@@ -482,7 +489,7 @@ export default {
},
handleDeleteMarketingManager(index, row) {
function a() {
- selectMarketingManager(this.AdressID).then(response => {
+ selectMarketingManager(1).then(response => {
this.loading3 = false
for (let i = 0; i < response.data.length; i++) {
response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
@@ -493,13 +500,9 @@ export default {
this.deleteRow(deleteMarketingManager, row.营销经理地区流水号, a)
},
addMarketingManager() {
- if (this.AdressID === '' || this.AdressID === null) {
- this.$message.warning('请选择一个省份')
- } else {
- this.dialogFormVisible1 = true
- this.title1 = '增加'
- this.addForm('form1')
- }
+ this.dialogFormVisible1 = true
+ this.title1 = '增加'
+ this.addForm('form1')
},
callOff1() {
this.dialogFormVisible1 = false
@@ -508,7 +511,7 @@ export default {
function a() {
this.dialogFormVisible1 = false
this.loading3 = true
- selectMarketingManager(this.AdressID).then(response => {
+ selectMarketingManager(1).then(response => {
this.loading3 = false
for (let i = 0; i < response.data.length; i++) {
response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
@@ -517,7 +520,7 @@ export default {
})
}
if (this.flag === 1) {
- this.addTable(addMarketingManager, [this.peopleid, this.AdressID], 'form1', a)
+ this.addTable(addMarketingManager, [this.peopleid, 1], 'form1', a)
} else {
this.editTable(editMarketingManager, [this.peopleid, this.a], 'form1', a)
}
diff --git a/src/views/MarketingCenter/ContractCapitalManagement/index.vue b/src/views/MarketingCenter/ContractCapitalManagement/index.vue
index e52faa5e..0214d676 100644
--- a/src/views/MarketingCenter/ContractCapitalManagement/index.vue
+++ b/src/views/MarketingCenter/ContractCapitalManagement/index.vue
@@ -10,7 +10,7 @@
:value="item.value"/>
销售经理:
-
+
查询
新增
@@ -381,14 +381,17 @@
- 责权省份:
-
-
-
+ 姓名:
+
+ 查询
+
+
+
+
+
+
+
+
@@ -521,6 +524,7 @@ export default {
}
}
return {
+ name: '',
plannedTime: [],
entryName2: [],
count1: 0,
@@ -639,6 +643,16 @@ export default {
this.init()
},
methods: {
+ searchName() { // 模糊查询姓名
+ SelectMarketingManager(this.name).then(response => {
+ this.dataPeople = response.data
+ })
+ },
+ openName() {
+ this.name = ''
+ this.dataPeople = []
+ this.dialogFormVisiblePeople = true
+ },
init() {
this.getSelect(selectProvince, ['省份', '省份流水号'], 'Province')
this.getSelect(searchProjectNumber, ['项目名称', '项目流水号'], 'entryName')
diff --git a/src/views/MarketingCenter/ContractInformationManagement/index.vue b/src/views/MarketingCenter/ContractInformationManagement/index.vue
index e4df4c42..9bc5964f 100644
--- a/src/views/MarketingCenter/ContractInformationManagement/index.vue
+++ b/src/views/MarketingCenter/ContractInformationManagement/index.vue
@@ -389,14 +389,17 @@
- 责权省份:
-
-
-
+ 姓名:
+
+ 查询
+
+
+
+
+
+
+
+
@@ -549,6 +552,7 @@ export default {
},
data() {
return {
+ name: '',
a: 1,
b: 1,
c: 1,
@@ -674,6 +678,11 @@ export default {
this.fetchCustomerData()
},
methods: {
+ searchName() { // 模糊查询姓名
+ SelectMarketingManager(this.name).then(response => {
+ this.tableData3 = response.data
+ })
+ },
fetchData() {
getTree().then(response => { // 获取人员信息树
const data = response.data
@@ -686,6 +695,8 @@ export default {
this.getSelect(money, ['付款方式', '付款方式代码'], 'money')
},
openName() {
+ this.name = ''
+ this.tableData3 = []
this.dialogFormVisiblePeople = true
},
getRowKeys(row) {
diff --git a/src/views/MarketingCenter/CreateProject/index.vue b/src/views/MarketingCenter/CreateProject/index.vue
new file mode 100644
index 00000000..7fed92f4
--- /dev/null
+++ b/src/views/MarketingCenter/CreateProject/index.vue
@@ -0,0 +1,405 @@
+
+
+
+
+ 项目名称:
+
+
+
+ 机床型号:
+
+
+
+ 开始日期:
+
+ 结束日期:
+
+ 查询
+ 增加
+
+
+
+
+
+
+
+
+
+ {{ scope.row.机床图号 }}
+
+
+
+
+ {{ scope.row.机床名称 }}
+
+
+
+
+ {{ scope.row.机床数量 }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+ {{ scope.row.合同编号 }}
+
+
+
+
+
+ {{ scope.row.项目名称 }}
+
+
+
+
+ {{ scope.row.合同签订日期 }}
+
+
+
+
+ {{ scope.row.合同信息备注 }}
+
+
+
+
+ 机床
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/MarketingCenter/InvoiceRecord/index.vue b/src/views/MarketingCenter/InvoiceRecord/index.vue
index 9042a2ab..5407ade1 100644
--- a/src/views/MarketingCenter/InvoiceRecord/index.vue
+++ b/src/views/MarketingCenter/InvoiceRecord/index.vue
@@ -11,7 +11,7 @@
:value="item.value"/>
销售经理:
-
+
开始日期:
-
- 责权省份
-
-
-
+
+ 姓名:
+
+ 查询
+
+
+
+
+
+
+
+
@@ -334,6 +337,7 @@ export default {
},
data() {
return {
+ name: '',
projectid: '', // 项目流水号
entryName: [], // 项目名称数组
entryNameValue_check: '', // 项目名称check
@@ -394,6 +398,16 @@ export default {
this.fetchTableData1()
},
methods: {
+ searchName() { // 模糊查询姓名
+ SelectMarketingManager(this.name).then(response => {
+ this.dataPeople = response.data
+ })
+ },
+ openName() {
+ this.name = ''
+ this.dataPeople = []
+ this.dialogFormVisiblePeople = true
+ },
// 初始化条件
init() {
this.getSelect(initProject, ['项目名称', '项目流水号'], 'entryName')
diff --git a/src/views/PurchasingCenter/CreateInquirySheet/index.vue b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
index 4e344fd2..13c4862b 100644
--- a/src/views/PurchasingCenter/CreateInquirySheet/index.vue
+++ b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
@@ -7,6 +7,10 @@
物料名称:
+ 物料规格:
+
+ 物料型号:
+
物料状态:
+ 零件图号:
+
+ 零件名称:
+
+ 零件规格:
+
@@ -242,31 +252,31 @@
- 询价单号:
-
- 供应商:
-
- 查询
- 创建单据
- 追加物料
-
-
-
+
+ 询价单号:
+
+ 供应商:
+
+ 查询
+ 创建单据
+ 追加物料
+
+ 询价单
@@ -310,9 +320,10 @@
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange2"
@current-change="handleCurrentChange2"/>
- 导出
- 保存
-
+ 导出
+ 保存
+
+ 询价单明细
@@ -596,6 +607,9 @@ export default {
name: '', // 创建询价单
data() {
return {
+ partNum: '',
+ partName: '',
+ partSpec: '',
check3: 0, // 供应商
check4: 0, // 询价单号
materialStatusValue: [0], // 物料状态
@@ -620,6 +634,8 @@ export default {
}
], // 物料状态
materialName: '',
+ materialSpec: '',
+ materialModel: '',
tableData11: [], // 标准件和外购件列表
total11: 0,
pageCurrent11: 1,
@@ -772,9 +788,11 @@ export default {
return row['供货商'] === value
},
searchTable11() { // 查询标准件和外购件列表
- let check1
+ let check1, check2, check3
this.materialName ? check1 = 1 : check1 = 0
- searchMaterial(this.pageCurrent11, this.pageSize11, this.materialStatusValue[this.materialStatusValue.length - 1], check1, this.materialName, this.id).then(response => {
+ this.materialSpec ? check2 = 1 : check2 = 0
+ this.materialModel ? check3 = 1 : check3 = 0
+ searchMaterial(this.pageCurrent11, this.pageSize11, this.materialStatusValue[this.materialStatusValue.length - 1], check1, this.materialName, check2, this.materialSpec, check3, this.materialModel, this.id).then(response => {
console.log(response.data.rows)
this.tableData11 = response.data.rows
this.total11 = response.data.total
@@ -790,7 +808,11 @@ export default {
this.searchTable11()
},
searchTable12() { // 查询基本件列表
- searchPart(this.pageCurrent12, this.pageSize12, this.materialStatusValue[this.materialStatusValue.length - 1], this.id).then(response => {
+ let check1, check2, check3
+ this.partNum ? check1 = 1 : check1 = 0
+ this.partName ? check2 = 1 : check2 = 0
+ this.partSpec ? check3 = 1 : check3 = 0
+ searchPart(this.pageCurrent12, this.pageSize12, this.materialStatusValue[this.materialStatusValue.length - 1], check1, this.partNum, check2, this.partName, check3, this.partSpec, this.id).then(response => {
console.log(response.data.rows, 9999)
this.tableData12 = response.data.rows
this.total12 = response.data.total
diff --git a/src/views/PurchasingCenter/OfflineContract/index.vue b/src/views/PurchasingCenter/OfflineContract/index.vue
index 32fb60b0..6281e72e 100644
--- a/src/views/PurchasingCenter/OfflineContract/index.vue
+++ b/src/views/PurchasingCenter/OfflineContract/index.vue
@@ -4,6 +4,126 @@
物料名称:
+ 物料规格:
+
+ 物料型号:
+
+ 物料状态:
+
+ 查询
+ 绑定离线合同
+
+
+
+
+
+ 未询价
+ 已询价
+ 已采购
+
+
+
+
+ {{ scope.row.机床图号 }}
+
+
+
+
+ {{ scope.row.组号 }}
+
+
+
+
+ {{ scope.row.物料类别 }}
+
+
+
+
+ {{ scope.row.物料品种 }}
+
+
+
+
+ {{ scope.row.物料名称 }}
+
+
+
+
+ {{ scope.row.物料型号 }}
+
+
+
+
+ {{ scope.row.物料规格 }}
+
+
+
+
+ {{ scope.row.零件数量 }}
+
+
+
+
+ {{ Number(scope.row.使用滞货数量) }}
+
+
+
+
+ {{ scope.row.待采购数量 = Number(scope.row.零件数量) - Number(scope.row.使用滞货数量) }}
+
+
+
+
+ {{ scope.row.物料计划到货时间.split(' ')[0] }}
+
+
+
+
+ {{ scope.row.备注 }}
+
+
+
+
+
+
+
+
+
+
+ 物料名称:
+
+ 物料规格:
+
+ 物料型号:
+
库存状态:
@@ -430,6 +550,44 @@
+
+
+
+
+ {{ scope.row.物料名称 }}
+
+
+
+
+ {{ scope.row.物料型号 }}
+
+
+
+
+ {{ scope.row.物料规格 }}
+
+
+
+
+ {{ scope.row.零件数量 }}
+
+
+
+ 确认将以上物料绑定到离线合同
+
+
+
+ 上。
+
+
+