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
| <script setup>
| import {reactive, ref} from 'vue'
|
|
| const value = ref('')
| const options = [
| {
| value: 'Option1',
| label: 'Option1',
| },
| {
| value: 'Option2',
| label: 'Option2',
| },
| {
| value: 'Option3',
| label: 'Option3',
| },
| ]
| const form = reactive({
| name: '',
| region: '',
| date1: '',
| date2: '',
| delivery: false,
| type: [],
| resource: '',
| desc: '',
| })
| const tableData = [
| {
| 1: 'NG23121201',
| 2: '12300001110',
| 3: '10mm超白UD60平钢(外)+12Ar(结)+10mm超白平钢(内)',
| 4: '111',
| 5:'钢化',
| 6:'5001011100000110',
| 7:'无尘纸',
| 8:'113',
| 9:'1144',
| 10:'张',
| 11:'11',
| 12:'22',
| 13:'33',
| 14:'44',
| 15:'东莞',
| 16:'2023-12-01',
| 17:'',
|
| },
| ]
| </script>
|
| <template>
| <div>
| <div>
| <div>
| <el-input placeholder="销售单号" style="width: 120px" v-model="form.name"></el-input>
| <el-button type="primary">生成订单BOM</el-button>
| <el-button type="primary">转采购单</el-button>
| <el-button type="primary">审核</el-button>
| <el-button type="primary">反审</el-button>
| <el-button type="primary">删除</el-button>
| <el-button type="primary">修改超领数量</el-button>
|
|
| </div>
|
|
| <el-select v-model="value" class="m-2" placeholder="产品种类">
| <el-option
| v-for="item in options"
| :key="item.value"
| :label="item.label"
| :value="item.value"
| />
| </el-select>
| <el-select v-model="value" class="m-2" placeholder="领料工序">
| <el-option
| v-for="item in options"
| :key="item.value"
| :label="item.label"
| :value="item.value"
| />
| </el-select>
|
| <el-input placeholder="物料编码" style="width: 200px"></el-input>
| <el-input placeholder="物料名称" style="width: 200px"></el-input>
| <el-input placeholder="需求数量" style="width: 200px"></el-input>
| <el-button type="primary">添加</el-button>
| </div>
| <div>
| <el-table :data="tableData" border style="width: 100%" height="100%">
| <el-table-column prop="1" label="销售单号" :show-overflow-tooltip='true' width="120" />
| <el-table-column prop="2" label="产品编号" :show-overflow-tooltip='true' width="130" />
| <el-table-column prop="3" label="产品名称" :show-overflow-tooltip='true' width="155" />
| <el-table-column prop="4" label="工单数量" width="85" />
| <el-table-column prop="5" label="领料工序" width="85" />
| <el-table-column prop="6" label="物料编码" :show-overflow-tooltip='true' width="125" />
| <el-table-column prop="7" label="物料名称" :show-overflow-tooltip='true' width="135" />
| <el-table-column prop="8" label="宽" width="60" />
| <el-table-column prop="9" label="高" width="60" />
| <el-table-column prop="10" label="单位" width="70" />
| <el-table-column prop="11" label="物料数量" width="85" />
| <el-table-column prop="12" label="库存数量" width="85" />
| <el-table-column prop="13" label="库存数-需求数" width="120" />
| <el-table-column prop="14" label="采购数量" width="85" />
| <el-table-column prop="15" label="产地" width="70" />
| <el-table-column prop="16" label="计划到货时间" width="120" />
| <el-table-column prop="17" label="备注" :show-overflow-tooltip='true' width="120" />
|
| </el-table>
| </div>
| </div>
| </template>
|
| <style scoped>
|
| </style>
|
|