ソースを参照

'改下单描述字段'

魏志佳 4 年 前
コミット
51f28c9f02

+ 2 - 2
src/views/modules/autoLaunch/configLaunchList.vue

@@ -76,7 +76,7 @@
 
 <script>
 import moment from 'moment';
-import { getAction, postAction, downFile, downFilePost } from '@/api/manage';
+import { getAction, postAction, downFile, downFilePost,deleteAction } from '@/api/manage';
 // import { JeecgListMixin } from '@/mixins/ipagination'
 // import editableCell from './editableCell'
 import Treeselect from '@/views/modules/Statistics/components/Treeselect.vue'
@@ -216,7 +216,7 @@ export default {
         },
         deleteRecord(record){
             this.loading=true
-            postAction(this.url.delete,{
+            deleteAction(this.url.delete,{
                 id:record.id
             }).then(res=>{
                 this.loading=false

+ 1 - 1
src/views/modules/workBench/materialList.vue

@@ -559,7 +559,7 @@
                                             v-decorator="[
                                             'description', // 给表单赋值或拉取表单时,该input对应的key
                                             ]"
-                                            :max='50'
+                                            :maxLength='50'
                                             :auto-size="{ minRows: 3, maxRows: 5 }"
                                             @change="descriptionChange"
                                             />

+ 2 - 2
src/views/modules/workBench/placeOrder.vue

@@ -306,7 +306,7 @@
                         </div>
                         <div class="input-item"> 
                             <a-form-model-item ref="materialAmountDay"  prop="materialAmountDay">
-                                <a-input-number :min="1" :max="500"  @blur="materialAmountDayChange" v-model="form.materialAmountDay"  />
+                                <a-input-number  :max="500"  @blur="materialAmountDayChange" v-model="form.materialAmountDay"  />
                             </a-form-model-item>
                         </div>
                     </div>
@@ -647,7 +647,7 @@ export default {
                         startDate:this.dateValue[0].format('YYYY-MM-DD'),
                         endDate:this.dateValue[1].format('YYYY-MM-DD'),
                     };
-
+                    console.log(params)
                     if(!this.$parent.isEdit){
                         postAction('/platform/operator/payout',params).then(res=>{
                             console.log(res);