Commit c81a8673 by wangweidong

合同评审记录修改

parent 4203064e
...@@ -46,6 +46,10 @@ export default { ...@@ -46,6 +46,10 @@ export default {
http http
.post('meter/v1/contract/page_contract_register', data) .post('meter/v1/contract/page_contract_register', data)
.then(res => res), .then(res => res),
pageContractRegisterHis: data =>
http
.post('meter/v1/contract/page_contract_register_his', data)
.then(res => res),
pageContractReview: data => pageContractReview: data =>
http.post('meter/v1/contract/page_contract_review', data).then(res => res), http.post('meter/v1/contract/page_contract_review', data).then(res => res),
......
...@@ -119,9 +119,9 @@ export default { ...@@ -119,9 +119,9 @@ export default {
getPage: {}, getPage: {},
pageColumns: [ pageColumns: [
{ title: '名称', key: 'name', width: 160 }, { title: '名称', key: 'name', width: 160 },
{ title: '型号', key: 'spec' }, { title: '型号', key: 'spec', width: 160 },
{ title: '数量', key: 'quantity' }, { title: '数量', key: 'quantity', width: 100 },
{ title: '检测依据', key: 'verification' }, { title: '检测依据', key: 'verification', width: 260 },
{ title: '技术参数', key: 'technicalParameter' }, { title: '技术参数', key: 'technicalParameter' },
{ title: '生产厂家', key: 'manufacturer' }, { title: '生产厂家', key: 'manufacturer' },
{ title: '出厂编号', key: 'factoryNumber' }, { title: '出厂编号', key: 'factoryNumber' },
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</div> </div>
</template> </template>
<script> <script>
import { meterEntrust, meterContract } from '../../../api' import { meterContract } from '../../../api'
import MeterContracHisOperation from '../../../components/operation/Operation' import MeterContracHisOperation from '../../../components/operation/Operation'
import MeterSubcontractorEdit from './MeterContractRegisterEdit' import MeterSubcontractorEdit from './MeterContractRegisterEdit'
export default { export default {
...@@ -113,12 +113,11 @@ export default { ...@@ -113,12 +113,11 @@ export default {
{ title: '联系人', key: 'person', width: 120 }, { title: '联系人', key: 'person', width: 120 },
{ title: '联系电话', key: 'tel', width: 120 }, { title: '联系电话', key: 'tel', width: 120 },
{ title: '传真', key: 'fax', width: 120 }, { title: '传真', key: 'fax', width: 120 },
{ title: '详细地址', key: 'address', width: 250 }, { title: '合同编号', key: 'salesCode', width: 120 },
{ title: '邮编', key: 'postcode' }, { title: '要求完成时间', key: 'odate', width: 120, date: true },
{ title: 'E-mail', key: 'email', width: 120 }, { title: '折扣', key: 'discount', width: 120 },
{ title: '委托日期', key: 'edate', width: 120 }, { title: '总价', key: 'totalPrice', width: 120 },
{ title: '费用合计', key: 'fee', width: 120 }, { title: '折扣价', key: 'discountPrice', width: 120 },
{ title: '合同号', key: 'contractCode', width: 120 },
{ title: '备注', key: 'remark' } { title: '备注', key: 'remark' }
] ]
} }
...@@ -190,7 +189,7 @@ export default { ...@@ -190,7 +189,7 @@ export default {
_page: async function() { _page: async function() {
Object.assign(this.formObj, this.$refs.pageTable._searchParams()) Object.assign(this.formObj, this.$refs.pageTable._searchParams())
console.log('this.formObj', this.formObj) console.log('this.formObj', this.formObj)
const result = await meterEntrust.pageSendEntrust(this.formObj) const result = await meterContract.pageContractRegisterHis(this.formObj)
if (result) { if (result) {
this.$refs.pageTable._hideLoading() this.$refs.pageTable._hideLoading()
this.getPage = result this.getPage = result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment