|
|
|
@ -72,12 +72,6 @@ |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="productType" label="产品类型"> </el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="productType" |
|
|
|
|
label="产品类型" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="refineryName" |
|
|
|
|
label="炼厂名称" |
|
|
|
@ -109,7 +103,9 @@ |
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
<span class="el-dropdown-link" @click="detail(row)">详情</span> |
|
|
|
|
|
|
|
|
|
<span class="el-dropdown-link" @click="updateCreate(row)">下单</span> |
|
|
|
|
<span class="el-dropdown-link" @click="updateCreate(row)" |
|
|
|
|
>下单</span |
|
|
|
|
> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
@ -248,19 +244,19 @@ export default { |
|
|
|
|
}, |
|
|
|
|
//下单 |
|
|
|
|
createOrder(row) { |
|
|
|
|
this.controlWindows.addInfo = {} |
|
|
|
|
this.controlWindows.addInfo = {}; |
|
|
|
|
this.controlWindows.addInfo.title = "创建订单"; |
|
|
|
|
this.controlWindows.create = true; |
|
|
|
|
console.log(this.controlWindows,'新增') |
|
|
|
|
console.log(this.controlWindows, "新增"); |
|
|
|
|
}, |
|
|
|
|
//修改订单 |
|
|
|
|
updateCreate(row){ |
|
|
|
|
updateCreate(row) { |
|
|
|
|
this.controlWindows.addInfo = { |
|
|
|
|
title: "创建订单", |
|
|
|
|
...row, |
|
|
|
|
}; |
|
|
|
|
this.controlWindows.create = true; |
|
|
|
|
console.log('修改') |
|
|
|
|
title: "创建订单", |
|
|
|
|
...row, |
|
|
|
|
}; |
|
|
|
|
this.controlWindows.create = true; |
|
|
|
|
console.log("修改"); |
|
|
|
|
}, |
|
|
|
|
//详情 |
|
|
|
|
detail(row) { |
|
|
|
|