This commit is contained in:
linfso 2024-08-21 08:04:39 +08:00
parent 479f3a5303
commit 44e8630301
4 changed files with 16 additions and 8 deletions

View File

@ -9,6 +9,14 @@ export function listEmisSettleSubBill(query) {
}) })
} }
export function listEmisCanInvoiceSettleSubBill(query) {
return request({
url: '/emis/emisSettleSubBill/listCanInvoice',
method: 'get',
params: query
})
}
export function getQueryStatInfoMap(query) { export function getQueryStatInfoMap(query) {
return request({ return request({
url: '/emis/emisSettleSubBill/getQueryStatInfoMap', url: '/emis/emisSettleSubBill/getQueryStatInfoMap',

View File

@ -72,14 +72,14 @@
</div> </div>
<div style="margin-bottom:20px"> <!-- <div style="margin-bottom:20px">
<div style="font-weight:500;margin-bottom:20px"> <div style="font-weight:500;margin-bottom:20px">
子账单列表: 子账单列表:
</div> </div>
<div> <div>
<SubBillList :settleBillNo="settleBillNo"> </SubBillList> <SubBillList :settleBillNo="settleBillNo"> </SubBillList>
</div> </div>
</div> </div> -->
</div> </div>
</template> </template>

View File

@ -198,7 +198,7 @@
</template> </template>
<script> <script>
import {listEmisSettleSubBill} from "@/api/emis/emisSettleSubBill"; import {listEmisSettleSubBill,listEmisCanInvoiceSettleSubBill} from "@/api/emis/emisSettleSubBill";
import { addEmisSettleInvoiceRecord } from "@/api/emis/emisSettleInvoiceRecord"; import { addEmisSettleInvoiceRecord } from "@/api/emis/emisSettleInvoiceRecord";
import CustomerInvoiceInfoPicker from '@/views/emis/EmisBaseTools/CustomerInvoiceInfoPicker.vue'; import CustomerInvoiceInfoPicker from '@/views/emis/EmisBaseTools/CustomerInvoiceInfoPicker.vue';
import { parseTime,genJsSeqNo } from "@/utils/custom"; import { parseTime,genJsSeqNo } from "@/utils/custom";
@ -315,7 +315,7 @@ export default {
} }
// 查询子账单 // 查询子账单
let res=await listEmisSettleSubBill(qParam); let res=await listEmisCanInvoiceSettleSubBill(qParam);
console.log("===>=res==>",res) console.log("===>=res==>",res)
if(res.code==200){ if(res.code==200){
res.rows.forEach(itemSubBill=>{ res.rows.forEach(itemSubBill=>{
@ -352,7 +352,7 @@ export default {
} }
// 查询子账单 // 查询子账单
let res=await listEmisSettleSubBill(qParam); let res=await listEmisCanInvoiceSettleSubBill(qParam);
console.log("===>=res==>",res) console.log("===>=res==>",res)
if(res.code==200){ if(res.code==200){
res.rows.forEach(itemSubBill=>{ res.rows.forEach(itemSubBill=>{

View File

@ -31,9 +31,9 @@
<el-tag type="success" v-if="scope.row.settleType == '1'">现金收款</el-tag> <el-tag type="success" v-if="scope.row.settleType == '1'">现金收款</el-tag>
<el-tag type="success" v-if="scope.row.settleType == '2'">月结收款</el-tag> <el-tag type="success" v-if="scope.row.settleType == '2'">月结收款</el-tag>
</span> </span>
<span v-if="scope.row.recType == '1'"> <span v-if="scope.row.recType == '2'">
<el-tag type="success" v-if="scope.row.settleType == '1'">现金退款</el-tag> <el-tag type="danger" v-if="scope.row.settleType == '1'">现金退款</el-tag>
<el-tag type="success" v-if="scope.row.settleType == '2'">月结退款</el-tag> <el-tag type="danger" v-if="scope.row.settleType == '2'">月结退款</el-tag>
</span> </span>
</template> </template>
</el-table-column> </el-table-column>