|
|
|
@ -159,9 +159,17 @@
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<el-table-column prop="orderId" label="采购订单行id">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input v-model="scope.row.orderId"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
</el-input>
|
|
|
|
|
<!-- <el-input v-model="scope.row.orderId"-->
|
|
|
|
|
<!-- placeholder="请输入" clearable :style='{"width":"100%"}'>-->
|
|
|
|
|
<!-- </el-input>-->
|
|
|
|
|
<popupSelect v-model="scope.row.orderId"
|
|
|
|
|
placeholder="请选择" clearable :field="'orderId'+scope.$index"
|
|
|
|
|
|
|
|
|
|
interfaceId="383149471917185157" :columnOptions="jg_paymentdoc_item0orderIdcolumnOptions"
|
|
|
|
|
propsValue="id" relationField="document_no" popupType="dialog"
|
|
|
|
|
popupWidth="800px" @change="popupSelectChangeOrderId"
|
|
|
|
|
hasPage :pageSize="20" >
|
|
|
|
|
</popupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="amount" label="金额">
|
|
|
|
@ -277,7 +285,7 @@
|
|
|
|
|
settlementTypeOptions:[{"fullName":"现金","id":"0"},{"fullName":"赊购","id":"1"},{"fullName":"网银","id":"2"},{"fullName":"银企直连","id":"3"},{"fullName":"银票","id":"4"},{"fullName":"商票","id":"5"}],
|
|
|
|
|
currencyOptions:[{"fullName":"人民币","id":"0"},{"fullName":"美元","id":"1"},{"fullName":"英镑","id":"2"}],
|
|
|
|
|
statusOptions:[{"fullName":"已保存","id":"0"},{"fullName":"审批中","id":"1"},{"fullName":"已审批","id":"2"},{"fullName":"已付款","id":"3"}],
|
|
|
|
|
|
|
|
|
|
jg_paymentdoc_item0orderIdcolumnOptions:[{"label":"单据编号","value":"document_no"},{"label":"金额","value":"amount"},],
|
|
|
|
|
taxRateOptions:[{"fullName":"13","id":"0"},{"fullName":"9","id":"1"},{"fullName":"6","id":"2"},{"fullName":"5","id":"3"},{"fullName":"3","id":"4"},{"fullName":"0","id":"5"}],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
@ -287,6 +295,14 @@
|
|
|
|
|
},
|
|
|
|
|
mounted() {},
|
|
|
|
|
methods: {
|
|
|
|
|
popupSelectChangeOrderId(a, b){
|
|
|
|
|
for (let i = 0; i < this.dataForm.paymentdoc_item0List.length; i++) {
|
|
|
|
|
if(a == this.dataForm.paymentdoc_item0List[i].orderId){
|
|
|
|
|
this.dataForm.paymentdoc_item0List[i].amount = b.amount;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
paymentdoc_item0Exist() {
|
|
|
|
|
let isOk = true;
|
|
|
|
|
for(let i=0;i<this.dataForm.paymentdoc_item0List.length;i++){
|
|
|
|
|