|
@@ -121,16 +121,91 @@
|
|
style="background-color: #1c84c6"
|
|
style="background-color: #1c84c6"
|
|
>
|
|
>
|
|
<div ref="print" style="color: #000000">
|
|
<div ref="print" style="color: #000000">
|
|
- <h1 style="text-align: center;font-weight:bold">{{ formList.fsbuName }}</h1>
|
|
|
|
- <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
- <div style="width: 200px;height: 20px;font-size: 14px;">客户项目:{{ projectName }}</div>
|
|
|
|
- <div style="width: 200px;height: 20px;font-size: 14px;">销售出库单</div>
|
|
|
|
- <div style="width: 200px;height: 20px;font-size: 14px;">出库日期:{{ formList.fBsdate }}</div>
|
|
|
|
|
|
+ <div v-if="formList.fsbuName === '青岛安品餐饮服务有限公司'">
|
|
|
|
+ <h1 style="text-align: center;font-weight:bold">{{ formList.fsbuName }}</h1>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">客户项目:{{ projectName }}</div>
|
|
|
|
+ <div style="width: 200px;height: 20px;font-size: 14px;">销售出库单</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">出库日期:{{ formList.fBsdate }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">公司电话:{{ formList.fsbuTel }}</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">编号:{{formList.corpsNo}}{{ formList.fBillno? formList.fBillno.substring(2): formList.fBillno }}</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
- <div style="width: 200px;height: 20px;font-size: 14px;">公司电话:{{ formList.fsbuTel }}</div>
|
|
|
|
- <div style="width: 200px;height: 20px;font-size: 14px;">编号:{{ formList.fBillno }}</div>
|
|
|
|
|
|
+ <div v-else-if="formList.fsbuName === '青岛安品餐饮管理有限公司'">
|
|
|
|
+ <h1 style="text-align: center;font-weight:bold">{{ formList.fsbuName }}-出库单</h1>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">客户项目:{{ projectName }}</div>
|
|
|
|
+<!-- <div style="width: 200px;height: 20px;font-size: 14px;">销售出库单</div>-->
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">出库日期:{{ formList.fBsdate }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">公司电话:{{ formList.fsbuTel }}</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">编号:{{formList.corpsNo}}{{ formList.fBillno? formList.fBillno.substring(2): formList.fBillno }}</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-else-if="formList.fsbuName === '青岛弘益祥粮油有限公司'">
|
|
|
|
+ <h1 style="text-align: center;font-weight:bold">{{ formList.fsbuName }}</h1>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">公司电话:{{ formList.fsbuTel }}</div>
|
|
|
|
+ <div style="width: 200px;height: 20px;font-size: 14px;">销售单</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">出库日期:{{ formList.fBsdate }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">客户项目:{{ projectName }}</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">编号:{{formList.corpsNo}}{{ formList.fBillno? formList.fBillno.substring(2): formList.fBillno }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else-if="formList.fsbuName === '青岛锦圣康海产品有限公司'">
|
|
|
|
+ <h1 style="text-align: center;font-weight:bold">{{ formList.fsbuName }}-销售单</h1>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">编号:{{formList.corpsNo}}{{ formList.fBillno? formList.fBillno.substring(2): formList.fBillno }}</div>
|
|
|
|
+<!-- <div style="width: 200px;height: 20px;font-size: 14px;">销售出库单</div>-->
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">公司电话:{{ formList.fsbuTel }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">出库日期:{{ formList.fBsdate }}</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">客户项目:{{ projectName }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else-if="formList.fsbuName === '青岛盛元嘉蔬菜配送有限公司'">
|
|
|
|
+ <h1 style="text-align: center;font-weight:bold">销售出库-{{ formList.fsbuName }}</h1>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">客户项目:{{ projectName }}</div>
|
|
|
|
+<!-- <div style="width: 200px;height: 20px;font-size: 14px;">销售出库单</div>-->
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">编号:{{formList.corpsNo}}{{ formList.fBillno? formList.fBillno.substring(2): formList.fBillno }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">出库日期:{{ formList.fBsdate }}</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">公司电话:{{ formList.fsbuTel }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else-if="formList.fsbuName === '青岛优利安肉食有限公司'">
|
|
|
|
+ <h1 style="text-align: center;font-weight:bold">销售单 {{ formList.fsbuName }}</h1>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">编号:{{formList.corpsNo}}{{ formList.fBillno? formList.fBillno.substring(2): formList.fBillno }}</div>
|
|
|
|
+<!-- <div style="width: 200px;height: 20px;font-size: 14px;">销售出库单</div>-->
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">客户项目:{{ projectName }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">出库日期:{{ formList.fBsdate }}</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">公司电话:{{ formList.fsbuTel }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ <h1 style="text-align: center;font-weight:bold">{{ formList.fsbuName }}</h1>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">客户项目:{{ projectName }}</div>
|
|
|
|
+ <div style="width: 200px;height: 20px;font-size: 14px;">销售出库单</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">出库日期:{{ formList.fBsdate }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">公司电话:{{ formList.fsbuTel }}</div>
|
|
|
|
+ <div style="width: 250px;height: 20px;font-size: 14px;">编号:{{formList.corpsNo}}{{ formList.fBillno? formList.fBillno.substring(2): formList.fBillno }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
<table class="table table-striped table-bordered" align="center" valign="center">
|
|
<table class="table table-striped table-bordered" align="center" valign="center">
|
|
<tr>
|
|
<tr>
|
|
<td class="column" style="width: 8%;">行号</td>
|
|
<td class="column" style="width: 8%;">行号</td>
|
|
@@ -170,7 +245,7 @@
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
<div style="display: flex;justify-content: space-between;margin-top: 20px">
|
|
<div style="display: flex;justify-content: space-between;margin-top: 20px">
|
|
- <div style="width: 200px;height: 20px;font-size: 14px;">发货人:</div>
|
|
|
|
|
|
+ <div style="width: 200px;height: 20px;font-size: 14px;">发货人:{{formList.manage}}</div>
|
|
<div style="width: 200px;height: 20px;font-size: 14px;">收货:</div>
|
|
<div style="width: 200px;height: 20px;font-size: 14px;">收货:</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -1054,7 +1129,7 @@ export default {
|
|
//查询公司
|
|
//查询公司
|
|
fCompany(name) {
|
|
fCompany(name) {
|
|
company(name).then(res => {
|
|
company(name).then(res => {
|
|
- // console.log(res)
|
|
|
|
|
|
+ console.log(res)
|
|
if (name == 3) {
|
|
if (name == 3) {
|
|
this.dataList.fCorpid = []
|
|
this.dataList.fCorpid = []
|
|
for (let item in res.data) {
|
|
for (let item in res.data) {
|