Forráskód Böngészése

佣金合同-页面修改

jingbb 2 hónapja
szülő
commit
eeacd80ce0

+ 6 - 14
src/views/platformBusiness/commissionContract/commissionContract.vue

@@ -20,7 +20,7 @@
             <a-col :lg="16">
               <a-form-item name="supplier">
                 <template #label><span title="供应商(supplier)">供应商(supplier)</span></template>
-                <JSelect   v-model:value="queryParam.supplier" :get-option-url="supplierList" :showField="showField"></JSelect>
+                <JSelect   v-model:value="queryParam.supplier" :get-option-url="supplierOption" :showField="showField"></JSelect>
               </a-form-item>
             </a-col>
             <a-col :lg="8">
@@ -93,9 +93,7 @@
       <!--字段回显插槽-->
       <template #bodyCell="{ column, record, index, text }"> </template>
     </BasicTable>
-    <quotationFormModal @register="registerModal" @success="handleSuccess" />
-    <ViewHistoryVersionModal ref="ViewHistoryVersionModalRef" @success="handleSuccess" />
-    <SetToExamine ref="SetToExamineRef" @success="handleSuccess" ></SetToExamine>
+    <commissionContractModal @register="registerModal" @success="handleSuccess" />
     <!-- 表单区域 -->
   </div>
 </template>
@@ -114,24 +112,18 @@
     getExportUrl,
     batchSubmit,
     cancelBatchSubmit,
-    supplierList
+    supplierOption
   } from './commissionContractForm.api';
   import { cloneDeep } from 'lodash-es';
   import { JDictSelectTag, JInput ,JSelect} from '/@/components/Form';
-  import SetToExamine from './components/SetToExamine.vue';
-  import quotationFormModal from './components/quotationFormModal.vue';
-  import ViewHistoryVersionModal from './components/ViewHistoryVersionModal.vue';
+  import commissionContractModal from './components/commissionContractModal.vue';
   import { message } from 'ant-design-vue';
-  import { useMethods } from '/@/hooks/system/useMethods';
-  const { handleExportXlsx, } = useMethods();
   const formRef = ref();
   const queryParam = reactive<any>({});
   const checkedKeys = ref<Array<string | number>>([]);
   //注册model
   const [registerModal, { openModal }] = useModal();
   var showField = ref('currency+name');
-  var ViewHistoryVersionModalRef = ref();
-  var SetToExamineRef = ref();
   //注册table数据
   const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
     tableProps: {
@@ -141,11 +133,11 @@
       canResize: false,
       useSearchForm: false,
       actionColumn: {
-        width: 440,
+        width: 240,
         fixed: 'right',
       },
       scroll: {
-        x: '2700px',
+        x: '2000px',
         y:'calc(100vh - 400px)',
       },
       beforeFetch: async (params) => {

+ 1 - 0
src/views/platformBusiness/commissionContract/components/commissionContractFormForm.vue

@@ -92,6 +92,7 @@
           </template>
         </j-vxe-table>
       </a-tab-pane>
+    </a-tabs>
     <SelectPrpductModal ref="SelectPrpductModalRef" @selectProduct ='addProduct'></SelectPrpductModal>
   </a-spin>
 </template>