|
@@ -571,7 +571,7 @@
|
|
|
>
|
|
|
<el-table-column label="序号" type="index" width="60">
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
+ <!-- <el-table-column
|
|
|
prop="nature"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
@@ -586,8 +586,8 @@
|
|
|
show-word-limit
|
|
|
/>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
+ </el-table-column> -->
|
|
|
+ <!-- <el-table-column
|
|
|
prop="payRate"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
@@ -603,7 +603,7 @@
|
|
|
show-word-limit
|
|
|
/>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column
|
|
|
prop="amt"
|
|
|
header-align="center"
|
|
@@ -1524,9 +1524,22 @@ export default {
|
|
|
submitForm() {
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
- let formData = new FormData()
|
|
|
- console.log(queryForm)
|
|
|
- formData.append('tWarehouseBills', queryForm)
|
|
|
+ // let formData = new FormData()
|
|
|
+ // console.log(JSON.stringify(this.form));
|
|
|
+ // formData.append('tWarehouseBills', JSON.stringify(this.formData))
|
|
|
+ let formData = new window.FormData();
|
|
|
+ // 附件数据
|
|
|
+ formData.append("tWarehouseBills", JSON.stringify(this.form));
|
|
|
+ console.log(JSON.stringify(this.form));
|
|
|
+ // 附件数据
|
|
|
+ formData.append("tWhgenleg", JSON.stringify(this.form));
|
|
|
+ // // 费用明细付款
|
|
|
+ formData.append("tWarehousebillsfeesCr", JSON.stringify(this.form));
|
|
|
+ // // 收款
|
|
|
+ formData.append("tWarehousebillsfeesDr", JSON.stringify(this.form));
|
|
|
+ // // 库存明细
|
|
|
+ formData.append("tWarehousebillsitems", JSON.stringify(this.form));
|
|
|
+
|
|
|
// 附件数据
|
|
|
// formData.append('tWhgenleg', dataForm)
|
|
|
// // 费用明细付款
|
|
@@ -1536,8 +1549,8 @@ export default {
|
|
|
// // 库存明细
|
|
|
// formData.append('tWarehousebillsitems', dataForm)
|
|
|
|
|
|
- addWarehousebills(this.formData).then((response) => {
|
|
|
- console.log(response)
|
|
|
+ addWarehousebills(formData).then((response) => {
|
|
|
+ console.log(response);
|
|
|
this.msgSuccess("新增成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|