li.shaoyi 2 vuotta sitten
vanhempi
commit
920b1cdbc2

+ 1 - 1
src/packages/gstj/views/bank/sign/Index.vue

@@ -17,7 +17,7 @@
             <Button type="danger" @click="openComponent('edit')" round>添加签约账户</Button>
         </div>
         <template #footer>
-            <div class="g-form__footer" v-if="bankInfo">
+            <div class="g-form__footer inset" v-if="bankInfo">
                 <Button type="warning" round block @click="formSubmit"
                     v-if="bankInfo.signstatus === SignStatus.Signed">解约</Button>
                 <Button type="danger" round block @click="openComponent('edit')"

+ 1 - 1
src/packages/gstj/views/order/position/components/spot/listing/Index.vue

@@ -14,7 +14,7 @@
                     <Cell title="可用量" :value="selectedRow.enableqty" />
                 </CellGroup>
                 <CellGroup title="挂牌信息" inset>
-                    <Performance ref="performanceRef" :tmptype="'0,2'" name="PerformanceTemplateID"
+                    <Performance ref="performanceRef" tmptype="0,2" name="PerformanceTemplateID"
                         v-model="formData.PerformanceTemplateID" />
                     <Field name="OrderQty" :rules="formRules.OrderQty" label="挂牌数量">
                         <template #input>

+ 2 - 1
src/packages/gstj/views/spot/add/components/buy/index.vue

@@ -2,7 +2,8 @@
     <app-view class="g-form">
         <Form ref="formRef" class="g-form__container" @submit="formSubmit">
             <CellGroup inset>
-                <Performance ref="performanceRef" :tmptype="'0,2'" name="PerformanceTemplateID" v-model="formData.PerformanceTemplateID" />
+                <Performance ref="performanceRef" tmptype="0,2" name="PerformanceTemplateID"
+                    v-model="formData.PerformanceTemplateID" />
                 <Field name="WRFactorTypeId" label="现货仓单" placeholder="请选择" v-model="selectedRow.wrfactortypeid"
                     :rules="formRules.WRFactorTypeId" @click="showWarehouseReceipt = true" is-link readonly />
                 <template v-if="selectedRow.wrfactortypeid">

+ 2 - 1
src/packages/gstj/views/spot/add/components/sell/index.vue

@@ -2,7 +2,8 @@
     <app-view class="g-form">
         <Form ref="formRef" class="g-form__container" @submit="formSubmit">
             <CellGroup inset>
-                <Performance ref="performanceRef" name="PerformanceTemplateID" v-model="formData.PerformanceTemplateID" />
+                <Performance ref="performanceRef" tmptype="0,2" name="PerformanceTemplateID"
+                    v-model="formData.PerformanceTemplateID" />
                 <Field name="DeliveryGoodsID" label="品类" :rules="formRules.DeliveryGoodsID" is-link>
                     <template #input>
                         <app-select v-model="formData.DeliveryGoodsID" :options="ftDeliveryGoodsList"

+ 2 - 1
src/packages/gstj/views/spot/detail/components/listing/index.vue

@@ -2,7 +2,8 @@
     <app-popup class="supply-demand-listing" :title="buyorsell === BuyOrSell.Sell ? '我要卖' : '我要买'" v-model:show="showModal"
         :refresh="refresh">
         <Form class="supply-demand-listing__form" ref="formRef" @submit="onSubmit">
-            <Performance ref="performanceRef" :tmptype="'0,2'" name="PerformanceTemplateID" v-model="formData.PerformanceTemplateID" />
+            <Performance ref="performanceRef" tmptype="0,2" name="PerformanceTemplateID"
+                v-model="formData.PerformanceTemplateID" />
             <Field name="FixedPrice" :rules="formRules.FixedPrice" label="挂牌价格">
                 <template #input>
                     <Stepper v-model="formData.FixedPrice" theme="round" :decimal-length="2" :auto-fixed="false"

+ 3 - 2
src/packages/mobile/views/bank/sign/Index.vue

@@ -17,14 +17,15 @@
             <Button type="danger" @click="openComponent('edit')" round>添加签约账户</Button>
         </div>
         <template #footer>
-            <div class="g-form__footer" v-if="bankInfo">
+            <div class="g-form__footer inset" v-if="bankInfo">
                 <Button type="warning" round block @click="formSubmit"
                     v-if="bankInfo.signstatus === SignStatus.Signed">解约</Button>
                 <Button type="danger" round block @click="showComponent('edit')"
                     v-if="[SignStatus.Unsigned, SignStatus.Refuse, SignStatus.Signed, SignStatus.Rescinded].includes(bankInfo.signstatus)">修改</Button>
             </div>
         </template>
-        <component ref="componentRef" v-bind="{ isedit }" :is="componentMap.get(componentId)" @closed="closeComponent" v-if="componentId" />
+        <component ref="componentRef" v-bind="{ isedit }" :is="componentMap.get(componentId)" @closed="closeComponent"
+            v-if="componentId" />
     </app-view>
 </template>
 

+ 1 - 1
src/packages/mobile/views/order/position/components/spot/listing/Index.vue

@@ -14,7 +14,7 @@
                     <Cell title="可用量" :value="selectedRow.enableqty" />
                 </CellGroup>
                 <CellGroup title="挂牌信息" inset>
-                    <Performance ref="performanceRef" :tmptype="'0,2'" name="PerformanceTemplateID"
+                    <Performance ref="performanceRef" tmptype="0,2" name="PerformanceTemplateID"
                         v-model="formData.PerformanceTemplateID" />
                     <Field name="OrderQty" :rules="formRules.OrderQty" label="挂牌数量">
                         <template #input>

+ 2 - 1
src/packages/mobile/views/spot/add/components/buy/index.vue

@@ -2,7 +2,8 @@
     <app-view class="g-form">
         <Form ref="formRef" class="g-form__container" @submit="formSubmit">
             <CellGroup inset>
-                <Performance ref="performanceRef" :tmptype="'0,2'" name="PerformanceTemplateID" v-model="formData.PerformanceTemplateID" />
+                <Performance ref="performanceRef" tmptype="0,2" name="PerformanceTemplateID"
+                    v-model="formData.PerformanceTemplateID" />
                 <Field name="WRFactorTypeId" label="现货仓单" placeholder="请选择" v-model="selectedRow.wrfactortypeid"
                     :rules="formRules.WRFactorTypeId" @click="showWarehouseReceipt = true" is-link readonly />
                 <template v-if="selectedRow.wrfactortypeid">

+ 2 - 1
src/packages/mobile/views/spot/add/components/sell/index.vue

@@ -2,7 +2,8 @@
     <app-view class="g-form">
         <Form ref="formRef" class="g-form__container" @submit="formSubmit">
             <CellGroup inset>
-                <Performance ref="performanceRef" :tmptype="'0,2'" name="PerformanceTemplateID" v-model="formData.PerformanceTemplateID" />
+                <Performance ref="performanceRef" tmptype="0,2" name="PerformanceTemplateID"
+                    v-model="formData.PerformanceTemplateID" />
                 <Field name="DeliveryGoodsID" label="品类" :rules="formRules.DeliveryGoodsID" is-link>
                     <template #input>
                         <app-select v-model="formData.DeliveryGoodsID" :options="ftDeliveryGoodsList"

+ 2 - 1
src/packages/mobile/views/spot/detail/components/listing/index.vue

@@ -2,7 +2,8 @@
     <app-popup class="supply-demand-listing" :title="buyorsell === BuyOrSell.Sell ? '我要卖' : '我要买'" v-model:show="showModal"
         :refresh="refresh">
         <Form class="supply-demand-listing__form" ref="formRef" @submit="onSubmit">
-            <Performance ref="performanceRef" :tmptype="'0,2'" name="PerformanceTemplateID" v-model="formData.PerformanceTemplateID" />
+            <Performance ref="performanceRef" tmptype="0,2" name="PerformanceTemplateID"
+                v-model="formData.PerformanceTemplateID" />
             <Field name="FixedPrice" :rules="formRules.FixedPrice" label="挂牌价格">
                 <template #input>
                     <Stepper v-model="formData.FixedPrice" theme="round" :decimal-length="2" :auto-fixed="false"

+ 2 - 2
src/packages/pc/views/footer/spot/position/components/listing/index.vue

@@ -7,7 +7,7 @@
                 <span>{{ selectedRow.wrstandardcode }}/{{ selectedRow.wrstandardname }}</span>
             </el-form-item>
             <el-form-item prop="PerformanceTemplateID" label="履约方式">
-                <Performance :market-id="17201" :tmptype="'0,2'" v-model="formData.PerformanceTemplateID" />
+                <Performance :market-id="17201" tmptype="0,2" v-model="formData.PerformanceTemplateID" />
             </el-form-item>
             <el-form-item label="仓库">
                 <span>{{ selectedRow.warehousename }}</span>
@@ -97,6 +97,6 @@ const formSubmit = () => {
                 ElMessage.error('挂牌失败:' + err)
             })
         }
-    })   
+    })
 }
 </script>

+ 1 - 1
src/packages/pc/views/market/trade/spot/listing/index.vue

@@ -3,7 +3,7 @@
     <app-drawer title="挂牌" v-model:show="show" :width="800" :loading="loading" :refresh="refresh">
         <el-form ref="formRef" class="el-form--horizontal" label-width="100px" :model="formData" :rules="formRules">
             <el-form-item prop="PerformanceTemplateID" label="履约方式">
-                <Performance :market-id="17201" :tmptype="'0,2'" v-model="formData.PerformanceTemplateID" />
+                <Performance :market-id="17201" tmptype="0,2" v-model="formData.PerformanceTemplateID" />
             </el-form-item>
             <el-form-item prop="DeliveryGoodsID" label="品种">
                 <el-select placeholder="请选择" v-model="formData.DeliveryGoodsID" @change="onDeliveryGoodsChange">

+ 1 - 1
src/packages/pc/views/market/trade/spot/order/listing/index.vue

@@ -3,7 +3,7 @@
     <app-drawer title="挂牌" v-model:show="show" :loading="loading" :refresh="refresh">
         <el-form ref="formRef" class="el-form--vertical" label-width="100px" :model="formData" :rules="formRules">
             <el-form-item prop="PerformanceTemplateID" label="履约方式">
-                <Performance :market-id="17201" :tmptype="'0,2'" v-model="formData.PerformanceTemplateID" />
+                <Performance :market-id="17201" tmptype="0,2" v-model="formData.PerformanceTemplateID" />
             </el-form-item>
             <el-form-item prop="FixedPrice" label="挂牌价格">
                 <el-input-number placeholder="请输入" :min="0" :precision="2" v-model="formData.FixedPrice" />

+ 3 - 2
src/packages/qxst/views/bank/sign/Index.vue

@@ -17,14 +17,15 @@
             <Button type="danger" @click="openComponent('edit')" round>添加签约账户</Button>
         </div>
         <template #footer>
-            <div class="g-form__footer" v-if="bankInfo">
+            <div class="g-form__footer inset" v-if="bankInfo">
                 <Button type="warning" round block @click="formSubmit"
                     v-if="bankInfo.signstatus === SignStatus.Signed">解约</Button>
                 <Button type="danger" round block @click="showComponent('edit')"
                     v-if="[SignStatus.Unsigned, SignStatus.Refuse, SignStatus.Signed, SignStatus.Rescinded].includes(bankInfo.signstatus)">修改</Button>
             </div>
         </template>
-        <component ref="componentRef" v-bind="{ isedit }" :is="componentMap.get(componentId)" @closed="closeComponent" v-if="componentId" />
+        <component ref="componentRef" v-bind="{ isedit }" :is="componentMap.get(componentId)" @closed="closeComponent"
+            v-if="componentId" />
     </app-view>
 </template>
 

+ 1 - 1
src/packages/sbyj/views/bank/sign/Index.vue

@@ -17,7 +17,7 @@
             <Button type="primary" @click="openComponent('edit')" round>添加签约账户</Button>
         </div>
         <template #footer>
-            <div class="g-form__footer" v-if="bankInfo">
+            <div class="g-form__footer inset" v-if="bankInfo">
                 <Button type="warning" round block @click="formSubmit"
                     v-if="bankInfo.signstatus === SignStatus.Signed">解约</Button>
                 <Button type="primary" round block @click="openComponent('edit')"