|
@@ -61,7 +61,8 @@ import {
|
|
edit,
|
|
edit,
|
|
submit,
|
|
submit,
|
|
listImportM,
|
|
listImportM,
|
|
- queryImportResult
|
|
|
|
|
|
+ queryImportResult,
|
|
|
|
+ websitSalesDel
|
|
} from '@/api/auxiliaryFittings/auxiliarySalesOrder'
|
|
} from '@/api/auxiliaryFittings/auxiliarySalesOrder'
|
|
import { getWebsit } from '@/api/customerManagement'
|
|
import { getWebsit } from '@/api/customerManagement'
|
|
import printPreview from '../components/preview.vue'
|
|
import printPreview from '../components/preview.vue'
|
|
@@ -248,6 +249,21 @@ export default {
|
|
this.openForm()
|
|
this.openForm()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ del: {
|
|
|
|
+ prompt: '此操作将永久删除数据, 是否继续?',
|
|
|
|
+ conditions: ({ row, index, column }) => {
|
|
|
|
+ return row.flag == 'SUBMIT'
|
|
|
|
+ },
|
|
|
|
+ click: ({ row, index, column }) => {
|
|
|
|
+ websitSalesDel([row.salesId]).then(res => {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '删除成功',
|
|
|
|
+ type: 'success'
|
|
|
|
+ })
|
|
|
|
+ this.$refs?.pageRef?.refreshList()
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ },
|
|
confirmDelivery: {
|
|
confirmDelivery: {
|
|
conditions: ({ row, index, column }) => {
|
|
conditions: ({ row, index, column }) => {
|
|
return row.flag == 'PAY_NOT_TAKE'
|
|
return row.flag == 'PAY_NOT_TAKE'
|