|
@@ -11,43 +11,38 @@
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
- <el-tab-pane label="未上报" name="first">
|
|
|
|
- <dilTable v-bind.sync="option" ref="table3">
|
|
|
|
- <el-table-column fixed="right" label="操作" align="center" width="200">
|
|
|
|
|
|
+ <!-- 已审批 -->
|
|
|
|
+ <el-tab-pane label="已审批" name="four">
|
|
|
|
+ <dilTable v-bind.sync="option4" ref="table">
|
|
|
|
+ <el-table-column fixed="right" label="操作" width="200">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
- @click="uploadclick(scope.row.saleOrderId)"
|
|
|
|
- type="text"
|
|
|
|
- size="small"
|
|
|
|
- >上传</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- @click="click(scope.row.saleOrderId)"
|
|
|
|
|
|
+ @click="sendClick(scope.row.saleOrderId)"
|
|
type="text"
|
|
type="text"
|
|
size="small"
|
|
size="small"
|
|
- >修改</el-button
|
|
|
|
|
|
+ >派车</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
|
|
+ @click="addClick(scope.row.saleOrderId)"
|
|
type="text"
|
|
type="text"
|
|
size="small"
|
|
size="small"
|
|
- @click="deleteclick(scope.row.saleOrderId)"
|
|
|
|
- >删除</el-button
|
|
|
|
|
|
+ >排车</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
- @click="detailclick3(scope.row)"
|
|
|
|
|
|
+ @click="detailclick(scope.row)"
|
|
type="text"
|
|
type="text"
|
|
size="small"
|
|
size="small"
|
|
>物资详情</el-button
|
|
>物资详情</el-button
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <!-- 物资详情抽屉 -->
|
|
|
|
|
|
+ <!-- 物资详情抽屉 -->
|
|
<el-table-column type="expand" width="1">
|
|
<el-table-column type="expand" width="1">
|
|
<template slot-scope="props">
|
|
<template slot-scope="props">
|
|
<el-form label-position="center" inline class="demo-table-expand">
|
|
<el-form label-position="center" inline class="demo-table-expand">
|
|
<div v-if="false">{{ props }}</div>
|
|
<div v-if="false">{{ props }}</div>
|
|
<div>
|
|
<div>
|
|
- <el-table :data="tableData3" border >
|
|
|
|
|
|
+ <el-table :data="tableData" border >
|
|
<el-table-column
|
|
<el-table-column
|
|
v-for="(item, i) in tableHead"
|
|
v-for="(item, i) in tableHead"
|
|
:key="i"
|
|
:key="i"
|
|
@@ -63,13 +58,31 @@
|
|
|
|
|
|
</dilTable>
|
|
</dilTable>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
- <!-- 已下发 -->
|
|
|
|
- <el-tab-pane label="已上报" name="second">
|
|
|
|
- <dilTable v-bind.sync="option2" ref="table2">
|
|
|
|
- <el-table-column fixed="right" label="操作" width="70">
|
|
|
|
|
|
+ <!-- 未上报 -->
|
|
|
|
+ <el-tab-pane label="未上报" name="first">
|
|
|
|
+ <dilTable v-bind.sync="option" ref="table3">
|
|
|
|
+ <el-table-column fixed="right" label="操作" align="center" width="200">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
- @click="detailclick2(scope.row)"
|
|
|
|
|
|
+ @click="uploadclick(scope.row.saleOrderId)"
|
|
|
|
+ type="text"
|
|
|
|
+ size="small"
|
|
|
|
+ >上传</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ @click="click(scope.row.saleOrderId)"
|
|
|
|
+ type="text"
|
|
|
|
+ size="small"
|
|
|
|
+ >修改</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ type="text"
|
|
|
|
+ size="small"
|
|
|
|
+ @click="deleteclick(scope.row.saleOrderId)"
|
|
|
|
+ >删除</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ @click="detailclick3(scope.row)"
|
|
type="text"
|
|
type="text"
|
|
size="small"
|
|
size="small"
|
|
>物资详情</el-button
|
|
>物资详情</el-button
|
|
@@ -82,7 +95,7 @@
|
|
<el-form label-position="center" inline class="demo-table-expand">
|
|
<el-form label-position="center" inline class="demo-table-expand">
|
|
<div v-if="false">{{ props }}</div>
|
|
<div v-if="false">{{ props }}</div>
|
|
<div>
|
|
<div>
|
|
- <el-table :data="tableData2" border >
|
|
|
|
|
|
+ <el-table :data="tableData3" border >
|
|
<el-table-column
|
|
<el-table-column
|
|
v-for="(item, i) in tableHead"
|
|
v-for="(item, i) in tableHead"
|
|
:key="i"
|
|
:key="i"
|
|
@@ -98,38 +111,26 @@
|
|
|
|
|
|
</dilTable>
|
|
</dilTable>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
- <!-- 已审批 -->
|
|
|
|
- <el-tab-pane label="已审批" name="four">
|
|
|
|
- <dilTable v-bind.sync="option4" ref="table">
|
|
|
|
- <el-table-column fixed="right" label="操作" width="200">
|
|
|
|
|
|
+ <!-- 已下发 -->
|
|
|
|
+ <el-tab-pane label="已上报" name="second">
|
|
|
|
+ <dilTable v-bind.sync="option2" ref="table2">
|
|
|
|
+ <el-table-column fixed="right" label="操作" width="70">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
- @click="sendClick(scope.row.saleOrderId)"
|
|
|
|
- type="text"
|
|
|
|
- size="small"
|
|
|
|
- >派车</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- @click="addClick(scope.row.saleOrderId)"
|
|
|
|
- type="text"
|
|
|
|
- size="small"
|
|
|
|
- >排车</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- @click="detailclick(scope.row)"
|
|
|
|
|
|
+ @click="detailclick2(scope.row)"
|
|
type="text"
|
|
type="text"
|
|
size="small"
|
|
size="small"
|
|
>物资详情</el-button
|
|
>物资详情</el-button
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <!-- 物资详情抽屉 -->
|
|
|
|
|
|
+ <!-- 物资详情抽屉 -->
|
|
<el-table-column type="expand" width="1">
|
|
<el-table-column type="expand" width="1">
|
|
<template slot-scope="props">
|
|
<template slot-scope="props">
|
|
<el-form label-position="center" inline class="demo-table-expand">
|
|
<el-form label-position="center" inline class="demo-table-expand">
|
|
<div v-if="false">{{ props }}</div>
|
|
<div v-if="false">{{ props }}</div>
|
|
<div>
|
|
<div>
|
|
- <el-table :data="tableData" border >
|
|
|
|
|
|
+ <el-table :data="tableData2" border >
|
|
<el-table-column
|
|
<el-table-column
|
|
v-for="(item, i) in tableHead"
|
|
v-for="(item, i) in tableHead"
|
|
:key="i"
|
|
:key="i"
|
|
@@ -145,6 +146,7 @@
|
|
|
|
|
|
</dilTable>
|
|
</dilTable>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
+
|
|
</el-tabs>
|
|
</el-tabs>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -153,7 +155,7 @@ export default {
|
|
name: "saleOrder",
|
|
name: "saleOrder",
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- activeName: "first",
|
|
|
|
|
|
+ activeName: "four",
|
|
input: "",
|
|
input: "",
|
|
option: {
|
|
option: {
|
|
// 表格请求数据的地址
|
|
// 表格请求数据的地址
|