同步代码
This commit is contained in:
@@ -86,14 +86,14 @@
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['pro:protask:edit']"
|
||||
v-hasPermi="['mes:pro:protask:edit']"
|
||||
>修改</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['pro:protask:remove']"
|
||||
v-hasPermi="['mes:pro:protask:remove']"
|
||||
>删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
icon="el-icon-download"
|
||||
size="mini"
|
||||
@click="handleExport"
|
||||
v-hasPermi="['wm:wmstock:export']"
|
||||
v-hasPermi="['mes:wm:wmstock:export']"
|
||||
>导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
|
||||
@@ -103,6 +103,13 @@
|
||||
name: 'WorkOrderSelectSingle',
|
||||
components: {},
|
||||
dicts: ['mes_order_status','mes_workorder_sourcetype'],
|
||||
props:{
|
||||
workorder: {
|
||||
type: Object,
|
||||
default: function(){
|
||||
return {'workorderType': 'SELF'}
|
||||
}} //外部传入的工单过滤信息
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
showFlag: false,
|
||||
@@ -129,6 +136,7 @@
|
||||
queryParams: {
|
||||
workorderCode: null,
|
||||
workorderName: null,
|
||||
workorderType: this.workorder.workorderType,
|
||||
orderSource: null,
|
||||
sourceCode: null,
|
||||
productId: null,
|
||||
|
||||
Reference in New Issue
Block a user