|
@@ -8,7 +8,7 @@
|
|
|
:activeName="activeName"
|
|
:activeName="activeName"
|
|
|
>
|
|
>
|
|
|
</order-search>
|
|
</order-search>
|
|
|
- <el-tabs v-model="activeName" type="card" >
|
|
|
|
|
|
|
+ <el-tabs v-model="activeName" type="card">
|
|
|
<el-tab-pane label="待排产" name="first"></el-tab-pane>
|
|
<el-tab-pane label="待排产" name="first"></el-tab-pane>
|
|
|
<el-tab-pane label="已排产" name="second"></el-tab-pane>
|
|
<el-tab-pane label="已排产" name="second"></el-tab-pane>
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
@@ -62,7 +62,7 @@
|
|
|
<template v-slot:action="{ row }">
|
|
<template v-slot:action="{ row }">
|
|
|
<template>
|
|
<template>
|
|
|
<el-link
|
|
<el-link
|
|
|
- v-if="row.orderSource != 1 && row.activeName == 'first'"
|
|
|
|
|
|
|
+ v-if="row.orderSource != 1 && activeName == 'first'"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
:underline="false"
|
|
:underline="false"
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
@@ -72,7 +72,7 @@
|
|
|
</el-link>
|
|
</el-link>
|
|
|
|
|
|
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
|
- v-if="row.orderSource != 1 && row.activeName == 'first'"
|
|
|
|
|
|
|
+ v-if="row.orderSource != 1 && activeName == 'first'"
|
|
|
class="ele-action"
|
|
class="ele-action"
|
|
|
title="确定要删除此销售订单吗?"
|
|
title="确定要删除此销售订单吗?"
|
|
|
@confirm="remove(row)"
|
|
@confirm="remove(row)"
|
|
@@ -107,7 +107,7 @@
|
|
|
} from '@/api/saleOrder';
|
|
} from '@/api/saleOrder';
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
import { debounce } from 'lodash';
|
|
import { debounce } from 'lodash';
|
|
|
-import { Alert } from 'element-ui';
|
|
|
|
|
|
|
+ import { Alert } from 'element-ui';
|
|
|
export default {
|
|
export default {
|
|
|
name: 'saleOrder',
|
|
name: 'saleOrder',
|
|
|
mixins: [dictMixins],
|
|
mixins: [dictMixins],
|
|
@@ -204,8 +204,7 @@ import { Alert } from 'element-ui';
|
|
|
prop: 'model',
|
|
prop: 'model',
|
|
|
label: '型号',
|
|
label: '型号',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- minWidth: 120,
|
|
|
|
|
-
|
|
|
|
|
|
|
+ minWidth: 120
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'priority',
|
|
prop: 'priority',
|
|
@@ -372,7 +371,6 @@ import { Alert } from 'element-ui';
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
/* 表格数据源 */
|
|
/* 表格数据源 */
|
|
|
async datasource({ page, limit, where, order }) {
|
|
async datasource({ page, limit, where, order }) {
|
|
|
if (this.activeName == 'first') {
|
|
if (this.activeName == 'first') {
|