|
@@ -529,7 +529,7 @@
|
|
|
Pricetype:true,//价格类型为随行就市隐藏单价
|
|
|
}
|
|
|
},
|
|
|
- activated() {
|
|
|
+ activated() {debugger
|
|
|
this.getList()
|
|
|
var num=0
|
|
|
this.goods=''
|
|
@@ -1754,6 +1754,24 @@
|
|
|
var random = this.getdate() + this.MathRand()
|
|
|
this.inOutTaskNo = 'YKC' + random
|
|
|
this.inOutTaskNo1 = 'YKR' + random
|
|
|
+ // this.dataList.moveTaskNo = 'YKRW' + random
|
|
|
+ // this.dataList1.moveTaskNo = 'YKRW' + random
|
|
|
+ } else if (this.dataList.taskTypeKey == 4) {
|
|
|
+ var random = this.getdate() + this.MathRand()
|
|
|
+ this.inOutTaskNo = 'TCC' + random
|
|
|
+ this.inOutTaskNo1 = 'TCR' + random
|
|
|
+ }
|
|
|
+ },
|
|
|
+ tasknumber1() {
|
|
|
+ console.log(this.dataList.taskTypeKey)
|
|
|
+ if (this.dataList.taskTypeKey == 1) {
|
|
|
+ this.inOutTaskNo = 'CK' + this.getdate() + this.MathRand()
|
|
|
+ } else if (this.dataList.taskTypeKey == 2) {
|
|
|
+ this.inOutTaskNo1 = 'RK' + this.getdate() + this.MathRand()
|
|
|
+ } else if (this.dataList.taskTypeKey == 3) {
|
|
|
+ var random = this.getdate() + this.MathRand()
|
|
|
+ this.inOutTaskNo = 'YKC' + random
|
|
|
+ this.inOutTaskNo1 = 'YKR' + random
|
|
|
// this.dataList.moveTaskNo = 'YKRW' + random
|
|
|
// this.dataList1.moveTaskNo = 'YKRW' + random
|
|
|
} else if (this.dataList.taskTypeKey == 4) {
|
|
@@ -1771,10 +1789,12 @@
|
|
|
localStorage.removeItem('goodsNameKey')
|
|
|
localStorage.removeItem('weight')
|
|
|
},
|
|
|
- tasktypechange(e) {
|
|
|
+ tasktypechange(e) {debugger
|
|
|
localStorage.setItem('taskTypeKey',e)
|
|
|
+ console.log('localStorage.getItem(\'taskTypeKey\')',localStorage.getItem('taskTypeKey'))
|
|
|
+
|
|
|
if (!this.$route.query.relevanceId) {
|
|
|
- this.tasknumber()
|
|
|
+ this.tasknumber1()
|
|
|
}
|
|
|
this.dataList1.taskTypeKey = e
|
|
|
if (this.dataList.taskTypeKey == 1) {
|
|
@@ -1807,7 +1827,7 @@
|
|
|
var Rand = Math.random()
|
|
|
return Min + Math.round(Rand * Range)
|
|
|
},
|
|
|
- getList() {
|
|
|
+ getList() {debugger
|
|
|
if(localStorage.getItem('taskTypeKey')){
|
|
|
this.dataList.taskTypeKey =localStorage.getItem('taskTypeKey')
|
|
|
}
|