Przeglądaj źródła

设置奖励配置增加来源数据索引

lcl 4 miesięcy temu
rodzic
commit
9e561592d6

+ 6 - 0
src/views/pri/priListAmountSet/components/add/index.vue

@@ -39,6 +39,7 @@ let UpdateForm = ref({
   prizeSourceField: "", //奖励金额来源数据
   prizeCode: "", //奖励代码
   repeatFlag: "", //重复发放
+  prizeSourceFieldIndex: "", //来源数据索引
 
 
 });
@@ -80,6 +81,7 @@ const submit = async (formEl) => {
           prizeSourceField: "", //奖励金额来源数据
           prizeCode: "", //奖励代码
           repeatFlag: "", //重复发放
+          prizeSourceFieldIndex: "", //来源数据索引
 
         };
         // 关闭新增弹窗;
@@ -129,6 +131,7 @@ const closeVisible = () => {
     prizeSourceField: "", //奖励金额来源数据
     prizeCode: "", //奖励代码
     repeatFlag: "", //重复发放
+    prizeSourceFieldIndex: "", //来源数据索引
 
   };
   closeFn();
@@ -161,6 +164,9 @@ const isFullscreen = ref(false)
       el-form-item(label='奖励金额来源数据' prop="prizeSourceField")
         el-input(v-model='UpdateForm.prizeSourceField' autocomplete='off'
           placeholder="请输入奖励金额来源数据")
+      el-form-item(label='来源数据索引' prop="prizeSourceFieldIndex")
+        el-input-number(v-model='UpdateForm.prizeSourceFieldIndex' :min="0" :max="100"
+          placeholder="请输入来源数据索引")
       el-form-item(label='重复发放' prop="repeatFlag")
         el-switch(v-model="UpdateForm.repeatFlag")
 

+ 6 - 0
src/views/pri/priListAmountSet/components/updatePriListAmountSet/index.vue

@@ -36,6 +36,7 @@ const UpdateForm: any = ref({
   prizeSourceField: "", //奖励金额来源数据
   prizeCode: "", //奖励代码
   repeatFlag: "", //重复发放
+  prizeSourceFieldIndex: "", //来源数据索引
 
 });
 
@@ -72,6 +73,7 @@ const submit = async (formEl) => {
           prizeSourceField: "", //奖励金额来源数据
           prizeCode: "", //奖励代码
           repeatFlag: "", //重复发放
+          prizeSourceFieldIndex: "", //来源数据索引
 
         };
         // 关闭修改弹窗;
@@ -122,6 +124,7 @@ const closeUpdatePriListAmountSetVisible = () => {
     prizeSourceField: "", //奖励金额来源数据
     prizeCode: "", //奖励代码
     repeatFlag: "", //重复发放
+    prizeSourceFieldIndex: "", //来源数据索引
 
   };
   closeFn();
@@ -150,6 +153,9 @@ const isFullscreen = ref(false)
       el-form-item(label='奖励金额来源数据' prop="prizeSourceField")
         el-input(v-model='UpdateForm.prizeSourceField' autocomplete='off'
           placeholder="请输入奖励金额来源数据")
+      el-form-item(label='来源数据索引' prop="prizeSourceFieldIndex")
+        el-input-number(v-model='UpdateForm.prizeSourceFieldIndex' :min="0" :max="100"
+          placeholder="请输入来源数据索引")
       el-form-item(label='重复发放' prop="repeatFlag")
         el-switch(v-model="UpdateForm.repeatFlag")