|
@@ -195,6 +195,24 @@ export default {
|
|
|
['DYY', 'FWZ'].includes(this.orderStatus_v_zh(item.orderStatus, item)) &&
|
|
|
(item.isImportExcel ? item.isMeet : true)
|
|
|
)
|
|
|
+ },
|
|
|
+ // 总部下载
|
|
|
+ ZONGBUXIAZAI(item, userInfo) {
|
|
|
+ return item.isImportExcel
|
|
|
+ },
|
|
|
+ ZONGBUXIAZAIFUNC(item, userInfo) {
|
|
|
+ if (!item.lastClickTime || item.lastClickTime + 60000 < new Date().getTime()) {
|
|
|
+ this.$api
|
|
|
+ .post('/changeOrder/dow', {
|
|
|
+ orderBaseId: item.id
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ item.lastClickTime = new Date().getTime()
|
|
|
+ this.$successToast()
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.$successToast()
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|