src/views/business/inspectionTask/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/business/materialOrder/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/business/productOrder/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/business/rawMaterialInspection/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/business/inspectionTask/index.vue
@@ -428,9 +428,7 @@ this.editInspection(row); }, disabled: (row) => { return ( row.userName == null || row.insState == 3 || row.insState == 5 ); return (row.userName == null || row.insState == 3 || row.insState == 5) && this.checkPermi(['update:product:onPlan']) }, }, { src/views/business/materialOrder/index.vue
@@ -59,9 +59,11 @@ <div class="table-tab"> <div> <ul class="tab"> <li v-for="(m, i) in tabList" :key="m.value" :class="{ active: m.value === tabIndex }" @click="handleTab(m)"> {{ m.label }}</li> <li :class="{ active: tabIndex === 0 }" @click="handleTab(0)">待下单</li> <li :class="{ active: tabIndex === 1 }" @click="handleTab(1)">检验中</li> <li :class="{ active: tabIndex === 2 }" @click="handleTab(2)">已检验</li> <li :class="{ active: tabIndex === 4 }" @click="handleTab(4)">季度检验</li> <li :class="{ active: tabIndex === 3 }" v-if="checkPermi(['get:Ifs:ByAll'])" @click="handleTab(3)">全部</li> </ul> </div> <div> @@ -1228,7 +1230,7 @@ }, // 切换下单tab表格 handleTab(m) { this.tabIndex = m.value; this.tabIndex = m; this.refreshTable() }, // 表格选择方法 src/views/business/productOrder/index.vue
@@ -46,8 +46,13 @@ <div class="table-tab"> <div> <ul class="tab"> <li v-for="(m, i) in tabList" :key="i + 'afgh'" :class="{ active: i == tabIndex }" @click="handleTab(m, i)">{{ m.label }} </li> <li :class="{ active: tabIndex === 0 }" v-if="checkPermi(['get:insOrder:reviewed'])" @click="handleTab(0)">待审核</li> <li :class="{ active: tabIndex === 1 }" v-if="checkPermi(['get:insOrder:checkout'])" @click="handleTab(1)">检验中</li> <li :class="{ active: tabIndex === 2 }" v-if="checkPermi(['get:insOrder:customerOrdered'])" @click="handleTab(2)">委托已检</li> <li :class="{ active: tabIndex === 3 }" v-if="checkPermi(['get:insOrder:spotCheck'])" @click="handleTab(3)">抽样已检</li> <li :class="{ active: tabIndex === 4 }" v-if="checkPermi(['get:insOrder:sendBack'])" @click="handleTab(4)">退回</li> <li :class="{ active: tabIndex === 5 }" v-if="checkPermi(['get:insOrder:revocation'])" @click="handleTab(5)">撤销</li> <li :class="{ active: tabIndex === 6 }" v-if="checkPermi(['get:insOrder:all'])" @click="handleTab(6)">全部</li> </ul> </div> <div> @@ -55,7 +60,7 @@ @click="downLoad">导出</el-button> <el-button v-if="tabIndex === 1" size="small" type="primary" @click="openAddIns">添加检验项</el-button> <el-button size="small" type="primary" @click="openPrint">标签打印</el-button> <el-button size="small" type="primary" @click="playOrder(1)">下单</el-button> <el-button v-if="checkPermi(['add:insOrder'])" size="small" type="primary" @click="playOrder(1)">下单</el-button> </div> </div> <div class="table"> @@ -168,8 +173,7 @@ <span slot="footer" class="dialog-footer"> <el-row> <el-button @click="handleNo">{{ deleteTilte == '撤销' ? '取 消' : '不通过' }}</el-button> <el-button :loading="printLoading" type="primary" @click="submitDelete">{{ deleteTilte == '撤销' ? '确 定' : '通 过'}}</el-button> <el-button :loading="printLoading" type="primary" @click="submitDelete">{{ deleteTilte == '撤销' ? '确 定' : '通过'}}</el-button> </el-row> </span> </el-dialog> @@ -1176,7 +1180,7 @@ handleVerify(row) { this.$router.push({ path: "/productOrder/add", query: { examine: 1, active: 3, currentId: row.id } }); }, handleTab(m, i) { handleTab(i) { this.tabIndex = i; this.refreshTable() }, src/views/business/rawMaterialInspection/index.vue
@@ -54,8 +54,10 @@ <div class="table-tab"> <div> <ul class="tab"> <li v-for="m in tabList" :key="m.value" :class="{ active: m.value === tabIndex }" @click="handleTab(m)"> {{ m.label }}</li> <li :class="{ active: tabIndex === 0 }" @click="handleTab(0)">待报检</li> <li :class="{ active: tabIndex === 1 }" @click="handleTab(1)">待下单</li> <li :class="{ active: tabIndex === 3 }" @click="handleTab(3)">已完成</li> <li :class="{ active: tabIndex === 4 }" v-if="checkPermi(['get:Ifs:ByAll'])" @click="handleTab(4)">全部</li> </ul> </div> <div> @@ -525,7 +527,7 @@ methods: { // 切换tab表格 handleTab(m) { this.tabIndex = m.value; this.tabIndex = m; this.refreshTable() }, // 查询回调