|
@@ -3269,6 +3269,7 @@ export default {
|
|
|
this.jFeetunitOptions = response.data;
|
|
|
});
|
|
|
this.getDicts("st_out_type").then((response) => {
|
|
|
+ console.log(response)
|
|
|
this.businessTypeOption = response.data;
|
|
|
});
|
|
|
this.getDicts("sys_car_type").then((response) => {
|
|
@@ -3547,6 +3548,7 @@ export default {
|
|
|
},
|
|
|
// 新增作业费协议
|
|
|
addAgreement(kye,status) {
|
|
|
+
|
|
|
this.costStatus = status
|
|
|
if (!this.form.fCorpid) {
|
|
|
this.$message({ message: "请维护货权方", type: "warning", });
|
|
@@ -3697,6 +3699,10 @@ export default {
|
|
|
// qty=(qty/1000).toFixed(2);
|
|
|
let fAmount = parseFloat(Number(this.dialogWhgenlegList[zhgen].fPrice) * Number(qty)).toFixed(2)
|
|
|
if(this.costStatus == '3' ){
|
|
|
+ let queryParams = { pageNum: 1, pageSize: 10, fDc:'D'};
|
|
|
+ listFees(queryParams).then((response) => {
|
|
|
+ this.fDNameOptions = response.rows;
|
|
|
+ });
|
|
|
this.warehouseDrList.push({
|
|
|
fQty: qty,
|
|
|
fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
@@ -3712,7 +3718,12 @@ export default {
|
|
|
fMarks:this.form.fMarks,
|
|
|
fBusinessType:this.$set(this.warehouseDrList,'fBusinessType',this.form.fBusinessType)
|
|
|
})
|
|
|
+
|
|
|
}else{
|
|
|
+ let queryParams = { pageNum: 1, pageSize: 10, fDc:'C'};
|
|
|
+ listFees(queryParams).then((response) => {
|
|
|
+ this.fCNameOptions = response.rows;
|
|
|
+ });
|
|
|
this.warehouseCrList.push({
|
|
|
fQty: qty,
|
|
|
fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
@@ -3728,6 +3739,7 @@ export default {
|
|
|
fMarks:this.form.fMarks,
|
|
|
fBusinessType:this.$set(this.warehouseCrList,'fBusinessType',this.form.fBusinessType)
|
|
|
})
|
|
|
+
|
|
|
}
|
|
|
// if (this.costStatus === 'Cr' ) {
|
|
|
// this.warehouseCrList.push({
|
|
@@ -4670,7 +4682,6 @@ export default {
|
|
|
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) {
|
|
|
if (listSelection[li].fId == this.dataList[i].fId) {
|
|
@@ -4745,7 +4756,6 @@ export default {
|
|
|
this.title = "修改仓入库";
|
|
|
this.warehousesssMethod()
|
|
|
});
|
|
|
-
|
|
|
this.$refs['form'].validate((valid) => {
|
|
|
for (let li in this.dataList) {
|
|
|
for(let list in this.fStorageTypeOptions){
|
|
@@ -4777,7 +4787,6 @@ export default {
|
|
|
this.$set(this.form, 'fBsdate', Date.parse(this.form.fBsdate))
|
|
|
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', Date.parse(this.form.fChargedate))
|
|
|
this.dataList = response.data.warehousebillsitems
|
|
|
for (let list in this.dataList) {
|
|
|
this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate));
|