|
@@ -1745,6 +1745,7 @@
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
tasknumber() {
|
|
tasknumber() {
|
|
|
|
+ console.log(this.dataList.taskTypeKey)
|
|
if (this.dataList.taskTypeKey == 1) {
|
|
if (this.dataList.taskTypeKey == 1) {
|
|
this.inOutTaskNo = 'CK' + this.getdate() + this.MathRand()
|
|
this.inOutTaskNo = 'CK' + this.getdate() + this.MathRand()
|
|
} else if (this.dataList.taskTypeKey == 2) {
|
|
} else if (this.dataList.taskTypeKey == 2) {
|
|
@@ -1798,6 +1799,9 @@
|
|
return Min + Math.round(Rand * Range)
|
|
return Min + Math.round(Rand * Range)
|
|
},
|
|
},
|
|
getList() {
|
|
getList() {
|
|
|
|
+ if(localStorage.getItem('taskTypeKey')){
|
|
|
|
+ this.dataList.taskTypeKey =localStorage.getItem('taskTypeKey')
|
|
|
|
+ }
|
|
this.tasknumber()
|
|
this.tasknumber()
|
|
if(localStorage.getItem('taskTypeKey')){
|
|
if(localStorage.getItem('taskTypeKey')){
|
|
if(localStorage.getItem('taskTypeKey') == 1){
|
|
if(localStorage.getItem('taskTypeKey') == 1){
|