projects/mesxc-dy #318

Слито
juzi слито 2 коммит(ов) из projects/mesxc-dy в projects/mesxc-test 2024-04-09 08:18:02 +08:00
7 изменённых файлов: 35 добавлений и 17 удалений

Просмотреть файл

@ -1,7 +1,7 @@
###
# @Author: Do not edit
# @Date: 2023-08-29 09:40:39
# @LastEditTime: 2024-04-03 11:22:19
# @LastEditTime: 2024-04-08 16:46:49
# @LastEditors: DY
# @Description:
###

Просмотреть файл

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: DY
* @LastEditTime: 2024-03-22 08:53:20
* @LastEditTime: 2024-04-08 10:21:46
* @Description:
-->
<template>
@ -214,7 +214,9 @@ export default {
actualQuantity: this.dataForm.actualQuantity
}).then(response => {
this.$modal.msgSuccess("操作成功!工单状态稍后将会更新!");
this.saveData(tempList)
if (tempList.length > 0) {
this.saveData(tempList)
}
this.visible = false;
this.$emit("refreshDataList");
});

Просмотреть файл

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: DY
* @LastEditTime: 2024-03-21 16:52:46
* @LastEditTime: 2024-04-08 14:27:29
* @Description:
-->
<template>
@ -182,7 +182,8 @@
:table-props="tableProps"
:page="listQuery.pageNo"
:limit="listQuery.pageSize"
:table-data="orderList">
:table-data="orderList"
:max-height="tableH">
<method-btn
v-if="!isdetail"
slot="handleBtn"
@ -209,7 +210,8 @@
:table-props="tableProps1"
:page="listQuery1.pageNo"
:limit="listQuery1.pageSize"
:table-data="materialList" />
:table-data="materialList"
:max-height="tableH" />
<!-- <pagination
v-show="listQuery1.total > 0"
:total="listQuery1.total"
@ -235,6 +237,7 @@ import SmallTitle from './SmallTitle';
import { publicFormatter } from "@/utils/dict";
import { parseTime } from '@/utils/ruoyi'
import topTabVue from '../../order/base/orderManage/components/topTab.vue';
import tableHeightMixin from '@/mixins/lb/tableHeightMixin';
const tableBtn = [
{
@ -292,9 +295,11 @@ const tableProps1 = [
];
export default {
mixins: [tableHeightMixin],
components: { SmallTitle, topTabVue },
data() {
return {
heightNum: 380,
tableBtn,
tableProps,
tableProps1,
@ -455,7 +460,7 @@ export default {
// this.listQuery.total = response.data.total;
});
// 使
console.log()
console.log('111我看看', this.dataForm.materialMethod)
if (this.dataForm.id) {
if (this.dataForm.materialMethod === 1) {
//

Просмотреть файл

@ -9,7 +9,8 @@
:table-props="tableProps"
:page="listQuery.pageNo"
:limit="listQuery.pageSize"
:table-data="tableData">
:table-data="tableData"
:max-height="tableH">
<method-btn
v-if="tableBtn.length"
slot="handleBtn"
@ -62,7 +63,7 @@ import {
getCoreWOList
} from '@/api/base/coreWorkOrder';
import { publicFormatter } from '@/utils/dict';
import tableHeightMixin from '@/mixins/lb/tableHeightMixin';
const tableProps = [
{
@ -132,7 +133,7 @@ const tableProps = [
];
export default {
mixins: [basicPage],
mixins: [basicPage, tableHeightMixin],
components: {
AddWorkOrder,
AddOrUpdate,

Просмотреть файл

@ -104,21 +104,27 @@ export default {
type: 'separate',
},
{
type: 'button',
type: this.$auth.hasPermi('equipment:inspection-confirm:create')
? 'button'
: '',
btnName: '新增',
name: 'add',
plain: true,
color: 'success',
},
{
type: 'button',
type: this.$auth.hasPermi('equipment:inspection-confirm:confirm')
? 'button'
: '',
btnName: '批量确认',
name: 'batchConfirm',
color: 'primary',
plain: true,
},
{
type: 'button',
type: this.$auth.hasPermi('equipment:inspection-confirm:export')
? 'button'
: '',
btnName: '导出',
name: 'export',
plain: true,

Просмотреть файл

@ -160,21 +160,25 @@ export default {
type: 'separate',
},
{
type: 'button',
type: this.$auth.hasPermi('equipment:maintain-confirm:create')
? 'button'
: '',
btnName: '新增',
name: 'add',
plain: true,
color: 'success',
},
{
type: 'button',
type: this.$auth.hasPermi('equipment:maintain-confirm:confirm')
? 'button'
: '',
btnName: '批量确认',
name: 'batchConfirm',
color: 'primary',
plain: true,
},
{
type: this.$auth.hasPermi('equipment:maintain-record:export')
type: this.$auth.hasPermi('equipment:maintain-confirm:export')
? 'button'
: '',
btnName: '导出',

Просмотреть файл

@ -193,7 +193,7 @@ export default {
type: 'separate',
},
{
type: this.$auth.hasPermi('base:quality-inspection-type:export')
type: this.$auth.hasPermi('equipment:maintain-monitor:export')
? 'button'
: '',
btnName: '导出',