|
@@ -818,6 +818,7 @@ import {
|
|
|
} from "@/api/system/authentication";
|
|
|
import { uploadFileNew } from "@/api/common/file";
|
|
|
import { getToken } from "@/utils/auth";
|
|
|
+import { getRepeatToken } from '@/utils/common';
|
|
|
export default {
|
|
|
name: "GoodsAdd",
|
|
|
data() {
|
|
@@ -959,6 +960,7 @@ export default {
|
|
|
value1: "",
|
|
|
value2: "",
|
|
|
value3: "",
|
|
|
+ repeatToken : getRepeatToken()
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -1502,7 +1504,7 @@ export default {
|
|
|
/** 发送验证码 */
|
|
|
submitForm() {
|
|
|
//点击获取验证码
|
|
|
- const TIME_COUNT = 5; //倒计时60秒
|
|
|
+ const TIME_COUNT = 60; //倒计时60秒
|
|
|
console.log(TIME_COUNT)
|
|
|
if (!this.timer) {
|
|
|
this.count = TIME_COUNT;
|
|
@@ -1563,6 +1565,8 @@ export default {
|
|
|
this.form.frsqsList = this.frsqsList;
|
|
|
this.form.szzssqList = this.szzssqList;
|
|
|
this.form.qtfjList = this.qtfjList;
|
|
|
+ this.form.repeatToken = this.repeatToken;
|
|
|
+
|
|
|
if(this.term){
|
|
|
this.form.scyEndTime="长期";
|
|
|
}
|