|
@@ -183,7 +183,7 @@ export default {
|
|
},
|
|
},
|
|
next(){
|
|
next(){
|
|
// TODO 写入rfid内容(子盘信息和夹具信息)
|
|
// TODO 写入rfid内容(子盘信息和夹具信息)
|
|
- taskMgrApi.procesRfid({ "id" : this.tenant.id, rfidType: "write" }).then((res) => {
|
|
|
|
|
|
+ taskMgrApi.procesRfid({ "id" : this.tenant.id, "clampId" : this.tenant.clampId,rfidType: "write" }).then((res) => {
|
|
res = res.data;
|
|
res = res.data;
|
|
if (res.isSuccess) {
|
|
if (res.isSuccess) {
|
|
}
|
|
}
|
|
@@ -193,7 +193,7 @@ export default {
|
|
submitForm(){
|
|
submitForm(){
|
|
// 更新改任务的开始时间
|
|
// 更新改任务的开始时间
|
|
// TODO 写入rfid内容,工件信息、原材料
|
|
// TODO 写入rfid内容,工件信息、原材料
|
|
- taskMgrApi.updateTaskStatus({ "id" : this.tenant.id, "updateType" : "end"}).then((res) => {
|
|
|
|
|
|
+ taskMgrApi.updateTaskStatus({ "id" : this.tenant.id,"meterialId":this.tenant.meterialId, "uniqueCode":this.uniqueCode, "updateType" : "end"}).then((res) => {
|
|
res = res.data;
|
|
res = res.data;
|
|
if (res.isSuccess) {
|
|
if (res.isSuccess) {
|
|
// 通知列表
|
|
// 通知列表
|
|
@@ -240,7 +240,7 @@ export default {
|
|
})
|
|
})
|
|
|
|
|
|
// 更新改任务的开始时间
|
|
// 更新改任务的开始时间
|
|
- taskMgrApi.updateTaskStatus({ "id" : this.tenant.id, "updateType" : "begin"}).then((res) => {
|
|
|
|
|
|
+ taskMgrApi.updateTaskStatus({ "id" : this.tenant.id, "updateType" : "begin"}).then((res) => {
|
|
res = res.data;
|
|
res = res.data;
|
|
if (res.isSuccess) {
|
|
if (res.isSuccess) {
|
|
console.log("update task startTime success");
|
|
console.log("update task startTime success");
|