|
|
@@ -14,9 +14,9 @@
|
|
|
<div
|
|
|
v-for="(item1, index1) in list"
|
|
|
:key="index1"
|
|
|
- style="margin-bottom: 30px;"
|
|
|
+ style="margin-bottom: 30px;margin: 0px -10px 0px 5px;width: 85%;"
|
|
|
>
|
|
|
- <div style="page-break-after: always;width: 90%;margin: 0 auto;">
|
|
|
+ <div style="page-break-after: always;">
|
|
|
<!-- <div class="word-title">
|
|
|
<h4>采购入库单</h4>
|
|
|
</div>
|
|
|
@@ -43,13 +43,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div> -->
|
|
|
- <div>
|
|
|
+ <div style="margin: 0px -2px 0px 40px;">
|
|
|
<table :border="1">
|
|
|
<thead>
|
|
|
<tr class="title">
|
|
|
<th colspan="15">
|
|
|
<div class="word-title" style="background:#fff;">
|
|
|
- <h1>采购入库单1</h1>
|
|
|
+ <h1>采购入库单</h1>
|
|
|
</div>
|
|
|
<div class="tagBox">
|
|
|
<div>
|
|
|
@@ -61,12 +61,12 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="text-align: right;">
|
|
|
- <div style="font-size: 10px; padding-right: 8px;">采购订单编号:
|
|
|
- <span >{{item1[0].cai_gou_ding_dan_}}</span>
|
|
|
- </div>
|
|
|
- <div style="font-size: 10px; padding-right: 8px;">日期 :
|
|
|
+ <div style="font-size: 10px; padding-right: 8px; width: 175px;text-align: left;">日期 :
|
|
|
<span >{{item1[0].dao_ku_ri_qi_}}</span>
|
|
|
</div>
|
|
|
+ <div style="font-size: 10px; padding-right: 8px;">采购订单编号:
|
|
|
+ <span > {{item1[0].cai_gou_ding_dan_}}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</th>
|
|
|
@@ -302,11 +302,11 @@ export default {
|
|
|
id.forEach((item) => {
|
|
|
let sql = `select * FROM t_wljsysjlb WHERE id_='${item}'`;
|
|
|
repostCurd("sql", sql).then((res) => {
|
|
|
- debugger
|
|
|
+
|
|
|
let data = res.variables.data;
|
|
|
let s2 = `select a.NAME_,DATE_FORMAT(b.CREATE_TIME_,'%Y-%m-%d') AS CREATE_TIME_ FROM ibps_party_employee as a join ibps_bpm_oper_log as b on a.ID_ = b.CREATE_BY_ where b.PROC_INST_ID_ = ( SELECT PROC_INST_ID_ FROM ibps_bpm_bus_rel WHERE BUSINESSKEY_ = '${item}') AND b.NODE_ID_ = 'Activity_1pha4py' ORDER BY b.CREATE_TIME_ DESC LIMIT 1`;
|
|
|
repostCurd("sql", s2).then((res) => {
|
|
|
- debugger
|
|
|
+
|
|
|
name2 = res.variables.data[0].NAME_ || 0;
|
|
|
time2 = res.variables.data[0].CREATE_TIME_ || 0;
|
|
|
data["name2"] = name2;
|
|
|
@@ -316,7 +316,7 @@ export default {
|
|
|
let addshuie = 0;
|
|
|
let s3 = `select a.NAME_,DATE_FORMAT(b.CREATE_TIME_,'%Y-%m-%d') AS CREATE_TIME_ FROM ibps_party_employee as a join ibps_bpm_oper_log as b on a.ID_ = b.CREATE_BY_ where b.PROC_INST_ID_ = ( SELECT PROC_INST_ID_ FROM ibps_bpm_bus_rel WHERE BUSINESSKEY_ = '${item}' LIMIT 1) AND b.NODE_ID_ = 'Activity_04ff3k5' ORDER BY b.CREATE_TIME_ DESC LIMIT 1`;
|
|
|
repostCurd("sql", s3).then((res) => {
|
|
|
- debugger
|
|
|
+
|
|
|
if(res.variables.data.length >0){
|
|
|
name3 = res.variables.data[0].NAME_ || 0;
|
|
|
time3 = res.variables.data[0].CREATE_TIME_ || 0;
|