This commit is contained in:
gyq
2025-10-13 14:37:55 +08:00
parent aa82851361
commit 8e3bc9cc3b
6 changed files with 24 additions and 16999 deletions

View File

@@ -232,7 +232,7 @@ async function submitHandle() {
ElMessage.error("请选择打印设备");
return;
}
Loading.value = true;
loading.value = true;
await printerAdd(form.value, form.value.id ? "put" : "post");
ElMessage.success(form.value.id ? "编辑成功" : "添加成功");
printStore.init();
@@ -240,7 +240,7 @@ async function submitHandle() {
} catch (error) {
console.log(error);
}
Loading.value = false;
loading.value = false;
}
// 查询打印机详情

View File

@@ -195,10 +195,10 @@ async function submitHandle() {
ElMessage.error("请选择商品分类");
return;
}
Loading.value = true;
loading.value = true;
form.value.categoryIds = form.value.categoryList.map(item => item.id)
await printerAdd(form.value, form.value.id ? "put" : "post");
Loading.value = false;
loading.value = false;
ElMessage.success(form.value.id ? "编辑成功" : "添加成功");
printStore.init();
router.back();

View File

@@ -46,7 +46,7 @@
</div>
<el-image :src="codeUrl" style="width: 150px;height: 40px;border-radius: 4px;background-color: #fff;"
fit="contain" @click="captchaAjax" v-loading="codeUrlLoading"
element-loading-spinner="Loading"></el-image>
element-loading-spinner="loading"></el-image>
</div>
</el-form-item>
<!-- <el-form-item>