clll
2023-12-15 68e28b5e14ba2de103921aa1ab10f6df7b445ae9
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
<script setup>
  import {Search} from "@element-plus/icons-vue"
  import {useRouter} from "vue-router"
  const router = useRouter()
 
  let orderList = $ref([
    {
      '1':'NG23120701',
      '2':'1',
      '3':'中山市云镜家居有限公司',
      '4':'大板镜',
      '5':'一批1',
      '6':'999999.99',
      '7':'99999',
      '8':'99999.99',
      '9':'99999.99',
      '10':'2023-12-07',
      '11':'装箱',
      '12':'普通订单',
      '13':'张三',
      '14':'第二批',
      '15':'2023-12-30',
    }
  ])
  let listName = $ref([
      '下单','工艺','审核','生产','交接','下达','入库','发货'
  ])
 
  function openCraft(){
    router.push({name:'updateOrderCraft'})
  }
</script>
 
<template>
  <div >
    <el-date-picker
        v-model="value1"
        type="daterange"
        start-placeholder="开始时间"
        end-placeholder="结束时间"
    />
    <el-button style="margin-top: -5px"  id="searchButton" type="primary" :icon="Search">查询</el-button>
    <el-table
        :data="orderList"
        :header-cell-style="{ 'text-align': 'center' }"
        :cell-style="{ 'text-align': 'center' }"
        lazy
        border
        style="width: 99%;"
        max-height="80vh">
      <el-table-column type="expand" fixed>
        <template #default="props" >
          <div m="4">
 
            <p m="t-0 b-2">编号: {{ props.row.prodID }}</p>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="操作" fixed width="110"  >
<!--        <el-button @click="openCraft" link type="primary" size="small">工艺</el-button>-->
<!--        审核与工艺都在同一个按钮-->
        <el-button link type="primary" size="small">编辑</el-button>
        <el-button link type="primary" size="small">删除</el-button>
<!--订单审核后不能删除只能作废-->
      </el-table-column>
      <el-table-column   label="序号" width="40"  />
 
      <el-table-column v-for="item in listName" prop="" :label="item" width="40"   >
<!--        <el-table-column prop="1" >-->
<!--          <template #header>-->
<!--            <el-button type="primary" size="small" style="width: 10px;height: 10px"></el-button>-->
<!--          </template>-->
 
<!--          <el-checkbox checked/>-->
<!--        </el-table-column>-->
        <el-checkbox checked/>
 
      </el-table-column>
 
      <el-table-column  prop="1" width="110" label="销售单号"    />
 
      <el-table-column  prop="2" width="55" label="客户编号"    />
 
      <el-table-column  prop="3" width="120" label="客户名称"    />
 
      <el-table-column  prop="4" width="120" label="项目名称"   />
 
      <el-table-column  prop="5" label="批次"     />
 
      <el-table-column  prop="6" width="100" label="总金额"     />
 
      <el-table-column  prop="7" label="数量"     />
 
      <el-table-column  prop="8" width="100" label="结算面积"    />
 
      <el-table-column  prop="9" width="100" label="实际面积"    />
 
      <el-table-column  prop="10" width="100" label="报表日期" />
 
      <el-table-column  prop="11" width="100" label="包装方式" />
 
      <el-table-column  prop="12" width="100" label="订单类型" />
 
      <el-table-column  prop="13" label="业务员" />
 
      <el-table-column  prop="14" width="100" label="客户批次" />
 
      <el-table-column  prop="15" width="100" label="交货日期" />
 
 
 
    </el-table>
  </div>
</template>
 
<style scoped>
:deep(.el-table .el-input__wrapper) {
  box-shadow: 0 0 0 0px var(--el-input-border-color, var(--el-border-color)) inset;
  cursor: default;
  border: none !important;
  background-color: transparent;
 
}
</style>