|
@@ -272,8 +272,24 @@ export default {
|
|
|
// 提交分类表单
|
|
|
getDialogSubmit() {
|
|
|
var iccid = this.dialogData.iccid;
|
|
|
+ console.log("sdafdsfwerqrwqr==00==" + iccid);
|
|
|
+ if (iccid == null || iccid == "") {
|
|
|
+ this.$message.success("ICCID号不能为空");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
var activityId = this.dialogData.activityId;
|
|
|
+ if (activityId == null || activityId == "") {
|
|
|
+ this.$message.success("关联活动ID不能为空");
|
|
|
+ return;
|
|
|
+ }
|
|
|
var deviceId = this.dialogData.deviceId;
|
|
|
+ if (deviceId == null || deviceId == "") {
|
|
|
+ this.$message.success("设备型号不能为空");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
var param = {
|
|
|
iccid: iccid,
|
|
|
activityId: activityId,
|
|
@@ -282,7 +298,6 @@ export default {
|
|
|
|
|
|
doExchange(param).then((res) => {
|
|
|
// 89860624650085884202
|
|
|
- console.log("操作结果=" + JSON.stringify(param));
|
|
|
if (res.code === 0) {
|
|
|
this.dialogVisible = false;
|
|
|
this.dialogData = {};
|