|
@@ -21,7 +21,7 @@ import import_mixin from '@/components/template/import_mixin.js'
|
|
import add_callback_mixin from '@/components/template/add_callback_mixin.js'
|
|
import add_callback_mixin from '@/components/template/add_callback_mixin.js'
|
|
import Popu from '@/components/template/popu.vue'
|
|
import Popu from '@/components/template/popu.vue'
|
|
import TransferOrderForm from './transferOrderForm.vue'
|
|
import TransferOrderForm from './transferOrderForm.vue'
|
|
-import { getListTransferV2, exportListTransferV2, invoiceCustomerTransfer } from '@/api/transferOrder'
|
|
|
|
|
|
+import { getListTransferV2, exportListTransferV2, invoiceCustomerTransfer, dletransferDelete } from '@/api/transferOrder'
|
|
import { mapGetters } from 'vuex'
|
|
import { mapGetters } from 'vuex'
|
|
export default {
|
|
export default {
|
|
components: { TemplatePage, Popu, TransferOrderForm },
|
|
components: { TemplatePage, Popu, TransferOrderForm },
|
|
@@ -115,7 +115,7 @@ export default {
|
|
审核
|
|
审核
|
|
</el-button>
|
|
</el-button>
|
|
) : null}
|
|
) : null}
|
|
- {row.status === 'SAVE' || row.status === 'WAIT' ? (
|
|
|
|
|
|
+ {row.status === 'SAVE' || row.status === 'WAIT' ? (
|
|
<el-button
|
|
<el-button
|
|
size='mini'
|
|
size='mini'
|
|
type='text'
|
|
type='text'
|
|
@@ -146,8 +146,23 @@ export default {
|
|
</el-button>
|
|
</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
) : null}
|
|
) : null}
|
|
- </div>
|
|
|
|
- )
|
|
|
|
|
|
+ {row.status === 'SAVE' || row.status === 'WAIT' ? <el-popconfirm
|
|
|
|
+ onOnConfirm={ () => {
|
|
|
|
+ dletransferDelete({
|
|
|
|
+ id: row.id
|
|
|
|
+ }).then(res => {
|
|
|
|
+ this.$successMsg('删除成功')
|
|
|
|
+ this.$refs.pageRef.refreshList()
|
|
|
|
+ })
|
|
|
|
+ }}
|
|
|
|
+ title='是否确定需要删除该项内容?'
|
|
|
|
+ >
|
|
|
|
+ <el-button slot='reference' size='mini' type='text'>
|
|
|
|
+ 删除
|
|
|
|
+ </el-button>
|
|
|
|
+ </el-popconfirm> : null
|
|
|
|
+ }
|
|
|
|
+ </div>)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleClose() {
|
|
handleClose() {
|