|
@@ -17,6 +17,9 @@ import { ElMessage } from "element-plus";
|
|
|
import { utils, writeFile } from "xlsx";
|
|
|
import { useTask } from "/@/hooks/core";
|
|
|
import { useRouter } from "vue-router";
|
|
|
+import { useUserStore } from "/@/store/modules/user";
|
|
|
+
|
|
|
+// useUserStore.
|
|
|
|
|
|
|
|
|
import { cloneDeep } from "lodash-unified";
|
|
@@ -31,7 +34,7 @@ const loading = ref(false);
|
|
|
const { currentCompany } = useCompany();
|
|
|
const formData = ref({ status: '', remark: '' })
|
|
|
|
|
|
-const contenConfigtRef = ref(contentConfig)
|
|
|
+// const contenConfigtRef = ref(contentConfig)
|
|
|
|
|
|
const rules = computed(() => ({
|
|
|
status: [{ required: true, message: "请选择审核状态", trigger: 'change' }],
|
|
@@ -58,7 +61,7 @@ const handleWithDraw = data => withDraw(httpWithdraw(data));
|
|
|
const { isSuperUser } = useUserInfo();
|
|
|
|
|
|
const router = useRouter();
|
|
|
-
|
|
|
+const isTenThound = ref(true)
|
|
|
const hooks: PageHooks = {
|
|
|
pageSearchHook: () => usePageSearch(undefined, undefined, searchConfig)
|
|
|
};
|
|
@@ -71,6 +74,9 @@ const events: PageEvents = {
|
|
|
preview: ({ logNo }) => router.push('/InvoiceSales/capitalPoolDetail?id=' + logNo),
|
|
|
create: () => router.push('/InvoiceSales/capitalPoolDetail'),
|
|
|
result(data = {}, parameter = {}){
|
|
|
+ if(isTenThound.value){
|
|
|
+ ElMessage.warning('?????????')
|
|
|
+ }
|
|
|
const { pcData = {} } = data
|
|
|
const { pcCode } = parameter
|
|
|
const { balancePrce, totalPrice, tradPrice, usedPrice } = pcData
|
|
@@ -176,7 +182,7 @@ function handleImportData(){
|
|
|
:hooks="hooks"
|
|
|
:events="events"
|
|
|
:search-config="searchConfig"
|
|
|
- :content-config="contenConfigtRef"
|
|
|
+ :content-config="contentConfig(isTenThound)"
|
|
|
:get-content-ref="ref => pageContentRef = ref"
|
|
|
@content-select-change="values => selected = values"
|
|
|
>
|