diff --git a/src/api/ManufacturingCenter/ProcessingStatusNew.js b/src/api/ManufacturingCenter/ProcessingStatusNew.js
index c918388c..9806c2b5 100644
--- a/src/api/ManufacturingCenter/ProcessingStatusNew.js
+++ b/src/api/ManufacturingCenter/ProcessingStatusNew.js
@@ -30,7 +30,7 @@ export function getGroups(stepNumber) {
}
})
}
-export function getTable(checkbox_Machine, Machine, checkbox_Group, Group, checkbox_number, number, k, m, pageCurrent, pageSize) {
+export function getTable(checkbox_Machine, Machine, checkbox_Group, Group, checkbox_number, number, pageCurrent, pageSize) {
return request({
url: '',
method: 'post',
@@ -38,9 +38,8 @@ export function getTable(checkbox_Machine, Machine, checkbox_Group, Group, check
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
- name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程_新',
- param: '项目流水号_check=0=string&机床流水号_check=' + checkbox_Machine + '=string&机床流水号=' + Machine + '=string&组件流水号_check=' + checkbox_Group + '=string&组件流水号=' + Group + '=string&零件图号_check=' + checkbox_number + '=string&零件图号=' + number + '=string&是否查询全部数据=1=string&单件是否外协=1=string&考核状态=6=int&开始时间_check=0&开始时间=' + k + '&结束时间_check=0&结束时间=' + m,
- Pagination: pageCurrent + '&' + pageSize
+ name: '车间生产管理工艺_追溯加工过程_查询',
+ param: `机床流水号_check=${checkbox_Machine}&机床流水号=${Machine}&组件流水号_check=${checkbox_Group}&组件流水号=${Group}&零件图号_check=${checkbox_number}&零件图号=${number}&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
}
})
}
diff --git a/src/api/MarketingCenter/SafetyMargin.js b/src/api/MarketingCenter/SafetyMargin.js
index 4fa8f5dc..75bf0ab0 100644
--- a/src/api/MarketingCenter/SafetyMargin.js
+++ b/src/api/MarketingCenter/SafetyMargin.js
@@ -130,7 +130,7 @@ export function TakeBack() {
ModularID: router.currentRoute.path,
type: '2',
name: '安全保证金管理_安全保证金_收回',
- param: '安全保证金流水号=' + arguments[0] + '&实际收回日期=' + arguments[1]
+ param: '安全保证金流水号=' + arguments[0] + '&实际收回日期=' + arguments[1] + '&回收金额=' + arguments[2]
}
})
}
diff --git a/src/views/ManufacturingCenter/CreatePreparationBill/index.vue b/src/views/ManufacturingCenter/CreatePreparationBill/index.vue
index 486d1865..ad97ba53 100644
--- a/src/views/ManufacturingCenter/CreatePreparationBill/index.vue
+++ b/src/views/ManufacturingCenter/CreatePreparationBill/index.vue
@@ -4,8 +4,9 @@
+ 零件图号:
- 查询
+ 查询
查询全部
@@ -31,11 +32,11 @@
v-loading="loading"
:data="tableData"
:header-cell-style="{fontFamily:'YouYuan',fontSize:'14px',fontWeight:200}"
- :row-class-name="tableRowClassName1"
height="760"
style="width: 1110px; margin: 3px 0"
size="mini"
border
+ stripe
sortable
highlight-current-row
element-loading-text="拼命加载中"
@@ -161,7 +162,7 @@ export default {
Data: [],
tableData: [], // 表格数据
total: null, // 总条数
- pageSize: 100, // 每页显示条数
+ pageSize: 30, // 每页显示条数
pageCurrent: 1, // 后台获取页
ordername: '',
order: ''
@@ -228,6 +229,27 @@ export default {
// })
this.tableData = response.data.rows
this.total = response.data.total
+<<<<<<< HEAD
+=======
+ }
+ }).then(() => {
+ for (let i = 0; i < this.Data.length; i++) {
+ searchtable2(this.Data[i].工艺计划流水号).then(response => {
+ this.tableData.push({
+ 工艺计划流水号: this.Data[i].工艺计划流水号,
+ 零件名称: this.Data[i].零件名称,
+ 零件图号: this.Data[i].零件图号,
+ 备料打印: this.Data[i].备料打印,
+ 是否外购备料: this.Data[i].是否外购备料,
+ 工艺要求: response.data[0].工艺要求,
+ 材料: this.Data[i].材料,
+ 重量: this.Data[i].重量,
+ 批次数量: this.Data[i].批次数量,
+ 备料任务接受时间: this.Data[i].备料任务接受时间,
+ 备料任务分配时间: this.Data[i].备料任务分配时间
+ })
+ })
+>>>>>>> 0b6cb6f55ad7cb26c02017b256ea0ec59eca150f
this.loading = false
}
})
@@ -287,12 +309,6 @@ export default {
this.pageCurrent = val
this.searchTable()
},
- tableRowClassName1({ row }) {
- console.log(row)
- if (row.是否加急 === '1') {
- return 'isUrgentItem'
- }
- },
exportExcel() {
if (this.partName !== '' && this.partName !== null) {
this.partNamecheck = true
@@ -346,8 +362,4 @@ export default {
}
}
-
+
diff --git a/src/views/ManufacturingCenter/MaterialArrival/index.vue b/src/views/ManufacturingCenter/MaterialArrival/index.vue
index b0cfc261..9d8bd9b5 100644
--- a/src/views/ManufacturingCenter/MaterialArrival/index.vue
+++ b/src/views/ManufacturingCenter/MaterialArrival/index.vue
@@ -22,7 +22,7 @@
查询
- 完成
+ 完成
@@ -283,7 +283,6 @@ export default {
this.processSerialNumber = ''
this.radio = true
this.tableData1 = []
- this.Name = 0
this.row2 = row
gettabledata1(row.工艺计划流水号).then(response => {
if (response.data.length !== 0) {
@@ -346,9 +345,7 @@ export default {
},
getRow(row) {
this.processSerialNumber = row.工序流水号
- console.log(row.完成日期, 222)
- row.完成日期 ? this.Name = 0 : this.Name = 1
- console.log(this.Name, 111)
+ row.完成日期 ? this.Name = 1 : this.Name = 0
},
handleSizeChange(val) {
this.pageSize = val
diff --git a/src/views/ManufacturingCenter/MonthEndHourAccounting/index.vue b/src/views/ManufacturingCenter/MonthEndHourAccounting/index.vue
index cd62dc84..ba8443a5 100644
--- a/src/views/ManufacturingCenter/MonthEndHourAccounting/index.vue
+++ b/src/views/ManufacturingCenter/MonthEndHourAccounting/index.vue
@@ -12,7 +12,7 @@
style="width:250px;margin-left: 5px;margin-top: 10px;margin-bottom: 10px"
start-placeholder="开始日期"
end-placeholder="结束日期"/>
- 查询
+ 查询
导出
@@ -82,7 +82,7 @@
{{ scope.row.操作时间 }}
-
+
{{ scope.row.备注 }}
@@ -122,7 +122,7 @@
{{ scope.row.设计者 }}
-
+
{{ scope.row.材料 }}
@@ -189,9 +189,10 @@ export default {
this.loading = true
searchTable(this.startTime[0], this.startTime[1], this.orderName, this.order, this.pageCurrent, this.pageSize).then(response => {
response.data.rows.map(v => {
- this.$set(v, '工时比值', v.计划工时 === 0 ? 0 : Math.round(v.扫码工时 / v.计划工时 * 100) / 100.00)
+ this.$set(v, '工时比值', parseInt(v.计划工时) === 0 ? 0 : (Math.round(parseInt(v.扫码工时) / parseInt(v.计划工时) * 100) / 100.00))
})
this.tableData = response.data.rows
+ console.log(this.tableData)
this.total = response.data.total
this.loading = false
})
diff --git a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue
index 1cb2625b..68cbb10c 100644
--- a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue
+++ b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue
@@ -28,16 +28,7 @@
-
+
@@ -69,16 +60,7 @@
-
+
{{ scope.row.零件图号 }}
@@ -89,11 +71,6 @@
{{ scope.row.零件名称 }}
-
-
- {{ scope.row.加工数 }}
-
-
{{ scope.row.投产数量 }}
@@ -101,12 +78,12 @@
- {{ scope.row.完成日期 }}
+ {{ scope.row.机加工实际完成时间 }}
- {{ scope.row.计划结束时间 }}
+ {{ scope.row.机加工结束时间 }}
@@ -359,7 +336,7 @@ export default {
if (this.index === -1) {
console.log(-1)
} else {
- if (this.index !== 0) {
+ if (this.index !== 0 && this.isDisabled === false) {
this.index = this.index - 1
console.log(this.index)
this.$refs.singleTable.setCurrentRow(this.tableData[this.index])
@@ -372,7 +349,7 @@ export default {
if (this.index === -1) {
console.log(-1)
} else {
- if (this.index + 1 !== this.tableData.length) {
+ if (this.index + 1 !== this.tableData.length && this.isDisabled === false) {
this.index = this.index + 1
console.log(this.index)
this.$refs.singleTable.setCurrentRow(this.tableData[this.index])
@@ -535,40 +512,12 @@ export default {
this.tableData1 = []
this.isDisabled = true
this.loading = true
- if (this.Machine === '') {
- this.checkbox_Machine = 0
- } else {
- this.checkbox_Machine = 1
- }
- if (this.Group === '') {
- this.checkbox_Group = 0
- } else {
- this.checkbox_Group = 1
- }
- if (this.number === '') {
- this.checkbox_number = 0
- } else {
- this.checkbox_number = 1
- }
- getTable(this.checkbox_Machine, this.Machine, this.checkbox_Group, this.Group, this.checkbox_number, this.number, this.startTime, this.endTime, this.pageCurrent, this.pageSize).then(response => {
- if (response.data.rows.length !== 0) {
- for (let i = 0; i < response.data.rows.length; i++) {
- this.tableData.push({
- 工艺计划流水号: response.data.rows[i].工艺计划流水号,
- 考核状态: response.data.rows[i].考核状态,
- 序号: response.data.rows[i].序号,
- 跟单号: response.data.rows[i].跟单号,
- 零件图号: response.data.rows[i].零件图号,
- 零件名称: response.data.rows[i].零件名称,
- 加工数: response.data.rows[i].完成数量, // MES里采集 现在没有
- 投产数量: response.data.rows[i].批次数量,
- 完成日期: response.data.rows[i].机加工实际完成时间 ? response.data.rows[i].机加工实际完成时间.split(' ')[0] : '', // 排产时间
- 计划结束时间: response.data.rows[i].机加工结束时间 ? response.data.rows[i].机加工结束时间.split(' ')[0] : '',
- 客户名称: response.data.rows[i].客户名称 // 客户名
- })
- }
- }
- this.total = response.data.total
+ this.Machine ? this.checkbox_Machine = 1 : this.checkbox_Machine = 0
+ this.Group ? this.checkbox_Group = 1 : this.checkbox_Group = 0
+ this.number ? this.checkbox_number = 1 : this.checkbox_number = 0
+ getTable(this.checkbox_Machine, this.Machine, this.checkbox_Group, this.Group, this.checkbox_number, this.number, this.pageCurrent, this.pageSize).then(response => {
+ this.tableData = response.data.result
+ this.total = parseInt(response.data.output[0].ItemCount)
this.loading = false
})
},
@@ -695,6 +644,8 @@ export default {
row.index = rowIndex
if (parseInt(row.考核状态) > 6) {
return 'CompleteColor'
+ } else if (parseInt(row.考核状态) <= 6 && parseInt(row.状态) === 1) {
+ return 'disCompleteColor'
}
},
// 工序状态变色
@@ -725,4 +676,7 @@ export default {
.CompleteColor{
background: #9bd7fc !important;
}
+ .disCompleteColor{
+ background: rgb(233,240,250) !important;
+ }
diff --git a/src/views/MarketingCenter/BidBond/index.vue b/src/views/MarketingCenter/BidBond/index.vue
index c517b5a1..42bc4ed8 100644
--- a/src/views/MarketingCenter/BidBond/index.vue
+++ b/src/views/MarketingCenter/BidBond/index.vue
@@ -66,26 +66,41 @@
{{ !scope.row.公布日期 ? '未公布' : scope.row.公布日期.substring(0 , scope.row.公布日期.length - 8) }}
-
+
{{ scope.row.招标企业 }}
- R
+
- {{ scope.row.联系人 }}
-
-
-
-
- {{ scope.row.联系电话 }}
+ {{ scope.row.项目名称 }}
+
+
+
+
+
+
+
+
+
+
{{ Number(scope.row.保证金金额).toFixed(2) }}
+
+
+ {{ scope.row.投标日期.substring(0, scope.row.投标日期.length - 8) }}
+
+
+
+
+ {{ scope.row.投标人 }}
+
+
{{ Number(scope.row.中标服务费).toFixed(2) }}
@@ -112,40 +127,30 @@
{{ Number(scope.row.未收金额).toFixed(2) }}
-
-
- {{ scope.row.投标人 }}
-
-
{{ scope.row.保证金类型 }}
-
-
- {{ scope.row.投标日期.substring(0, scope.row.投标日期.length - 8) }}
-
-
-
-
- {{ !scope.row.预计收回日期 ? '结果未公布' : scope.row.预计收回日期.substring(0, scope.row.预计收回日期.length - 8) }}
-
-
-
-
- {{ !scope.row.实际收回日期 ? '未收回' : scope.row.实际收回日期.substring(0, scope.row.实际收回日期.length - 8) }}
-
-
-
-
- 未公布
- 已收回
- 未开始
- 即将拖期
- 已拖期
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ scope.row.备注 }}
@@ -267,6 +272,14 @@
type="date"
placeholder="收回日期"/>
+
+
+