来自单据明细的台账
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
>导出</el-button>
|
||||
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<!-- <el-col :span="1.5">
|
||||
<el-button
|
||||
type="warning"
|
||||
plain
|
||||
@@ -82,7 +82,7 @@
|
||||
@click="goDashboard"
|
||||
|
||||
>订单分析</el-button>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
@@ -94,7 +94,10 @@
|
||||
<el-table-column label="销售经理" align="center" prop="salesManager" />
|
||||
<el-table-column label="订单状态" align="center" prop="orderStatus">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.order_status" :value="scope.row.orderStatus"/>
|
||||
<el-select v-model="scope.row.orderStatus" @change="handleOrderStatusChange(scope.row)">
|
||||
<el-option v-for="item in dict.type.order_status" :key="item.value" :label="item.label" :value="parseInt(item.value)" />
|
||||
</el-select>
|
||||
<!-- <dict-tag :options="dict.type.order_status" :value="scope.row.orderStatus"/> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="备注" align="center" prop="remark" />
|
||||
@@ -120,13 +123,13 @@
|
||||
icon="el-icon-document"
|
||||
@click="showDetail(scope.row)"
|
||||
>明细</el-button>
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-s-operation"
|
||||
@click="showClac(scope.row)"
|
||||
v-if="scope.row.orderStatus === EOrderStatus.NEW"
|
||||
>初次采购推荐</el-button>
|
||||
>初次采购推荐</el-button> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -250,6 +253,13 @@ export default {
|
||||
// this.clacDialogVisible = false;
|
||||
// this.getList();
|
||||
// },
|
||||
handleOrderStatusChange(row) {
|
||||
// console.log(row);
|
||||
updateOrder(row).then(response => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.getList();
|
||||
});
|
||||
},
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false;
|
||||
|
||||
Reference in New Issue
Block a user