|
@@ -81,7 +81,7 @@
|
|
|
{{ item.specification }}
|
|
{{ item.specification }}
|
|
|
</td>
|
|
</td>
|
|
|
<td style="padding: 5px"> {{ item.model }}</td>
|
|
<td style="padding: 5px"> {{ item.model }}</td>
|
|
|
- <td style="padding: 5px"> {{ item.colorKey.join(',') }}</td>
|
|
|
|
|
|
|
+ <td style="padding: 5px"> {{ item.colorKey }}</td>
|
|
|
<td style="padding: 5px"> {{ item.measuringUnit }}</td>
|
|
<td style="padding: 5px"> {{ item.measuringUnit }}</td>
|
|
|
<td style="padding: 5px"> {{ item.contractNum }}</td>
|
|
<td style="padding: 5px"> {{ item.contractNum }}</td>
|
|
|
<!-- <td style="padding: 5px"> {{ item.totalCount }}</td>
|
|
<!-- <td style="padding: 5px"> {{ item.totalCount }}</td>
|
|
@@ -116,16 +116,18 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
- import { getOrderDetail, getSalesDetail, enterprisePage } from '@/api/saleOrder';
|
|
|
|
|
|
|
+ import {
|
|
|
|
|
+ getOrderDetail,
|
|
|
|
|
+ getSalesDetail,
|
|
|
|
|
+ enterprisePage
|
|
|
|
|
+ } from '@/api/saleOrder';
|
|
|
import { mapGetters } from 'vuex';
|
|
import { mapGetters } from 'vuex';
|
|
|
export default {
|
|
export default {
|
|
|
name: 'print',
|
|
name: 'print',
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapGetters(['user'])
|
|
...mapGetters(['user'])
|
|
|
},
|
|
},
|
|
|
- props: {
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ props: {},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
checked: '',
|
|
checked: '',
|
|
@@ -141,13 +143,13 @@
|
|
|
async open(row) {
|
|
async open(row) {
|
|
|
this.row = row;
|
|
this.row = row;
|
|
|
enterprisePage({
|
|
enterprisePage({
|
|
|
- pageNum: 1,
|
|
|
|
|
- size: 200
|
|
|
|
|
- }).then((res) => {
|
|
|
|
|
- if (res.list?.length > 0) {
|
|
|
|
|
- this.groupName = res.list[0].name;
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ size: 200
|
|
|
|
|
+ }).then((res) => {
|
|
|
|
|
+ if (res.list?.length > 0) {
|
|
|
|
|
+ this.groupName = res.list[0].name;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
this.formData = await getOrderDetail(row.code);
|
|
this.formData = await getOrderDetail(row.code);
|
|
|
this.detail = await getSalesDetail(row.id);
|
|
this.detail = await getSalesDetail(row.id);
|
|
|
console.log('formData~~~', this.formData, this.detail);
|
|
console.log('formData~~~', this.formData, this.detail);
|