diff --git a/src/api/Inventory/MaterialOut.js b/src/api/Inventory/MaterialOut.js
index 61619cd5..c465a406 100644
--- a/src/api/Inventory/MaterialOut.js
+++ b/src/api/Inventory/MaterialOut.js
@@ -42,7 +42,7 @@ export function searchList(pageCurrent, pageSize, listNumber_check, listNumber)
data: {
type: '1',
name: '车间装配管理_领料单_查询数据',
- param: '领料单编号_check=' + listNumber_check + '&领料单编号=' + listNumber,
+ param: '领料单编号_check=' + listNumber_check + '&领料单编号=' + listNumber + '&是否审批=1',
Pagination: pageCurrent + '&' + pageSize
}
})
diff --git a/src/api/PurchasingCenter/CreatePurchaseContract.js b/src/api/PurchasingCenter/CreatePurchaseContract.js
index b7efa442..b2f77cd0 100644
--- a/src/api/PurchasingCenter/CreatePurchaseContract.js
+++ b/src/api/PurchasingCenter/CreatePurchaseContract.js
@@ -72,6 +72,17 @@ export function savePrice(price, num1, num2, num3, num4, num5) {
}
})
}
+// 实时保存备注
+export function saveRemark(price, num1, num2, num3, num4, num5) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '4',
+ name: `update 采购管理_询价单明细_视图 set 备注 = '${price}' where isnull(物料流水号,0) = isnull('${num1}',0) and 询价单流水号 = ${num2} and isnull(零件名称,'') = '${num3}' and isnull(零件图号,'') = '${num4}' and (isnull(规格,'') = '${num5}' or isnull(物料规格,'') = '${num5}')`
+ }
+ })
+}
// 实时保存合同头
export function saveContractHeader(...params) {
return request({
diff --git a/src/views/Assembly/AssemblyExecution/index.vue b/src/views/Assembly/AssemblyExecution/index.vue
index 951c39cb..1d6d3e95 100644
--- a/src/views/Assembly/AssemblyExecution/index.vue
+++ b/src/views/Assembly/AssemblyExecution/index.vue
@@ -94,8 +94,8 @@
- 开始装配
- 结束装配
+ 开始装配
+ 结束装配
装配完成
@@ -163,6 +163,16 @@ export default {
searchTable2(this.machineNumberValue, this.check2).then(response => {
console.log(response.data, 222)
this.tableData2 = response.data
+ this.tableData2.map(v => {
+ if (v.组件是否完成 === null || v.组件是否完成 === 0) {
+ this.$set(v, 'buttonStatus', 1)
+ } else if (v.组件是否完成 === 1) {
+ this.$set(v, 'buttonStatus', 2)
+ } else {
+ this.$set(v, 'buttonStatus', 3)
+ }
+ return v
+ })
})
},
// 总装开始装配
@@ -207,7 +217,8 @@ export default {
ComponentStateUpdate(row.组件流水号, 1).then(response => {
console.log(response.data)
this.searchTable1()
- this.searchTable2()
+ row.buttonStatus = 2
+ // this.searchTable2()
})
},
// 部装结束装配
@@ -216,7 +227,8 @@ export default {
ComponentStateUpdate(row.组件流水号, 2).then(response => {
console.log(response.data)
this.searchTable1()
- this.searchTable2()
+ row.buttonStatus = 3
+ // this.searchTable2()
})
}
}
diff --git a/src/views/Inventory/CreatePickingList/index.vue b/src/views/Inventory/CreatePickingList/index.vue
index 47290aae..aa822434 100644
--- a/src/views/Inventory/CreatePickingList/index.vue
+++ b/src/views/Inventory/CreatePickingList/index.vue
@@ -221,13 +221,19 @@
{{ scope.row.领料单备注 }}
+
+
+ 已审批
+ 审批
+
+
未确认
已确认
-
+
确认
删除
@@ -321,6 +327,7 @@