|
|
@@ -346,7 +346,7 @@
|
|
346
|
346
|
</el-form>
|
|
347
|
347
|
<div slot="footer" class="dialog-footer">
|
|
348
|
348
|
<el-button @click="dialogCooperation = false">取 消</el-button>
|
|
349
|
|
- <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postCooperationOrder">
|
|
|
349
|
+ <el-button type="primary" @click="postCooperationOrder">
|
|
350
|
350
|
确 定
|
|
351
|
351
|
</el-button>
|
|
352
|
352
|
</div>
|
|
|
@@ -375,7 +375,7 @@
|
|
375
|
375
|
</el-form>
|
|
376
|
376
|
<div slot="footer" class="dialog-footer">
|
|
377
|
377
|
<el-button @click="dialogCooperationIn = false">取 消</el-button>
|
|
378
|
|
- <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postCooperationOrderIn">
|
|
|
378
|
+ <el-button type="primary" @click="postCooperationOrderIn">
|
|
379
|
379
|
确 定
|
|
380
|
380
|
</el-button>
|
|
381
|
381
|
</div>
|
|
|
@@ -414,7 +414,7 @@
|
|
414
|
414
|
</el-form>
|
|
415
|
415
|
<div slot="footer" class="dialog-footer">
|
|
416
|
416
|
<el-button @click="dialogCooperationOut = false">取 消</el-button>
|
|
417
|
|
- <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postCooperationOrderOut">
|
|
|
417
|
+ <el-button type="primary" @click="postCooperationOrderOut">
|
|
418
|
418
|
确 定
|
|
419
|
419
|
</el-button>
|
|
420
|
420
|
</div>
|
|
|
@@ -546,7 +546,7 @@
|
|
546
|
546
|
</el-form>
|
|
547
|
547
|
<div slot="footer" class="dialog-footer">
|
|
548
|
548
|
<el-button @click="dialogDone = false">取 消</el-button>
|
|
549
|
|
- <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postDoneOrder">确 定</el-button>
|
|
|
549
|
+ <el-button type="primary" @click="postDoneOrder">确 定</el-button>
|
|
550
|
550
|
</div>
|
|
551
|
551
|
</el-dialog>
|
|
552
|
552
|
<el-dialog :visible.sync="dialogVisible">
|
|
|
@@ -1186,8 +1186,7 @@
|
|
1186
|
1186
|
this.dialogDone = true;
|
|
1187
|
1187
|
this.doneForm.workordercode = code;
|
|
1188
|
1188
|
},
|
|
1189
|
|
- postDoneOrder() {
|
|
1190
|
|
- this.isloading = true
|
|
|
1189
|
+ postDoneOrder() {
|
|
1191
|
1190
|
// 完工
|
|
1192
|
1191
|
var equiplist = [];
|
|
1193
|
1192
|
this.equipmodellist.find((item) => {
|
|
|
@@ -1218,7 +1217,6 @@
|
|
1218
|
1217
|
type: "error",
|
|
1219
|
1218
|
message: "请选择耗材信息!",
|
|
1220
|
1219
|
});
|
|
1221
|
|
- this.isloading = false
|
|
1222
|
1220
|
return
|
|
1223
|
1221
|
}
|
|
1224
|
1222
|
}
|
|
|
@@ -1246,7 +1244,6 @@
|
|
1246
|
1244
|
const params = this.doneForm;
|
|
1247
|
1245
|
postDealWorkOrder(params).then((response) => {
|
|
1248
|
1246
|
if (response.state === "success") {
|
|
1249
|
|
- this.isloading = false
|
|
1250
|
1247
|
this.$message({
|
|
1251
|
1248
|
type: "success",
|
|
1252
|
1249
|
message: "操作成功!",
|
|
|
@@ -1263,7 +1260,6 @@
|
|
1263
|
1260
|
})
|
|
1264
|
1261
|
.catch((err)=>{
|
|
1265
|
1262
|
console.log(err)
|
|
1266
|
|
- this.isloading = false //关闭loading
|
|
1267
|
1263
|
})
|
|
1268
|
1264
|
resolve();
|
|
1269
|
1265
|
});
|