|
@@ -2677,6 +2677,11 @@ export class HushijiandanComponent implements OnInit {
|
2677
|
2677
|
return { required: true };
|
2678
|
2678
|
}
|
2679
|
2679
|
};
|
|
2680
|
+ // 修改工号
|
|
2681
|
+ userAccount = null;
|
|
2682
|
+ changeAccount(e){
|
|
2683
|
+ this.userAccount =this.accountList.find(v => v.id == e);
|
|
2684
|
+ }
|
2680
|
2685
|
// 一键发起建单保存
|
2681
|
2686
|
loading5 = false;
|
2682
|
2687
|
confirmShortcut() {
|
|
@@ -2691,15 +2696,11 @@ export class HushijiandanComponent implements OnInit {
|
2691
|
2696
|
let postData;
|
2692
|
2697
|
that.buildType = "other";
|
2693
|
2698
|
if (that.buildType == "other") {
|
2694
|
|
- let userAccount = null;
|
2695
|
|
- if(this.account){
|
2696
|
|
- userAccount = this.accountList.find(v => v.id == this.account);
|
2697
|
|
- }
|
2698
|
2699
|
// 其他
|
2699
|
2700
|
postData = {
|
2700
|
2701
|
workOrder: {
|
2701
|
2702
|
sourceId: SourceId.hushi,
|
2702
|
|
- workOrderRemark: userAccount ? `${userAccount.account}-${userAccount.name}:${this.workOrderRemark}` : this.workOrderRemark,
|
|
2703
|
+ workOrderRemark: this.userAccount ? `${this.userAccount.account}-${this.userAccount.name}:${this.workOrderRemark}` : this.workOrderRemark,
|
2703
|
2704
|
taskType: { id: that.shortcutMsg.id },
|
2704
|
2705
|
createDept: that.loginUserDeptId,
|
2705
|
2706
|
startDept: { id: that.buildMsg.startDept },
|
|
@@ -2866,9 +2867,9 @@ export class HushijiandanComponent implements OnInit {
|
2866
|
2867
|
}
|
2867
|
2868
|
// 确认
|
2868
|
2869
|
jdFlagId;
|
|
2870
|
+ limitTimeLoading:boolean = false;
|
2869
|
2871
|
confirmLimitTime() {
|
2870
|
2872
|
console.log(this.limitTimeItem);
|
2871
|
|
- this.btnLoading = true;
|
2872
|
2873
|
this.limitTimeModal = false;
|
2873
|
2874
|
this.jdFlagId = this.message.loading("正在加载中..", {
|
2874
|
2875
|
nzDuration: 0,
|