瀏覽代碼

成本配置新增优化

wyh 1 年之前
父節點
當前提交
6fd9889cfc
共有 1 個文件被更改,包括 13 次插入4 次删除
  1. 13 4
      src/views/module_kzks/costModelList/modules/CostModelListForm.vue

+ 13 - 4
src/views/module_kzks/costModelList/modules/CostModelListForm.vue

@@ -10,15 +10,19 @@
           </a-col>
           <a-col :span="24">
             <a-form-model-item label="外协费" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="wxf">
-              <a-input v-model="model.wxf" placeholder="请输入外协费"  ></a-input>
+              <!-- <a-input v-model="model.wxf" placeholder="请输入外协费"  ></a-input> -->
+              <!-- <j-upload v-model="model.fileWX" :returnUrl="false" :number="1" :multiple="false" text="上传"></j-upload> -->
+              <j-upload v-model="model.wxfurl" :returnUrl="false" :number="1" :multiple="false" text="上传"></j-upload>
             </a-form-model-item>
           </a-col>
           <a-col :span="24">
             <a-form-model-item label="材料费" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="clf">
-              <a-input v-model="model.clf" placeholder="请输入材料费"  ></a-input>
+              <!-- <a-input v-model="model.clf" placeholder="请输入材料费"  ></a-input> -->
+              <!-- <j-upload v-model="model.fileCL" :returnUrl="false" :number="1" :multiple="false" text="上传"></j-upload> -->
+              <j-upload v-model="model.clfurl" :returnUrl="false" :number="1" :multiple="false" text="上传"></j-upload>
             </a-form-model-item>
           </a-col>
-          <a-col :span="24">
+          <!-- <a-col :span="24">
             <a-form-model-item label="材料费类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="clfType">
               <a-input v-model="model.clfType" placeholder="请输入材料费类型"  ></a-input>
             </a-form-model-item>
@@ -57,7 +61,7 @@
             <a-form-model-item label="总价" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="totalPrice">
               <a-input v-model="model.totalPrice" placeholder="请输入总价"  ></a-input>
             </a-form-model-item>
-          </a-col>
+          </a-col> -->
         </a-row>
       </a-form-model>
     </j-form-container>
@@ -84,6 +88,8 @@
     data () {
       return {
         model:{
+          fileWX: [],
+          fileCL: [],
          },
         labelCol: {
           xs: { span: 24 },
@@ -138,6 +144,9 @@
               httpurl+=this.url.edit;
                method = 'put';
             }
+            // console.log(111111,this.model)
+            // this.model.wxfurl = this.model.fileWX[0].filePath
+            // this.model.clfurl = this.model.fileCL[0].filePath
             httpAction(httpurl,this.model,method).then((res)=>{
               if(res.success){
                 that.$message.success(res.message);