@@ -750,7 +754,7 @@ export default {
AddTableData_disable: false,
loading: false,
total: 0, // 总条数
- pageSize: 20, // 每页显示条数
+ pageSize: 10, // 每页显示条数
pageCurrent: 1, // 后台获取页
dialogmethod: false // false新增 true 编辑
// total1: 0, // 总条数
@@ -791,22 +795,34 @@ export default {
},
// 表内编辑确定
confirmEdit(row) {
- console.log(row, 676767)
-
confirmEdit(row.质检流水号, row.质检类型代码, row.零部件流水号, row.是否合格, row.数量, row.不合格数量, row.不合格原因, row.处理结果, row.备注, this.$store.state.user.id).then(response => {
if (response.data[0].result === '1') {
- this.dialogFormVisible10 = false
this.$message.success('编辑成功')
this.selecttable()
} else {
this.$message.error('编辑失败')
}
})
- this.selecttable()
row.edit = false
},
+ // 删除质检
deleterow(row) {
// this.plan = row.计划流水号
+ console.log(row, 4545)
+ this.$confirm('是否删除该质检记录?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ confirmEdit(row.质检流水号, row.质检类型代码, row.零部件流水号, row.数量).then(response => {
+ if (response.data[0].result === '1') {
+ this.$message.success('删除成功')
+ this.selecttable()
+ } else {
+ this.$message.error('编辑失败')
+ }
+ })
+ })
},
initProject() {
initProject().then(response => {
diff --git a/src/views/Inventory/PickingListApproval/index.vue b/src/views/Inventory/PickingListApproval/index.vue
index 2e129bf3..15349e42 100644
--- a/src/views/Inventory/PickingListApproval/index.vue
+++ b/src/views/Inventory/PickingListApproval/index.vue
@@ -172,7 +172,7 @@ export default {
type: 'warning'
}).then(() => {
if (this.pickListTable2.length === 0) {
- this.$message.error('空领料单,不能审批!')
+ this.$message.error('不能审批空领料单')
return
}
const param = {
diff --git a/src/views/Outsourcing/OutsourcingPartsQuery/index.vue b/src/views/Outsourcing/OutsourcingPartsQuery/index.vue
index ebde7af2..feb72b46 100644
--- a/src/views/Outsourcing/OutsourcingPartsQuery/index.vue
+++ b/src/views/Outsourcing/OutsourcingPartsQuery/index.vue
@@ -11,7 +11,7 @@
:label="item.label"
:value="item.value"/>
- 查询
+ 查询
导出
@@ -121,12 +121,18 @@ export default {
}, {
value: 1,
label: '已到'
+ }, {
+ value: 2,
+ label: '未提交'
+ }, {
+ value: 3,
+ label: '未外协'
}],
tableData: [],
procedure: [],
procedureTime: [],
pageCurrent: 1,
- pageSize: 500,
+ pageSize: 50,
tableData1: []
}
},