Browse Source

no message

linwenxin 2 months ago
parent
commit
fda46e9d38

+ 17 - 4
src/views/setting/difficultyFee/difficultyExpenseApproval/InsuranceContractForm.vue

@@ -198,10 +198,21 @@ export default {
     formItems2() {
       return [
         {
+          name: 'slot-component',
           md: 12,
-          name: 'el-input',
           attributes: { disabled: true },
-          formItemAttributes: { label: '所属网点', prop: 'websitName' }
+          formItemAttributes: { label: '所属网点', prop: 'websitName' },
+          render: (h, { props, onInput }) => {
+            var { formData } = props
+            return (
+              <el-input
+                value={`(${formData.websitId || ''})${formData.websitName || ''}`}
+                disabled={true}
+                size="mini"
+                placeholder=""
+              ></el-input>
+            )
+          }
         },
         {
           md: 6,
@@ -269,7 +280,7 @@ export default {
         {
           md: 6,
           name: 'el-input',
-          attributes: { disabled: [2, 3].includes(this.type) },
+          attributes: { disabled: [2, 3].includes(this.type), type: 'number' },
           formItemAttributes: { label: '申请费用', prop: 'websitMaintenancePricePass', rules: [...required] }
         },
         {
@@ -283,6 +294,7 @@ export default {
             disabled: [2, 3].includes(this.type)
           },
           formItemAttributes: {
+            'label-width': '120px',
             label: '是否向客户收费',
             prop: 'websitCustomerCharges',
             rules: [...required]
@@ -352,7 +364,8 @@ export default {
           md: 6,
           name: 'el-input',
           attributes: {
-            disabled: [3].includes(this.type)
+            disabled: [3].includes(this.type),
+            type: 'number'
           },
           formItemAttributes: {
             label: '审批费用',

+ 1 - 1
src/views/setting/difficultyFee/difficultyFeeAuditorSet/InsuranceContractForm.vue

@@ -65,7 +65,7 @@ export default {
           md: 6,
           name: 'el-input',
           attributes: { disabled: this.disabled },
-          formItemAttributes: { label: '审批负责人', prop: 'principal' }
+          formItemAttributes: { label: '审批负责人', prop: 'principal', rules: [...required] }
         },
         {
           name: 'slot-component',