|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
- <!-- 停用客户资料-->
|
|
|
+ <!-- 停用现货品种-->
|
|
|
<a-modal class="commonModal warehouse-disable"
|
|
|
- title="停用客户资料"
|
|
|
+ title="停用现货品种"
|
|
|
v-model:visible="visible"
|
|
|
centered
|
|
|
:maskClosable="maskClosableFlag"
|
|
|
@@ -117,8 +117,8 @@ import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
|
|
|
import { formatValue } from '@/common/methods';
|
|
|
import { getStatusName } from '@/views/information/custom/setup';
|
|
|
import { Modal } from 'ant-design-vue';
|
|
|
-import {stopDeliveryGoods} from "@/views/information/goods/components/setup";
|
|
|
-import {ErmcpDeliveryGoodsDetailEx} from "@/services/go/ermcp/goodsInfo/interface";
|
|
|
+import { stopDeliveryGoods } from '@/views/information/goods/components/setup';
|
|
|
+import { ErmcpDeliveryGoodsDetailEx } from '@/services/go/ermcp/goodsInfo/interface';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'custom-disable',
|
|
|
@@ -139,10 +139,9 @@ export default defineComponent({
|
|
|
okText: '确认停用',
|
|
|
cancelText: '取消',
|
|
|
onOk() {
|
|
|
- stopDeliveryGoods(props.selectedRow.data.deliverygoodsid.toString(), loading)
|
|
|
- .then(res => {
|
|
|
- cancel()
|
|
|
- })
|
|
|
+ stopDeliveryGoods(props.selectedRow.data.deliverygoodsid.toString(), loading).then((res) => {
|
|
|
+ cancel();
|
|
|
+ });
|
|
|
},
|
|
|
onCancel() {
|
|
|
console.log('Cancel');
|