|
@@ -193,20 +193,21 @@ export default {
|
|
|
submitForm(){
|
|
|
// 更新改任务的开始时间
|
|
|
// TODO 写入rfid内容,工件信息、原材料R
|
|
|
- this.confirmDisabled = true
|
|
|
+ this.confirmDisabled = true
|
|
|
let valid = this.uniqueCode!=''? true: false;
|
|
|
- if(!valid){
|
|
|
+ if(!valid){
|
|
|
this.$message({
|
|
|
message: "零件编码" + this.$t("rules.require"),
|
|
|
type: "warning"
|
|
|
})
|
|
|
this.confirmDisabled = false
|
|
|
return false
|
|
|
- }
|
|
|
+ }
|
|
|
|
|
|
taskMgrApi.updateTaskStatus({ "id" : this.tenant.id,"meterialId":this.tenant.meterialId, "uniqueCode":this.uniqueCode, "updateType" : "end", "processType" : "1", "updateUser" : this.$store.state.account.user.id}).then((res) => {
|
|
|
res = res.data;
|
|
|
if (res.isSuccess) {
|
|
|
+ console.log(res.isSuccess);
|
|
|
// 通知列表
|
|
|
this.$emit("success");
|
|
|
// 通知列表-并关闭弹出框
|