7.5移动端

jg-waiwang-pro
胡川虎 4 months ago
parent 99aeb313b0
commit dbbf8f0e13

@ -228,4 +228,19 @@
@import "@/assets/iconfont/custom/iconfont.css"; @import "@/assets/iconfont/custom/iconfont.css";
@import "@/assets/scss/common.scss"; @import "@/assets/scss/common.scss";
@import "@/assets/scss/components.scss"; @import "@/assets/scss/components.scss";
.page-testa{
.uni-input-wrapper {
color: #303133 !important;
font-size: 16px !important;
}
.u-input__input {
color: #303133 !important;
font-size: 16px !important;
}
.u-form-item {
color: #303133 !important;
font-size: 16px !important;
}
}
</style> </style>

@ -366,6 +366,7 @@
url: '/api/scm/BusinessEnterpriseRelational/getHomePage', url: '/api/scm/BusinessEnterpriseRelational/getHomePage',
method: 'get' method: 'get'
}).then(res => { }).then(res => {
debugger
let _info = res.data[0]; let _info = res.data[0];
this.homeInfo = _info; this.homeInfo = _info;
}).catch(() => {}) }).catch(() => {})

@ -1,5 +1,5 @@
<template> <template>
<view class="jnpf-wrap jnpf-wrap-form" v-if="!loading"> <view class="jnpf-wrap jnpf-wrap-form page-testa" v-if="!loading">
<u-form :model="dataForm" :rules="rules" ref="dataForm" :errorType="['toast']" label-position="left" <u-form :model="dataForm" :rules="rules" ref="dataForm" :errorType="['toast']" label-position="left"
label-align="right" :label-width="labelwidth" class="jnpf-form"> label-align="right" :label-width="labelwidth" class="jnpf-form">
<view class="u-p-l-20 u-p-r-20 form-item-box"> <view class="u-p-l-20 u-p-r-20 form-item-box">
@ -47,13 +47,20 @@
</u-input> </u-input>
</u-form-item> </u-form-item>
</view> </view>
<view class="u-p-l-20 u-p-r-20 form-item-box"> <view class="u-p-l-20 u-p-r-20 form-item-box" v-if="false">
<u-form-item v-if="judgeShow('payer')" :required="requiredList.payer" label="付款方" prop="payer"> <u-form-item v-if="judgeShow('payer')" :required="requiredList.payer" label="付款方" prop="payer">
<u-input v-model="dataForm.payer" :disabled="judgeWrite('payer')" @change="changeData('payer',-1)" <u-input v-model="dataForm.payer" :disabled="judgeWrite('payer')" @change="changeData('payer',-1)"
clearable placeholder="请输入" :style='{"width":"100%"}'> clearable placeholder="请输入" :style='{"width":"100%"}'>
</u-input> </u-input>
</u-form-item> </u-form-item>
</view> </view>
<view class="u-p-l-20 u-p-r-20 form-item-box">
<u-form-item v-if="judgeShow('payer')" :required="requiredList.payer" label="付款方" prop="payer">
<u-input v-model="dataForm.payer2" :disabled="judgeWrite('payer')" @change="changeData('payer',-1)"
clearable placeholder="请输入" :style='{"width":"100%"}'>
</u-input>
</u-form-item>
</view>
<view class="u-p-l-20 u-p-r-20 form-item-box"> <view class="u-p-l-20 u-p-r-20 form-item-box">
<u-form-item v-if="judgeShow('applyAmount')" :required="requiredList.applyAmount" label="申请金额" <u-form-item v-if="judgeShow('applyAmount')" :required="requiredList.applyAmount" label="申请金额"
prop="applyAmount"> prop="applyAmount">
@ -191,6 +198,7 @@
contractId: "", contractId: "",
payee: '', payee: '',
payer: '', payer: '',
payer2: '',
applyAmount: 0, applyAmount: 0,
caseStatus: "1", caseStatus: "1",
remark: '', remark: '',
@ -686,6 +694,13 @@
dataInfo(dataAll) { dataInfo(dataAll) {
let _dataAll = dataAll let _dataAll = dataAll
this.dataForm = _dataAll this.dataForm = _dataAll
if(this.dataForm.payer && this.dataForm.payer != ''){
var aa = this.dataForm.payer.split("/");
aa.reverse();
var str = aa.join('/');
this.dataForm.payer2 = str;
}
this.isEdit = true this.isEdit = true
this.dataAll() this.dataAll()
if(!_dataAll.paymentapplicationsettlementList){ if(!_dataAll.paymentapplicationsettlementList){
@ -707,4 +722,26 @@
page { page {
background-color: #f0f2f6; background-color: #f0f2f6;
} }
/* .uni-input-wrapper {
color: #303133 !important;
font-size: 16px !important;
}
.u-input__input {
color: #303133 !important;
font-size: 16px !important;
} */
</style>
<style scoped>
/* page {
background-color: #f0f2f6;
}
.uni-input-wrapper {
color: #303133 !important;
font-size: 16px !important;
} */
/* .u-form-item {
color: #303133 !important;
font-size: 16px !important;
} */
</style> </style>

@ -648,9 +648,6 @@
} }
setTimeout(() => { setTimeout(() => {
this.$nextTick(() => { this.$nextTick(() => {
console.log('aaaaaaaaaaa', this.$refs.child);
console.log('bbbbbbbbbbb', this.$refs.child.$refs.form);
console.log('ccccccccccc', this.$refs.child.$refs.form.init);
if (!this.$refs.child || !this.$refs.child.$refs.form || !this.$refs if (!this.$refs.child || !this.$refs.child.$refs.form || !this.$refs
.child.$refs.form.init) { .child.$refs.form.init) {
uni.showToast({ uni.showToast({

@ -1093,19 +1093,19 @@ public class CwsettlementServiceImpl extends ServiceImpl<CwsettlementMapper, Cws
yunguanSaleSettlementModel.setATTRIBUTE4(contractLEntity.getContractNo()); yunguanSaleSettlementModel.setATTRIBUTE4(contractLEntity.getContractNo());
yunguanSaleSettlementModel.setCREATE_EMP_ID(cwsettlementEntity.getCreatorUserId()); yunguanSaleSettlementModel.setCREATE_EMP_ID(cwsettlementEntity.getCreatorUserId());
yunguanSaleSettlementModel.setCREATE_DTM(cwsettlementEntity.getCreatorTime()); yunguanSaleSettlementModel.setCREATE_DTM(cwsettlementEntity.getCreatorTime());
yunguanSaleSettlementModel.setINVOICE_AMOUNT(cwsettlementEntity.getINVOICE_AMOUNT()); yunguanSaleSettlementModel.setINVOICE_AMOUNT(cwsettlementEntity.getInvoiceAmount());
yunguanSaleSettlementModel.setINVOICE_CNT(cwsettlementEntity.getINVOICE_CNT()); yunguanSaleSettlementModel.setINVOICE_CNT(cwsettlementEntity.getInvoiceCnt());
yunguanSaleSettlementModel.setATTRIBUTE11(cwsettlementEntity.getATTRIBUTE11()); yunguanSaleSettlementModel.setATTRIBUTE11(cwsettlementEntity.getAttribute11());
yunguanSaleSettlementModel.setINVOICE_DATE(cwsettlementEntity.getINVOICE_DATE()); yunguanSaleSettlementModel.setINVOICE_DATE(cwsettlementEntity.getInvoiceDate());
yunguanSaleSettlementModel.setINVOICE_TYPE(cwsettlementEntity.getINVOICE_TYPE()); yunguanSaleSettlementModel.setINVOICE_TYPE(cwsettlementEntity.getInvoiceType());
yunguanSaleSettlementModel.setINVOICE_NO(cwsettlementEntity.getINVOICE_NO()); yunguanSaleSettlementModel.setINVOICE_NO(cwsettlementEntity.getInvoiceNo());
yunguanSaleSettlementModel.setINVOICE_CURRENCY("CNY"); yunguanSaleSettlementModel.setINVOICE_CURRENCY("CNY");
yunguanSaleSettlementModel.setTAX_RATE_CODE("VAT_IN_" + cwsettlementForm.getCwsettlementsummaryList().get(0).getRate()); yunguanSaleSettlementModel.setTAX_RATE_CODE("VAT_IN_" + cwsettlementForm.getCwsettlementsummaryList().get(0).getRate());
yunguanSaleSettlementModel.setTAX_RATE(cwsettlementForm.getCwsettlementsummaryList().get(0).getRate()); yunguanSaleSettlementModel.setTAX_RATE(cwsettlementForm.getCwsettlementsummaryList().get(0).getRate());
yunguanSaleSettlementModel.setTAX_RATE_CAL(cwsettlementForm.getCwsettlementsummaryList().get(0).getRate()); yunguanSaleSettlementModel.setTAX_RATE_CAL(cwsettlementForm.getCwsettlementsummaryList().get(0).getRate());
yunguanSaleSettlementModel.setEXCHANGE_RATE(1); yunguanSaleSettlementModel.setEXCHANGE_RATE(1);
yunguanSaleSettlementModel.setEXCHANGE_DATE(null); yunguanSaleSettlementModel.setEXCHANGE_DATE(null);
yunguanSaleSettlementModel.setGL_DATE(cwsettlementEntity.getGL_DATE()); yunguanSaleSettlementModel.setGL_DATE(cwsettlementEntity.getGlDate());
BigDecimal ATTRIBUTE1 = new BigDecimal("0"); BigDecimal ATTRIBUTE1 = new BigDecimal("0");
BigDecimal TAX = new BigDecimal("0"); BigDecimal TAX = new BigDecimal("0");
for (CwsettlementsummaryModel cwsettlementsummaryModel : cwsettlementForm.getCwsettlementsummaryList()) { for (CwsettlementsummaryModel cwsettlementsummaryModel : cwsettlementForm.getCwsettlementsummaryList()) {
@ -1114,8 +1114,8 @@ public class CwsettlementServiceImpl extends ServiceImpl<CwsettlementMapper, Cws
} }
yunguanSaleSettlementModel.setATTRIBUTE1(ATTRIBUTE1.toString()); yunguanSaleSettlementModel.setATTRIBUTE1(ATTRIBUTE1.toString());
yunguanSaleSettlementModel.setTAX(TAX); yunguanSaleSettlementModel.setTAX(TAX);
yunguanSaleSettlementModel.setDESCRIPTION(cwsettlementEntity.getDESCRIPTION()); yunguanSaleSettlementModel.setDESCRIPTION(cwsettlementEntity.getDescription());
yunguanSaleSettlementModel.setANNEX_CNT(cwsettlementEntity.getANNEX_CNT()); yunguanSaleSettlementModel.setANNEX_CNT(cwsettlementEntity.getAnnexCnt());
yunguanSaleSettlementModel.setERP_FLAG("N"); yunguanSaleSettlementModel.setERP_FLAG("N");
yunguanSaleSettlementModel.setERP_USER(cwsettlementEntity.getCreatorUserId()); yunguanSaleSettlementModel.setERP_USER(cwsettlementEntity.getCreatorUserId());
yunguanSaleSettlementModel.setERP_DTM(cwsettlementEntity.getCreatorTime()); yunguanSaleSettlementModel.setERP_DTM(cwsettlementEntity.getCreatorTime());

@ -2,6 +2,7 @@ package jnpf.entity;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
import java.math.BigDecimal; import java.math.BigDecimal;
@ -117,26 +118,24 @@ public class CwsettlementEntity {
@TableField(exist = false) @TableField(exist = false)
private String realNameA; private String realNameA;
@TableField("INVOICE_DATE") @TableField("INVOICE_DATE")
private Date INVOICE_DATE; private Date invoiceDate;
@TableField("INVOICE_CNT") @TableField("INVOICE_CNT")
private int INVOICE_CNT; private int invoiceCnt;
@TableField("INVOICE_NO") @TableField("INVOICE_NO")
private String INVOICE_NO; private String invoiceNo;
@TableField("INVOICE_TYPE") @TableField("INVOICE_TYPE")
private String INVOICE_TYPE; private String invoiceType;
@JSONField(name = "ATTRIBUTE11") @TableField("ATTRIBUTE11")
private String ATTRIBUTE11; private String attribute11;
@JSONField(name = "INVOICE_AMOUNT") @TableField("INVOICE_AMOUNT")
private BigDecimal INVOICE_AMOUNT; private BigDecimal invoiceAmount;
@TableField("GL_DATE") @TableField("GL_DATE")
private Date GL_DATE; private Date glDate;
@JSONField(name = "DESCRIPTION") @TableField("DESCRIPTION")
private String DESCRIPTION; private String description;
@TableField("ANNEX_CNT") @TableField("ANNEX_CNT")
private int ANNEX_CNT; private int annexCnt;
@TableField("erp_mark") @TableField("erp_mark")
private String erpMark; private String erpMark;
@TableField("erp_massage") @TableField("erp_massage")

@ -82,7 +82,8 @@ public class CwsettlementsummaryEntity {
private String lineNo; private String lineNo;
@TableField("DESCRIPTION") @TableField("DESCRIPTION")
private String description; private String description;
@TableField("ITEM_NM_INV")
private String itemNmInv;
@TableField("ord_ln") @TableField("ord_ln")
private String ordLn; private String ordLn;
@TableField("business_code") @TableField("business_code")

@ -1,5 +1,6 @@
package jnpf.model.cwsettlement; package jnpf.model.cwsettlement;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data; import lombok.Data;
@ -131,6 +132,38 @@ public class CwsettlementForm {
/** 备注 **/ /** 备注 **/
@JsonProperty("remark") @JsonProperty("remark")
private String remark; private String remark;
@JsonProperty("bookDate")
private Date bookDate; private Date bookDate;
@JsonProperty("custTy")
private String custTy; private String custTy;
@JsonProperty("INVOICE_DATE")
private Date invoiceDate;
@JsonProperty("INVOICE_CNT")
private int invoiceCnt;
@JsonProperty("INVOICE_NO")
private String invoiceNo;
@JsonProperty("INVOICE_TYPE")
private String invoiceType;
@JsonProperty("ATTRIBUTE11")
private String attribute11;
@JsonProperty("INVOICE_AMOUNT")
private BigDecimal invoiceAmount;
@JsonProperty("GL_DATE")
private Date glDate;
@JsonProperty("DESCRIPTION")
private String description;
@JsonProperty("ANNEX_CNT")
private int annexCnt;
@JsonProperty("erpMark")
private String erpMark;
@JsonProperty("erpMassage")
private String erpMassage;
@JsonProperty("erpTime")
private Date erpTime;
@JsonProperty("yunguanMark")
private String yunguanMark;
@JsonProperty("yunguanMassage")
private String yunguanMassage;
@JsonProperty("yunguanTime")
private Date yunguanTime;
} }

@ -76,4 +76,6 @@ public class CwsettlementsummaryModel {
private String warehouseName; private String warehouseName;
@JSONField(name = "storageNumber") @JSONField(name = "storageNumber")
private BigDecimal storageNumber; private BigDecimal storageNumber;
@JSONField(name = "lineNo")
private String lineNo;
} }

@ -1320,6 +1320,94 @@
</JnpfInput> </JnpfInput>
</jnpf-form-tip-item> </jnpf-form-tip-item>
</el-col> </el-col>
<el-col :span="8">
<jnpf-form-tip-item label="发票日期" prop="invoiceDate">
<JnpfDatePicker v-model="dataForm.invoiceDate" @change="changeData('startTime',-1)"
:startTime="dateTime(false,1,1,'','')" :endTime="dateTime(false,1,1,'','')" placeholder="请选择"
:disabled="judgeWrite('settlableAmount')" clearable :style='{"width":"100%"}' type="date" format="yyyy-MM-dd">
</JnpfDatePicker>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="发票张数"
prop="invoiceCnt">
<JnpfInputNumber v-model="dataForm.invoiceCnt"
@change="changeData('invoiceCnt', -1)" placeholder="请输入"
:disabled="judgeWrite('settlableAmount')" addonAfter="张" clearable
:style='{ "width": "100%" }'>
</JnpfInputNumber>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="发票编号"
prop="invoiceNo">
<JnpfInput v-model="dataForm.invoiceNo"
@change="changeData('settlableAmount',-1)" placeholder="请输入"
clearable :style='{"width":"100%"}'>
</JnpfInput>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="发票类型" prop="invoiceType">
<JnpfSelect v-model="dataForm.invoiceType" @change="changeData('settlableAmount',-1)"
:disabled="judgeWrite('settlableAmount')" optionType="button" direction="horizontal"
:options="invoiceTypeOptions" :props="invoiceTypeProps">
</JnpfSelect>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="发票编号"
prop="attribute11">
<JnpfInput v-model="dataForm.attribute11"
@change="changeData('attribute11',-1)" placeholder="请输入"
clearable :style='{"width":"100%"}'>
</JnpfInput>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="发票金额"
prop="invoiceAmount">
<JnpfInput v-model="dataForm.invoiceAmount"
@change="changeData('invoiceAmount',-1)" placeholder="请输入"
addonAfter="元" clearable :style='{"width":"100%"}'>
</JnpfInput>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="入账时间" prop="glDate">
<JnpfDatePicker v-model="dataForm.glDate" @change="changeData('startTime',-1)"
:startTime="dateTime(false,1,1,'','')" :endTime="dateTime(false,1,1,'','')" placeholder="请选择"
:disabled="judgeWrite('settlableAmount')" clearable :style='{"width":"100%"}' type="date" format="yyyy-MM-dd">
</JnpfDatePicker>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="摘要"
prop="description">
<JnpfInput v-model="dataForm.description"
@change="changeData('settlableAmount',-1)" placeholder="请输入"
clearable :style='{"width":"100%"}'>
</JnpfInput>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="附件张数"
prop="annexCnt">
<JnpfInputNumber v-model="dataForm.annexCnt"
@change="changeData('annexCnt', -1)" placeholder="请输入"
:disabled="judgeWrite('settlableAmount')" addonAfter="张" clearable
:style='{ "width": "100%" }'>
</JnpfInputNumber>
</jnpf-form-tip-item>
</el-col>
<!-- <el-col :span="8" v-if="judgeShow('applyAmount')"> <!-- <el-col :span="8" v-if="judgeShow('applyAmount')">
<jnpf-form-tip-item label="申请金额" v-if="judgeShow('applyAmount')" prop="applyAmount"> <jnpf-form-tip-item label="申请金额" v-if="judgeShow('applyAmount')" prop="applyAmount">
<JnpfInput v-model="dataForm.applyAmount" @change="changeData('applyAmount',-1)" placeholder="请输入" <JnpfInput v-model="dataForm.applyAmount" @change="changeData('applyAmount',-1)" placeholder="请输入"
@ -1341,14 +1429,14 @@
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">结算汇总</span> <span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">结算汇总</span>
</div> </div>
</el-col> </el-col>
<el-col :span="8"> <!-- <el-col :span="8">
<jnpf-form-tip-item label="汇总类型"> <jnpf-form-tip-item label="汇总类型">
<JnpfSelect v-model="dataForm.summaryType" @change="changeData('summaryType', -1)" <JnpfSelect v-model="dataForm.summaryType" @change="changeData('summaryType', -1)"
placeholder="请选择" :disabled="judgeWrite('remark')" :style='{ "width": "100%" }' placeholder="请选择" :disabled="judgeWrite('remark')" :style='{ "width": "100%" }'
:options="summaryTypeOptions" :props="summaryTypeProps"> :options="summaryTypeOptions" :props="summaryTypeProps">
</JnpfSelect> </JnpfSelect>
</jnpf-form-tip-item> </jnpf-form-tip-item>
</el-col> </el-col> -->
<el-col :span="24" v-if="judgeShow('cwsettlementpaymentreceipt-${html.relationField}')"> <el-col :span="24" v-if="judgeShow('cwsettlementpaymentreceipt-${html.relationField}')">
<jnpf-form-tip-item label-width="0"> <jnpf-form-tip-item label-width="0">
@ -1372,6 +1460,32 @@
</JnpfPopupSelect> </JnpfPopupSelect>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="开票商品名称" v-if="judgeShow('cwsettlementsummary-itemNmInv')" prop="itemNmInv"
align="center" width="200">
<template slot="header">
<span class="required-sign"
v-if="judgeRequired('cwsettlementsummaryList-itemNmInv')">*</span>开票商品名称
</template>
<template slot-scope="scope">
<JnpfInput v-model="scope.row.itemNmInv"
@change="changeData('cwsettlementsummary-itemNmInv',scope.$index)"
placeholder="请输入" clearable :style='{"width":"100%"}'>
</JnpfInput>
</template>
</el-table-column>
<el-table-column label="摘要" v-if="judgeShow('cwsettlementsummary-description')" prop="description"
align="center" width="200">
<template slot="header">
<span class="required-sign"
v-if="judgeRequired('cwsettlementsummaryList-description')">*</span>摘要
</template>
<template slot-scope="scope">
<JnpfInput v-model="scope.row.description"
@change="changeData('cwsettlementsummary-description',scope.$index)"
placeholder="请输入" clearable :style='{"width":"100%"}'>
</JnpfInput>
</template>
</el-table-column>
<el-table-column label="规格" v-if="judgeShow('cwsettlementsummary-spec')" prop="spec" <el-table-column label="规格" v-if="judgeShow('cwsettlementsummary-spec')" prop="spec"
align="center" width="150"> align="center" width="150">
<template slot="header"> <template slot="header">
@ -1859,6 +1973,15 @@ export default {
settlableAmount: 0, settlableAmount: 0,
applyAmount: 0, applyAmount: 0,
remark: undefined, remark: undefined,
invoiceDate: undefined,
invoiceCnt: undefined,
invoiceNo: undefined,
invoiceType: undefined,
attribute11: undefined,
invoiceAmount: undefined,
glDate: undefined,
description: undefined,
annexCnt: undefined,
cwsettlementsubjectList: [], cwsettlementsubjectList: [],
cwsettlementcontractList: [], cwsettlementcontractList: [],
cwsettlementaccountList: [], cwsettlementaccountList: [],
@ -2177,6 +2300,17 @@ export default {
"label": "fullName", "label": "fullName",
"value": "id" "value": "id"
}, },
invoiceTypeOptions: [{
"fullName": "红冲发票",
"id": "1"
},{
"fullName": "标准发票",
"id": "2"
}],
invoiceTypeProps: {
"label": "fullName",
"value": "id"
},
costBearingMianOptions: [{ costBearingMianOptions: [{
"fullName": "甲方", "fullName": "甲方",
"id": "1" "id": "1"

Loading…
Cancel
Save