浏览代码

牛群字段传参数改0

Shan9312 1 年之前
父节点
当前提交
4e16e57ef1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/views/formulationPlan/recipeTemplate/index.vue

+ 1 - 0
src/views/formulationPlan/recipeTemplate/index.vue

@@ -1506,6 +1506,7 @@ export default {
     },
     saveCreateData() {
       this.requestParam.name = 'insertFT'
+      this.table.temp.cattle = this.table.temp.cattle == ''? 0:this.table.temp.cattle;
       this.requestParam.parammaps = this.table.temp
       PostDataByName(this.requestParam).then(response => {
         console.log('新增保存发送参数', this.requestParam)