|
@@ -279,7 +279,6 @@ export default {
|
|
|
async created() {
|
|
|
await this.search();
|
|
|
await this.searchOther();
|
|
|
- // await this.isTreaty();
|
|
|
},
|
|
|
methods: {
|
|
|
...order(['query', 'create', 'update', 'delete', 'fetch']),
|
|
@@ -345,10 +344,8 @@ export default {
|
|
|
},
|
|
|
//查看
|
|
|
async see(data) {
|
|
|
- // console.log(data);
|
|
|
const res = await this.fetch(data.id);
|
|
|
if (res) this.$set(this, `detailForm`, res);
|
|
|
- // console.log(this.detailForm);
|
|
|
if (this.detailForm.out_bill.length > 0) {
|
|
|
this.computRate();
|
|
|
}
|
|
@@ -422,7 +419,6 @@ export default {
|
|
|
},
|
|
|
//保存
|
|
|
async save(data) {
|
|
|
- // console.log(data);
|
|
|
const res = await this.outBill(this.detailForm);
|
|
|
if (this.$checkRes(res, '修改成功', res.errmsg || '修改失败')) {
|
|
|
this.back();
|