diff --git a/src/views/Inventory/InboundCard/index.vue b/src/views/Inventory/InboundCard/index.vue
index 9c883c3e..8c4febc9 100644
--- a/src/views/Inventory/InboundCard/index.vue
+++ b/src/views/Inventory/InboundCard/index.vue
@@ -437,7 +437,7 @@
-
+
-
+
-
+
@@ -523,14 +523,14 @@
-
+
-
+
-
+
@@ -616,7 +616,7 @@
@@ -668,14 +668,7 @@ export default {
rules: { // 表单验证规则
contract: [{ required: true, message: '请选择合同', trigger: 'blur' }],
house: [{ required: true, message: '请选择仓库', trigger: 'blur' }],
- inboundDay: [{ required: true, message: '请输入入库日期', trigger: 'blur' }],
- arrive: [{ required: true, message: '请输入到货单号', trigger: 'blur' }],
- affair: [{ required: true, message: '请输入业务号', trigger: 'blur' }],
- affairPeople: [{ required: true, message: '请选择业务员', trigger: 'blur' }],
- affirType: [{ required: true, message: '请输入入库日期', trigger: 'blur' }],
- purchaseType: [{ required: true, message: '请输入业务类型', trigger: 'blur' }],
- inboundType: [{ required: true, message: '请输入入库类别', trigger: 'blur' }],
- note: [{ required: true, message: '请输入备注', trigger: 'blur' }]
+ inboundDay: [{ required: true, message: '请输入入库日期', trigger: 'blur' }]
},
nameGroup: [],
modelGroup: [],
@@ -787,8 +780,8 @@ export default {
this.dialogVisible1 = true
},
// 增加入库单
- submitCard() {
- this.$refs['form'].validate((valid) => {
+ submitCard(formName) {
+ this.$refs[formName].validate((valid) => {
if (valid) {
addInboundCard(this.form.inboundDay, this.form.house, this.form.contract, this.form.arrive, this.form.affairPeople, this.form.affair, this.form.arriveDay, this.form.affirType, this.form.purchaseType, this.form.inboundType, this.form.note).then(response => {
if (response.data[0].result === '1') {
@@ -862,13 +855,17 @@ export default {
this.form.inboundType = row.入库类别
this.form.note = row.备注
},
- submitInboundCardInfor() {
- editInboundCard(this.DetailNumber, this.form.inboundDay, this.form.house, this.form.contract, this.form.arrive, this.form.affairPeople, this.form.affair, this.form.arriveDay, this.form.affirType, this.form.purchaseType, this.form.inboundType, this.form.note).then(response => {
- if (response.data[0].result === '1') {
- this.$message.success('修改成功')
- this.dialogVisible2 = false
- } else {
- this.$message.error('修改失败')
+ submitInboundCardInfor(form) {
+ this.$refs[form].validate((valid) => {
+ if (valid) {
+ editInboundCard(this.DetailNumber, this.form.inboundDay, this.form.house, this.form.contract, this.form.arrive, this.form.affairPeople, this.form.affair, this.form.arriveDay, this.form.affirType, this.form.purchaseType, this.form.inboundType, this.form.note).then(response => {
+ if (response.data[0].result === '1') {
+ this.$message.success('修改成功')
+ this.dialogVisible2 = false
+ } else {
+ this.$message.error('修改失败')
+ }
+ })
}
})
},
@@ -883,7 +880,6 @@ export default {
this.tableData4 = data
})
},
-
// 删除领料单
dropCard(row) {
this.CardNumber = row.采购入库单流水号
diff --git a/src/views/Inventory/InventoryManagement/index.vue b/src/views/Inventory/InventoryManagement/index.vue
index a0757d1d..a1fad173 100644
--- a/src/views/Inventory/InventoryManagement/index.vue
+++ b/src/views/Inventory/InventoryManagement/index.vue
@@ -535,7 +535,6 @@ export default {
},
// 执行修改货位
LocateEdit() {
- console.log(this.LocateNumber, this.form2.货位名称, this.form2.工作中心, this.form2.仓库流水号, this.form2.永久, this.form2.不可用量)
alterLocate(this.LocateNumber, this.form2.货位名称, this.form2.工作中心, this.form2.仓库流水号, this.form2.永久, this.form2.不可用量).then(response => {
this.dialogFormVisible2 = false
if (response.data[0].result === '1') {
diff --git a/src/views/Inventory/PartsReplacement/index.vue b/src/views/Inventory/PartsReplacement/index.vue
index 909a80b3..644294ba 100644
--- a/src/views/Inventory/PartsReplacement/index.vue
+++ b/src/views/Inventory/PartsReplacement/index.vue
@@ -237,7 +237,7 @@
作废
- 导出
+ 导出
@@ -300,12 +300,77 @@
+
+
+
+
+
仓 库 补 投 单
+
+
+
+
+
+
+
+
+
+
+
+ | 补投单编号: |
+ {{ inbondCard[0] }} |
+ 姓名: |
+ {{ inbondCard[1] }} |
+
+
+ | 补投时间: |
+ {{ inbondCard[2] }} |
+ 仓库名称: |
+ {{ inbondCard[3] }} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | 项目名称 |
+ 机床图号 |
+ 组号 |
+ 名称 |
+ 数量 |
+ 类型 |
+
+
+ | {{ list.项目名称 }} |
+ {{ list.机床图号 }} |
+ {{ list.组号 }} |
+ {{ list.名称 }} |
+ {{ list.数量 }} |
+ {{ list.类型名称 }} |
+
+
+
+
+
+
+