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