zouyu
2023-11-29 138bb761fd3db288abc233c2e21d98c82197d035
Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
已修改2个文件
176 ■■■■■ 文件已修改
src/views/quality/package/index.vue 172 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/warehouse/pallettransports/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/package/index.vue
@@ -1,13 +1,171 @@
<template>
  <div>包装检验</div>
  <div class="mod-config">
      <basic-container>
      <ttable
      :table="table"
      :isShowHide="true"
      :prelang="prelang"
      :options="options"
      ref="processconfiguration"
      >
      <template #toolbar></template>
      </ttable>
      </basic-container>
  </div>
</template>
<script>
import ttable from '@/views/common/ztt-table.vue'
export default {
  data(){
      return {
          prelang: 'operation',
          dataListLoading: false,
          options: {
              height: 300, // 默认高度-为了表头固定
              stripe: true, // 是否为斑马纹 table
              highlightCurrentRow: false, // 是否要高亮当前行
              border: true, // 是否有纵向边框
              lazy: false, // 是否需要懒加载
              fit: true, // 列的宽度是否自撑开
              multiSelect: true, //
              seqNo: true,
              isShowHide: true, // 是否显示显影按钮
              isRefresh: true, // 是否显示刷新按钮
              isSearch: true, // 高级查询按钮
              defaultOrderBy: { column: 'createTime', direction: 'desc' }
          },
          table: {
              total: 0,
              currentPage: 1,
              pageSize: 20,
              data: [],
              // 标题
              column: [
                {
                  minWidth: '140',
                  prop: 'material',
                  label: '订单编码',
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'text',
                },
                {
                  minWidth: '140',
                  prop: 'type',
                  label: '产品名称',
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'text',
                },{
                  minWidth: '140',
                  prop: 'oo',
                  label: '产品型号',
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'text',
                },{
                  minWidth: '140',
                  prop: 'materhhooial',
                  label: '质量追溯号',
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'text',
                },
                {
                  minWidth: '140',
                  prop: 'mateuurial',
                  label: '客户名称',
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'text',
                },
                {
                  minWidth: '140',
                  prop: 'materoiial',
                  label: '工艺文件编号',
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'text',
                },
                {
                  minWidth: '140',
                  prop: 'matperoial',
                  label: '库位号',
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'text',
                },
                {
                  minWidth: '140',
                  prop: 'materpial',
                  label: '产品名称',
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'text',
                },
                {
                  minWidth: '130',
                  width: '150',
                  prop: 'dealTime',
                  label: '审核时间',
                  sort: true,
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'datetimerange',
                  // formatter: this.formatDateTime,
              },
              {
                  minWidth: '140',
                  prop: 'maial',
                  label: '数量',
                  isTrue: true,
                  isSearch: true,
                  searchInfoType: 'text',
                },
              ],
              operator: [{
                        text: '打印',
                        type: 'text',
                        size: 'small',
                        fun: this.showPrint,
                        show: {
                            val: [
                                '1',
                                '0'
                            ],
                            key: 'result'
                        }
                    },{
                        text: '作废',
                        type: 'text',
                        size: 'small',
                        fun: this.deleteHandle
                    }],
                    operatorConfig: {
                    fixed: 'right',
                    label: '操作',
                    width: 100,
                    minWidth: 100
                    },
              toolbar: [
                {
                  text: '获取IFS成品库',
                  type: 'primary',
                  // fun: this.addOrUpdateHandle
                },
              ],
              // operator: [],
              // operatorConfig: {}
          },
     }
  },
  medthods: {},
//     computed: {
//     ...mapGetters(['permissions'])
//   },
  components: {
  ttable
  },
}
</script>
<style>
</style>
</script>
src/views/warehouse/pallettransports/index.vue
@@ -599,8 +599,8 @@
              // this.getPalletTransportsMaterialData()
              this.palletTransportsMaterialSelectionChange(selectionList)
            })
            .catch(() => {
            })
            // .catch(() => {
            // })
        }
    },
    // 添加ifs物料库存回调