Sfoglia il codice sorgente

佣金发票保存报错

yuansh 1 settimana fa
parent
commit
aa4c0fc73a

+ 23 - 0
src/views/baseCode/ProjectArchive/BaseProjectArchive.data.ts

@@ -84,6 +84,16 @@ export const searchFormSchema: FormSchema[] = [
     },
     //colProps: {span: 6},
   },
+  {
+    label: '客户简称(customer)',
+    field: 'customerId',
+    component: 'JSelect',
+    componentProps: {
+      getOptionUrl: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list?pageSize=-1&status=1'}),
+      showField:"currency_dictText+abbreviation"
+    },
+    //colProps: {span: 6},
+  },
   {
     label: '创建时间(create time)',
     field: 'createTime',
@@ -118,6 +128,19 @@ export const formSchema: FormSchema[] = [
       showField:"currency_dictText+name",
       getPopupContainer: (node) => document.body,
     },
+  },{
+    label: '客户简称(customer)',
+    field: 'customerId',
+    component: 'JSelect',
+    // componentProps:{
+    //     dictCode: 'customer',
+    //  },
+    required: true,
+    componentProps: {
+      getOptionUrl: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list?pageSize=-1&status=1'}),
+      showField:"currency_dictText+abbreviation",
+      getPopupContainer: (node) => document.body,
+    },
   },
   {
     label: '编码(code)',

+ 8 - 5
src/views/purchase/purPaymentRequest/purPaymentRequest.data.ts

@@ -70,7 +70,8 @@ export const paymentDetailColumns: JVxeColumn[] = [
     key: 'projectName',
     type: JVxeTypes.normal,
     placeholder: '请输入${title}',
-    width:"200px",
+    width:"120px",
+      fixed: 'left',
     defaultValue:'',
   },    
   {
@@ -78,7 +79,8 @@ export const paymentDetailColumns: JVxeColumn[] = [
     key: 'purchaseCode',
     type: JVxeTypes.normal,
     placeholder: '请输入${title}',
-    width:"200px",
+    width:"175px",
+      fixed: 'left',
     defaultValue:'',
   },
   {
@@ -86,7 +88,8 @@ export const paymentDetailColumns: JVxeColumn[] = [
     key: 'orderMoney',
     type: JVxeTypes.normal,
     placeholder: '请输入${title}',
-    width:"200px",
+    width:"165px",
+      fixed: 'left',
     defaultValue:'',
   },
   {
@@ -110,7 +113,7 @@ export const paymentDetailColumns: JVxeColumn[] = [
     key: 'applyedMoney',
     type: JVxeTypes.normal,
     placeholder: '请输入${title}',
-    width:"250px",
+    width:"200px",
     defaultValue:'',
   },
   {
@@ -119,7 +122,7 @@ export const paymentDetailColumns: JVxeColumn[] = [
     type: JVxeTypes.inputNumber,
     validateRules: [{ required: true, message: '' }],
     placeholder: '请输入${title}',
-    width:"250px",
+    width:"230px",
     defaultValue:'',
   },
   {

+ 5 - 0
src/views/saleCode/saleInterfaceSync/SaleInterfaceSync.data.ts

@@ -11,6 +11,11 @@ export const columns: BasicColumn[] = [
    //  align:"center",
    //  dataIndex: 'transactionId'
    // },
+   {
+    title: '部门',
+    align:"center",
+    dataIndex: 'deptNames'
+   },
    {
     title: '客户号',
     align:"center",

+ 1 - 1
src/views/saleCode/saleInterfaceSync/SaleInterfaceSyncList.vue

@@ -252,7 +252,7 @@
         label: '编辑',
         onClick: handleEdit.bind(null, record),
         auth: 'saleCode:sale_interface_sync:edit',
-        ifShow: record.submit == '0',
+        ifShow: record.submit == '0' && record.close == '0',
       },
     ];
   }

+ 1 - 0
src/views/saleCode/salesInvoice/components/saleInvoiceForm.vue

@@ -374,6 +374,7 @@
         status: undefined,
         delFlag: undefined,
         sourceCode: '',
+        sourceCode2: '',
         billDate: moment(new Date()).format('YYYY-MM-DD'),
         invoiceCode: '',
         project: '',