|
@@ -137,12 +137,65 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog :visible.sync="isCountShow1" title="结算单">
|
|
|
|
+ <div class="content" v-if="true">
|
|
|
|
+ <div class="title">磅码单</div>
|
|
|
|
+ <div class="title">{{tableData.code}}</div>
|
|
|
|
+ <table class="table">
|
|
|
|
+ <tr class="row">
|
|
|
|
+ <td class="col col-bgc">单位</td>
|
|
|
|
+ <td class="col" colspan="4">{{tableData.companyName}}</td>
|
|
|
|
+ <td class="col col-bgc">类型</td>
|
|
|
|
+ <td class="col"colspan="1">{{tableData.inOutType}}</td>
|
|
|
|
+ <td class="col col-bgc">车牌号</td>
|
|
|
|
+ <td class="col" colspan="1">{{tableData.carNo}}</td>
|
|
|
|
+
|
|
|
|
+ </tr>
|
|
|
|
+ <tr class="row">
|
|
|
|
+ <td class="col col-bgc">仓库</td>
|
|
|
|
+ <td class="col" colspan="4">{{tableData.warehouseName}}</td>
|
|
|
|
+ <td class="col col-bgc">仓位</td>
|
|
|
|
+ <td class="col" colspan="1">{{tableData.binNumber}}</td>
|
|
|
|
+ <td class="col col-bgc">货名</td>
|
|
|
|
+ <td class="col" colspan="1">{{tableData.goodsName}}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr class="row">
|
|
|
|
+ <td class="col col-bgc">毛重(公斤)</td>
|
|
|
|
+ <td class="col" colspan="1">{{tableData.grossWeight}}</td>
|
|
|
|
+ <td class="col col-bgc">皮重(公斤)</td>
|
|
|
|
+ <td class="col" colspan="2">{{tableData.tare}}</td>
|
|
|
|
+ <td class="col col-bgc">扣重(公斤)</td>
|
|
|
|
+ <td class="col" colspan="1">{{tableData.weight}}</td>
|
|
|
|
+ <td class="col col-bgc">净重(公斤)</td>
|
|
|
|
+ <td class="col" colspan="1">{{tableData.netWeight}}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ <div class="bottom">
|
|
|
|
+ <div style='justify-content: space-between;' class="bottom-row1">
|
|
|
|
+ <div class="config">毛检:{{tableData.secretaryWeigher}}皮检:{{tableData.skinInspector}}</div>
|
|
|
|
+ <div class="autograph">日期:{{tableData.inOutDate}}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-dialog>
|
|
|
|
+ <el-dialog width="70%" class="table-content" center :visible.sync="isShowPrint"
|
|
|
|
+ :title="printData.compName + '结算凭证'">
|
|
|
|
+ <!-- selectCustomerList:[],
|
|
|
|
+ selectPrintList: [], -->
|
|
|
|
+ <paymentPrint :printData="printData" :customerInfo="customerList" :showType="ruleForm.type"></paymentPrint>
|
|
|
|
+ <div style="text-align: center">
|
|
|
|
+ <el-button type="primary" @click="isShowPrint = false">关闭</el-button>
|
|
|
|
+ <!-- <el-button type="primary" @click="printSmall">打印小票</el-button> -->
|
|
|
|
+ <el-button type="primary" @click="printBig">打印单据</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import {
|
|
import {
|
|
getList,
|
|
getList,
|
|
- getrecord
|
|
|
|
|
|
+ getrecord,
|
|
|
|
+ getwarehousecount
|
|
} from '@/model/tradeServicesManagement/index'
|
|
} from '@/model/tradeServicesManagement/index'
|
|
export default {
|
|
export default {
|
|
components: {},
|
|
components: {},
|
|
@@ -161,6 +214,7 @@
|
|
pageSize:10,
|
|
pageSize:10,
|
|
searchType:'',
|
|
searchType:'',
|
|
isCountShow:false,
|
|
isCountShow:false,
|
|
|
|
+ isShowPrint:false,
|
|
isShowPrintType:false,
|
|
isShowPrintType:false,
|
|
deptBudgetList:{},
|
|
deptBudgetList:{},
|
|
pickerOptions:[],
|
|
pickerOptions:[],
|
|
@@ -226,10 +280,19 @@ warehouseName: "erp测试库",
|
|
if(status==1){
|
|
if(status==1){
|
|
this.isCountShow=true
|
|
this.isCountShow=true
|
|
this.tableData=item
|
|
this.tableData=item
|
|
- this.tableData.code=
|
|
|
|
|
|
+ getwarehousecount({
|
|
|
|
+ // positionId:this.deptBudgetList.positionId,
|
|
|
|
+ positionId: "6a46921d2f7a468d9c73663d6c28e294",
|
|
|
|
+ inOutFlag:item.inOutFlag
|
|
|
|
+ }).toPromise()
|
|
|
|
+ .then((res) => {
|
|
|
|
+ console.log(res)
|
|
|
|
+ })
|
|
|
|
+ this.tableData.code=this.getdate()+item.commonWarehouseNo
|
|
console.log(this.tableData)
|
|
console.log(this.tableData)
|
|
}else{
|
|
}else{
|
|
-
|
|
|
|
|
|
+ this.isShowPrint=true
|
|
|
|
+ this.tableData=item
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getdate() {
|
|
getdate() {
|