Browse Source

修改首页及菜单,日常打印增加不可连续点击确认按钮

branch_ccpg_220107
songnan.zhang 3 years ago
parent
commit
4e2f28d7f2
  1. 18
      vue/src/router/index.js
  2. 17
      vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue

18
vue/src/router/index.js

@ -86,8 +86,8 @@ export const constantRoutes = [
children: [
{
path: 'dashboard',
//component: () => import('@/views/pg-fis/basedate/m100Online/normalPritIndex.vue'),//fis
component: () => import('@/views/ux/backGroundWork'),
component: () => import('@/views/pg-fis/basedate/m100Online/normalPritIndex.vue'),//fis
//component: () => import('@/views/ux/backGroundWork'),
name: 'Dashboard',
meta: {
title: '系统首页',
@ -170,14 +170,14 @@ export const asyncRoutes = [
/** when your routing map is too long, you can split it into small modules **/
managerRouter,//系统首页
personRouter,//系统管理
basedataRouter,//基础数据维护
vwFisDataRouter,//结算与开票数据导入
billdataRouter,//销售结算与开票报表
//basedataRouter,//基础数据维护
//vwFisDataRouter,//结算与开票数据导入
//billdataRouter,//销售结算与开票报表
//businessdataRouter,
wheeldataRouter,//大众看板和备件
// pgfisPrint,//排序单打印
// pgfis,//派格fis
JobTimeDataRouter,//后台作业监控
//wheeldataRouter,//大众看板和备件
pgfisPrint,//排序单打印
pgfis,//派格fis
//JobTimeDataRouter,//后台作业监控
// 404 page must be placed at the end !!!
{ path: '*', redirect: '/404', hidden: true }

17
vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue

@ -330,6 +330,7 @@
<el-button
v-loading="formLoading"
type="primary"
:disabled="isDisable"
@click="save"
v-debounce="debounceClick"
>确认</el-button
@ -421,6 +422,7 @@ export default {
};
return {
crmType: "M100Online",
isDisable: false,
drawerMBPrint: false,
drawerMBDelete: false,
drawerZHBPrint: false,
@ -1279,7 +1281,10 @@ export default {
this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN);
this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN);
this.hostCheckQuery.productLine = this.listQuery.productLine;
console.log("检查柱护板-hostCheckQuery"+JSON.stringify(this.hostCheckQuery));
console.log(
"检查柱护板-hostCheckQuery" +
JSON.stringify(this.hostCheckQuery)
);
this.$axios
.posts(
"/api/newjit/bill-m100/check-mb-hostsn-break-num",
@ -1287,6 +1292,10 @@ export default {
)
.then((response) => {
console.log("检查门板-大众顺序号是否断号");
this.isDisable = true;
setTimeout(() => {
this.isDisable = false;
}, 1000);
if (response.item.length > 0) {
//
this.$confirm(
@ -1397,7 +1406,7 @@ export default {
});
} else if (this.listQuery.productType === 2) {
//
this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN);
this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN);
this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN);
this.hostCheckQuery.productLine = this.listQuery.productLine;
@ -1408,6 +1417,10 @@ export default {
)
.then((response) => {
console.log("检查门板-大众顺序号是否断号");
this.isDisable = true;
setTimeout(() => {
this.isDisable = false;
}, 1000);
if (response.item.length > 0) {
//
this.$confirm(

Loading…
Cancel
Save