|
@@ -2659,15 +2659,10 @@
|
|
|
style="padding-bottom: 0px; font-weight: bold;"
|
|
|
>车辆类型:{{ fCartype }}
|
|
|
</td>
|
|
|
- <td
|
|
|
- width="500"
|
|
|
- colspan="2"
|
|
|
- style="padding-bottom: 0px; font-weight: bold;"
|
|
|
- class="zzss"
|
|
|
- >
|
|
|
- 出库日期:{{ fBsdate }}
|
|
|
+ <td colspan="2">
|
|
|
+
|
|
|
</td>
|
|
|
- <td v-if="!fBstime" colspan="2" style="padding-bottom: 0; font-weight: bold;">出库时间</td>
|
|
|
+ <td width="500"v-if="!fBsdate || !fBstime" colspan="2" style="padding-bottom: 0; font-weight: bold;">入库时间:</td>
|
|
|
<td
|
|
|
v-else
|
|
|
width="500"
|
|
@@ -2675,7 +2670,7 @@
|
|
|
style="padding-bottom: 0px; font-weight: bold;"
|
|
|
class="zzss"
|
|
|
>
|
|
|
- 出库时间:{{ fBstime.slice(11,19) }}
|
|
|
+ 出库日期:{{ fBsdate }} {{ fBstime.slice(11,19) }}
|
|
|
</td>
|
|
|
</tr>
|
|
|
<!-- <tr v-for="(item, index) in printinglist" :key="index">-->
|
|
@@ -4038,8 +4033,8 @@ export default {
|
|
|
fcorpid: this.form.fCorpid,
|
|
|
ffeeid: null,
|
|
|
fFeeunitid: '',
|
|
|
- fQty: 0,
|
|
|
- funitprice: 0,
|
|
|
+ fQty: '',
|
|
|
+ funitprice: '',
|
|
|
fAmount: 0,
|
|
|
fCurrency: "RMB",
|
|
|
fExrate: 1,
|
|
@@ -4055,11 +4050,7 @@ export default {
|
|
|
//仓库电话、仓库联系人带入
|
|
|
warwhouseTel(){
|
|
|
for(let item in this.warehouseOptions){
|
|
|
- console.log(this.form.fWarehouseid)
|
|
|
- console.log(this.warehouseOptions)
|
|
|
if(this.form.fWarehouseid == this.warehouseOptions[item].fId){
|
|
|
-
|
|
|
- console.log(this.warehouseOptions[item].fTel)
|
|
|
this.form.fTel = this.warehouseOptions[item].fTel
|
|
|
this.form.fContacts = this.warehouseOptions[item].fContacts
|
|
|
}
|
|
@@ -4118,7 +4109,6 @@ export default {
|
|
|
});
|
|
|
this.loading = true;
|
|
|
listWarehousebills(this.queryParams).then((response) => {
|
|
|
- console.log(response)
|
|
|
this.warehousebillsList = response.rows;
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|
|
@@ -4321,7 +4311,6 @@ export default {
|
|
|
}
|
|
|
getWarehousebills(fId).then((response) => {
|
|
|
if (response.data.warehousebills) {
|
|
|
- console.log(response)
|
|
|
this.form = response.data.warehousebills;
|
|
|
this.before = this.form.createBy
|
|
|
this.$set(this.form,'fCartype',response.data.warehousebills.fCartype + '')
|
|
@@ -4562,7 +4551,7 @@ export default {
|
|
|
if (this.dataList[li].fNetweight) {
|
|
|
fNetweight = parseFloat(Number(fNetweight) + Number(this.dataList[li].fNetweight)).toFixed(2)
|
|
|
}
|
|
|
- if (this.dataList[li].volumn) {
|
|
|
+ if (this.dataList[li].fCntqty) {
|
|
|
fCntqty = parseFloat(Number(fCntqty) + Number(this.dataList[li].fCntqty)).toFixed(2)
|
|
|
}
|
|
|
}
|
|
@@ -4646,25 +4635,19 @@ export default {
|
|
|
this.dataWithdrawList = []
|
|
|
this.dataListSelection = []
|
|
|
this.msgSuccess("出库成功");
|
|
|
- console.log(this.form.fBillstatus)
|
|
|
this.$refs.tableList.clearSelection();
|
|
|
this.formBrowseStatus = true;
|
|
|
this.contrOl = true
|
|
|
this.form.fBillstatus = 40
|
|
|
for (let li in listSelection) {
|
|
|
for (let i in this.dataList) {
|
|
|
- console.log(this.dataList[i].fId)
|
|
|
- console.log(listSelection[li].fId)
|
|
|
if (listSelection[li].fId == this.dataList[i].fId) {
|
|
|
this.$set(this.dataList[i], "fBillstatus", 40);
|
|
|
- console.log(this.dataList[i].fBillstatus)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- console.log(this.form.fBillstatus)
|
|
|
getWarehousebills(this.form.fId).then((response) => {
|
|
|
if (response.data.warehousebills) {
|
|
|
- console.log(response)
|
|
|
this.form = response.data.warehousebills;
|
|
|
this.before = this.form.createBy
|
|
|
this.$set(this.form,'fCartype',response.data.warehousebills.fCartype + '')
|
|
@@ -4729,7 +4712,6 @@ export default {
|
|
|
this.open = true;
|
|
|
this.title = "修改仓入库";
|
|
|
this.warehousesssMethod()
|
|
|
- console.log(this.form.fBillstatus)
|
|
|
});
|
|
|
|
|
|
this.$refs['form'].validate((valid) => {
|
|
@@ -4754,7 +4736,6 @@ export default {
|
|
|
formData.append("warehousebillsfeesCr", JSON.stringify(this.warehouseCrList));
|
|
|
formData.append("warehousebillsfeesDr", JSON.stringify(this.warehouseDrList));
|
|
|
addWarehousebills(formData).then((response) => {
|
|
|
- console.log(response.data.warehouseBills)
|
|
|
this.form = response.data.warehouseBills
|
|
|
this.$set(this.form,'fCartype',response.data.warehouseBills.fCartype + '')
|
|
|
this.$set(this.form, 'fEta', Date.parse(this.form.fEta))
|
|
@@ -4772,7 +4753,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
}, 200);
|
|
|
- console.log(this.form.fBillstatus)
|
|
|
}
|
|
|
})
|
|
|
});
|
|
@@ -4797,7 +4777,6 @@ export default {
|
|
|
formData.append("warehousebillsitems", JSON.stringify(this.dataList));
|
|
|
formData.append("warehousebillsfeesCr", JSON.stringify(this.warehouseCrList));
|
|
|
formData.append("warehousebillsfeesDr", JSON.stringify(this.warehouseDrList));
|
|
|
- console.log(dataList)
|
|
|
for(let index in dataList){
|
|
|
if(dataList[index].fBillstatus < 20){
|
|
|
addJoblist(formData).then((response) => {
|
|
@@ -5019,9 +4998,7 @@ export default {
|
|
|
formData.append("warehousebillsfeesDr", JSON.stringify(this.warehouseDrList));
|
|
|
addWarehousebills(formData).then((response) => {
|
|
|
this.msgSuccess('保存成功')
|
|
|
- console.log(response.data.warehouseBills)
|
|
|
this.form = response.data.warehouseBills
|
|
|
- console.log(this.form.fBusinessType)
|
|
|
this.$set(this.form,'fCartype',response.data.warehouseBills.fCartype + '')
|
|
|
this.$set(this.form, 'fEta', Date.parse(this.form.fEta))
|
|
|
this.$set(this.form, 'fTrademodeid', this.form.fTrademodeid + '')
|
|
@@ -5031,7 +5008,6 @@ export default {
|
|
|
this.$set(this.form, 'createTime', Date.parse(this.form.createTime))
|
|
|
this.$set(this.form, 'fChargedate', Date.parse(this.form.fChargedate))
|
|
|
this.$set(this.form, 'fBusinessType', this.form.fBusinessType + '')
|
|
|
- console.log(this.form.fBusinessType)
|
|
|
this.dataList = response.data.warehousebillsitems
|
|
|
for (let list in this.dataList) {
|
|
|
this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate));
|