Selaa lähdekoodia

工人操作端修改

yejian 3 vuotta sitten
vanhempi
commit
bbd2db4de3

+ 3 - 3
imcs-ui/src/views/zuihou/machiningClient/touchScreen/components/View1.vue

@@ -183,7 +183,7 @@ export default {
 	},
 	next(){
 	    // 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;
         if (res.isSuccess) {
         }
@@ -193,7 +193,7 @@ export default {
   	submitForm(){
       // 更新改任务的开始时间
       // 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;
           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;
         if (res.isSuccess) {
           console.log("update task startTime success");