|
|
@@ -50,6 +50,7 @@
|
|
|
start-placeholder="开始日期"
|
|
|
end-placeholder="结束日期"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
+ clearable
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
@@ -253,6 +254,7 @@
|
|
|
value-format="yyyy-MM-dd"
|
|
|
type="date"
|
|
|
placeholder="选择日期"
|
|
|
+ clearable
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
@@ -1038,10 +1040,29 @@ export default {
|
|
|
//新增开票
|
|
|
addPayment() {
|
|
|
this.title = "开票新增";
|
|
|
- this.formData={}
|
|
|
- this.formData.invoiceTime= this.getTodayDate()
|
|
|
+ this.formData={
|
|
|
+ accountName:"",
|
|
|
+ revBankCardNum: "", //收入卡号
|
|
|
+ outBankCardNum: "", //支出卡号
|
|
|
+ biller: "", //开票员
|
|
|
+ invoiceBy: "", //开票方
|
|
|
+ invoiceMoney: "", //开票金额
|
|
|
+ invoiceNum: 1, //发票数
|
|
|
+ invoiceSubjects: "", //开票科目
|
|
|
+ invoiceSubjects1: "", //开票科目
|
|
|
+ invoiceSubjects2: "", //开票科目
|
|
|
+ invoiceTime: "", //开票日期
|
|
|
+ invoiceType: "", //发票类型
|
|
|
+ otherUnit: "", //对方单位
|
|
|
+ payoutMoney: 0, //进账金额
|
|
|
+ rate: 0, //税率
|
|
|
+ payoutTime: "", //进账日期
|
|
|
+ payMethod: [], //支付方式
|
|
|
+ fundUse: "", //资金用途
|
|
|
+ }
|
|
|
+ this.formData.invoiceTime= this.getTodayDate()
|
|
|
this.detailDialog = true;
|
|
|
- console.log(this.formData,222222222);
|
|
|
+
|
|
|
},
|
|
|
getTodayDate() {
|
|
|
const today = new Date();
|