|
@@ -127,26 +127,27 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="seller" label="操作" width="300">
|
|
|
<template slot-scope="scope">
|
|
|
- <ws-button class="completed" @click="nocomplete(scope.row)">
|
|
|
+ <div
|
|
|
+ class="record"
|
|
|
+ @click="nocomplete(scope.row)"
|
|
|
+
|
|
|
+ >
|
|
|
查看
|
|
|
- </ws-button>
|
|
|
- <ws-button class="putstorage" @click="warehousing(scope.row)">
|
|
|
- 派车
|
|
|
- </ws-button>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="adjustment"
|
|
|
+ @click="warehousing(scope.row)"
|
|
|
+ >
|
|
|
+ 派车
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column prop="address" label="操作" width="200">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div class="record" @click="record(scope.row)">记录</div>
|
|
|
- <div class="adjustment" @click="loss(scope.row)">盘损</div>
|
|
|
- </template>
|
|
|
- </el-table-column> -->
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { automobileList } from '@/model/transport/index'
|
|
|
+import { automobileList,alsostate } from '@/model/transport/index'
|
|
|
import { downloadFile } from '@/utils/batchDown'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
import WsUpload from '@/components/WsUpload'
|
|
@@ -339,7 +340,7 @@ export default {
|
|
|
type: 'warning',
|
|
|
})
|
|
|
.then(() => {
|
|
|
- editstatus({ id: row.id })
|
|
|
+ alsostate({ id: row.id })
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
this.$notify.success({
|
|
@@ -451,10 +452,45 @@ export default {
|
|
|
border-top-right-radius: 0px;
|
|
|
border-bottom-right-radius: 0px;
|
|
|
}
|
|
|
-.completed.el-button--default {
|
|
|
- border-color: #5878e8;
|
|
|
- background-color: #f6f7fc;
|
|
|
+//操作按钮
|
|
|
+.record,
|
|
|
+.adjustment {
|
|
|
+ display: inline-block;
|
|
|
color: #5878e8;
|
|
|
+ padding: 0 4px !important;
|
|
|
+ position: relative;
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+.record:after {
|
|
|
+ position: absolute;
|
|
|
+ content: '';
|
|
|
+ display: block;
|
|
|
+ top: 5px;
|
|
|
+ right: -2px;
|
|
|
+ width: 1px;
|
|
|
+ height: 12px;
|
|
|
+ background: #e9ecf7;
|
|
|
+}
|
|
|
+//状态样式
|
|
|
+.executory,
|
|
|
+.inExecution,
|
|
|
+.done {
|
|
|
+ width: 6px;
|
|
|
+ height: 6px;
|
|
|
+ display: inline-block;
|
|
|
+ border-radius: 50%;
|
|
|
+ position: relative;
|
|
|
+ top: -1px;
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+.executory {
|
|
|
+ background: #ff9f24;
|
|
|
+}
|
|
|
+.inExecution {
|
|
|
+ background: #5878e8;
|
|
|
+}
|
|
|
+.done {
|
|
|
+ background: #50cad4;
|
|
|
}
|
|
|
.putstorage.el-button--default,
|
|
|
.deliverystorage.el-button--default {
|