zhangyong
2024-02-23 9bd345bcd04bd59700cbf397e1a2aeeee8797f55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<script lang="ts" setup>
import {ref} from "vue";
import { reactive } from 'vue'
import {ArrowLeftBold} from "@element-plus/icons-vue";
import {useRouter} from "vue-router";
const router = useRouter()
let flag = $ref(true)
function intoCreateProduct(){
  if(flag){
    router.push('/main/processCard/SelectProcessCard')
  }else {
    router.push('/main/processCard/SelectProcessCard')
  }
  flag=!flag
}
// do not use same name with ref
const form = reactive({
  name: '',
  region: '',
  date1: '',
  date2: '',
  delivery: false,
  type: [],
  resource: '',
  desc: '',
})
const tableData = [
  {
    salesOrderNo: 'NG231207',
    productionOrderNo: 'NG231207A',
    processCard: 'NG231207A01',
    entryName: '信合春天里',
    total: '169',
    TotalArea: '175.31',
    productID:"9001010203000008",
    productName: '5mm白玻平钢(外)+0.76PVB透明+5mm白玻平钢(内)',
    Divider: 'xxx',
    splittingTime: '2023-01-01',
    notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
  },
  {
    salesOrderNo: 'NG231207',
    productionOrderNo: 'NG231207A',
    processCard: 'NG231207A02',
    entryName: '信合春天里',
    total: '169',
    TotalArea: '175.31',
    productID:"9001010203000008",
    productName: '5mm白玻平钢(外)+0.76PVB透明+5mm白玻平钢(内)',
    Divider: 'xxx',
    splittingTime: '2023-01-01',
    notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
  },
  {
    salesOrderNo: 'NG231207',
    productionOrderNo: 'NG231207A',
    processCard: 'NG231207A03',
    entryName: '信合春天里',
    total: '169',
    TotalArea: '175.31',
    productID:"9001010203000008",
    productName: '5mm白玻平钢(外)+0.76PVB透明+5mm白玻平钢(内)',
    Divider: 'xxx',
    splittingTime: '2023-01-01',
    notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
  },
  {
    salesOrderNo: 'NG231207',
    productionOrderNo: 'NG231207A',
    processCard: 'NG231207A04',
    entryName: '信合春天里',
    total: '169',
    TotalArea: '175.31',
    productID:"9001010203000008",
    productName: '5mm白玻平钢(外)+0.76PVB透明+5mm白玻平钢(内)',
    Divider: 'xxx',
    splittingTime: '2023-01-01',
    notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
  },
  {
    salesOrderNo: 'NG231207',
    productionOrderNo: 'NG231207B',
    processCard: 'NG231207B01',
    entryName: '信合春天里',
    total: '169',
    TotalArea: '175.31',
    productID:"9001010203000008",
    productName: '5mm白玻平钢(外)+0.76PVB透明+5mm白玻平钢(内)',
    Divider: 'xxx',
    splittingTime: '2023-01-01',
    notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
  },
  {
    salesOrderNo: 'NG231207',
    productionOrderNo: 'NG231207B',
    processCard: 'NG231207B02',
    entryName: '信合春天里',
    total: '169',
    TotalArea: '175.31',
    productID:"9001010203000008",
    productName: '5mm白玻平钢(外)+0.76PVB透明+5mm白玻平钢(内)',
    Divider: 'xxx',
    splittingTime: '2023-01-01',
    notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
  },
]
</script>
 
<template>
  <div>
    <el-button
        style="float: left"
        @click="intoCreateProduct"
        id="searchButton1"
        type="primary"
        :icon="ArrowLeftBold"
        round >
      {{flag?'返回':'返回'}}
    </el-button>
    <el-table :data="tableData" border style="width: 100%" height="100%">
      <el-table-column fixed label="操作" width="100"  >
        <el-button link type="primary" size="small">关闭</el-button>
        <el-button link type="primary" size="small">修改</el-button>
      </el-table-column>
      <el-table-column sortable prop="salesOrderNo" label="销售单号" width="110" />
      <el-table-column prop="productionOrderNo" label="生产订单号" width="125" />
      <el-table-column prop="processCard" label="流程卡号" width="125" />
      <el-table-column prop="entryName" label="项目名称" width="155" />
      <el-table-column prop="total" label="总数量" width="80" />
      <el-table-column prop="dowTotal" label="禁用数量" width="90">
        <el-input></el-input>
      </el-table-column>
      <el-table-column prop="TotalArea" label="总面积" width="80" />
      <el-table-column prop="productID" label="产品编号" width="155" />
      <el-table-column prop="productName" label="产品名称" :show-overflow-tooltip='true' width="180" />
      <el-table-column prop="divider" label="分架员" width="70" />
      <el-table-column prop="splittingTime" label="分架时间" width="100" />
      <el-table-column prop="notes" label="备注" :show-overflow-tooltip='true' width="350" />
    </el-table><!-- <h1>{{msg}}</h1> -->
  </div>
</template>
 
<style scoped>
 
 
</style>