|
@@ -261,6 +261,17 @@
|
|
|
>
|
|
>
|
|
|
催单
|
|
催单
|
|
|
</el-link>
|
|
</el-link>
|
|
|
|
|
+ <el-link
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ :underline="false"
|
|
|
|
|
+ @click="finish('single', row)"
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ [2].includes(row.orderStatus) &&
|
|
|
|
|
+ row.progress != 1000
|
|
|
|
|
+ "
|
|
|
|
|
+ >
|
|
|
|
|
+ 完结
|
|
|
|
|
+ </el-link>
|
|
|
<!-- <el-link
|
|
<!-- <el-link
|
|
|
type="primary"
|
|
type="primary"
|
|
|
:underline="false"
|
|
:underline="false"
|
|
@@ -439,7 +450,8 @@ import {
|
|
|
getByRepeatBomAttribute,
|
|
getByRepeatBomAttribute,
|
|
|
saveOrderBomList,
|
|
saveOrderBomList,
|
|
|
updateOrderInfo,
|
|
updateOrderInfo,
|
|
|
- saleOrderAdd
|
|
|
|
|
|
|
+ saleOrderAdd,
|
|
|
|
|
+ batchCompleted
|
|
|
} from '@/api/saleManage/saleorder';
|
|
} from '@/api/saleManage/saleorder';
|
|
|
import { getToDoReminder } from '@/api/common/index';
|
|
import { getToDoReminder } from '@/api/common/index';
|
|
|
import { exportSaleorder } from '@/api/system/file/index.js';
|
|
import { exportSaleorder } from '@/api/system/file/index.js';
|
|
@@ -986,6 +998,14 @@ export default {
|
|
|
})
|
|
})
|
|
|
.catch((err) => {});
|
|
.catch((err) => {});
|
|
|
},
|
|
},
|
|
|
|
|
+ finish(type, row) {
|
|
|
|
|
+ if (type == 'single') {
|
|
|
|
|
+ batchCompleted([row.id]).then((res) => {
|
|
|
|
|
+ this.$message.success(res.message);
|
|
|
|
|
+ this.reload();
|
|
|
|
|
+ }).catch((err) => {});
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
//更多菜单
|
|
//更多菜单
|
|
|
handleCommand(command, row) {
|
|
handleCommand(command, row) {
|
|
|
if (command === 'invoice') {
|
|
if (command === 'invoice') {
|