作者 xudada

分单BUG修复:

主单取舍问题;
分单付费方式取舍问题
@@ -2554,7 +2554,7 @@ export default { @@ -2554,7 +2554,7 @@ export default {
2554 cvd_value_for_carriage:'NVD', 2554 cvd_value_for_carriage:'NVD',
2555 cvd_value_for_customs:'NCV', 2555 cvd_value_for_customs:'NCV',
2556 cvd_amount_of_insurance:'XXX', 2556 cvd_amount_of_insurance:'XXX',
2557 - cvd_charge_prepaid:'CC', 2557 + cvd_charge_prepaid:'PP',
2558 cvd_charge_code:'', 2558 cvd_charge_code:'',
2559 cvd_currency_code:'CNY', 2559 cvd_currency_code:'CNY',
2560 }, 2560 },
@@ -2633,6 +2633,8 @@ export default { @@ -2633,6 +2633,8 @@ export default {
2633 const worksheetName = workbook.SheetNames[0]; 2633 const worksheetName = workbook.SheetNames[0];
2634 const worksheet = workbook.Sheets[worksheetName]; 2634 const worksheet = workbook.Sheets[worksheetName];
2635 if (worksheet) { 2635 if (worksheet) {
  2636 + const A1 = (worksheet['A1'] && worksheet['A1'].v) || '';
  2637 + const D1 = (worksheet['D1'] && worksheet['D1'].v) || '';
2636 const AF1 = (worksheet['AF1'] && worksheet['AF1'].v) || ''; 2638 const AF1 = (worksheet['AF1'] && worksheet['AF1'].v) || '';
2637 const A16 = (worksheet['A16'] && worksheet['A16'].v) || ''; 2639 const A16 = (worksheet['A16'] && worksheet['A16'].v) || '';
2638 const C16 = (worksheet['C16'] && worksheet['C16'].v) || ''; 2640 const C16 = (worksheet['C16'] && worksheet['C16'].v) || '';
@@ -2642,16 +2644,18 @@ export default { @@ -2642,16 +2644,18 @@ export default {
2642 const A22 = (worksheet['A22'] && worksheet['A22'].v) || ''; 2644 const A22 = (worksheet['A22'] && worksheet['A22'].v) || '';
2643 const C22 = (worksheet['C22'] && worksheet['C22'].v) || ''; 2645 const C22 = (worksheet['C22'] && worksheet['C22'].v) || '';
2644 const AE22 = (worksheet['AE22'] && worksheet['AE22'].v) || ''; 2646 const AE22 = (worksheet['AE22'] && worksheet['AE22'].v) || '';
  2647 + const Z16 = (worksheet['Z16'] && worksheet['Z16'].v) || '';
2645 const A3_ShipInfo = (worksheet['A3'] && worksheet['A3'].v) || ''; 2648 const A3_ShipInfo = (worksheet['A3'] && worksheet['A3'].v) || '';
2646 const A7_CNEInfo = (worksheet['A7'] && worksheet['A7'].v) || ''; 2649 const A7_CNEInfo = (worksheet['A7'] && worksheet['A7'].v) || '';
2647 2650
2648 - this.addForm.fhl.waybillNum = AF1; 2651 + this.addForm.fhl.waybillNum = A1+"-"+D1;;
2649 this.addForm.hbs.hbs_serial_number = AF1; 2652 this.addForm.hbs.hbs_serial_number = AF1;
2650 if (AF1) { 2653 if (AF1) {
2651 this.blur(); 2654 this.blur();
2652 } 2655 }
2653 this.addForm.hbs.hbs_origin = A16; 2656 this.addForm.hbs.hbs_origin = A16;
2654 this.addForm.cvd.cvd_currency_code = S16; 2657 this.addForm.cvd.cvd_currency_code = S16;
  2658 + this.addForm.cvd.cvd_charge_prepaid= Z16;
2655 this.addForm.hbs.hbs_destination = K16; 2659 this.addForm.hbs.hbs_destination = K16;
2656 this.addForm.hbs.hbs_pieces = A22; 2660 this.addForm.hbs.hbs_pieces = A22;
2657 this.addForm.hbs.hbs_weight = parseFloat(C22).toFixed(2); 2661 this.addForm.hbs.hbs_weight = parseFloat(C22).toFixed(2);
@@ -2733,6 +2737,8 @@ export default { @@ -2733,6 +2737,8 @@ export default {
2733 const worksheetName = workbook.SheetNames[0]; 2737 const worksheetName = workbook.SheetNames[0];
2734 const worksheet = workbook.Sheets[worksheetName]; 2738 const worksheet = workbook.Sheets[worksheetName];
2735 if (worksheet) { 2739 if (worksheet) {
  2740 + const A1 = (worksheet['A1'] && worksheet['A1'].v) || '';
  2741 + const D1 = (worksheet['D1'] && worksheet['D1'].v) || '';
2736 const AF1 = (worksheet['AF1'] && worksheet['AF1'].v) || ''; 2742 const AF1 = (worksheet['AF1'] && worksheet['AF1'].v) || '';
2737 const A16 = (worksheet['A16'] && worksheet['A16'].v) || ''; 2743 const A16 = (worksheet['A16'] && worksheet['A16'].v) || '';
2738 const S16 = (worksheet['S16'] && worksheet['S16'].v) || ''; 2744 const S16 = (worksheet['S16'] && worksheet['S16'].v) || '';
@@ -2740,16 +2746,18 @@ export default { @@ -2740,16 +2746,18 @@ export default {
2740 const A22 = (worksheet['A22'] && worksheet['A22'].v) || ''; 2746 const A22 = (worksheet['A22'] && worksheet['A22'].v) || '';
2741 const C22 = (worksheet['C22'] && worksheet['C22'].v) || ''; 2747 const C22 = (worksheet['C22'] && worksheet['C22'].v) || '';
2742 const AE22 = (worksheet['AE22'] && worksheet['AE22'].v) || ''; 2748 const AE22 = (worksheet['AE22'] && worksheet['AE22'].v) || '';
  2749 + const Z16 = (worksheet['Z16'] && worksheet['Z16'].v) || '';
2743 const A3_ShipInfo = (worksheet['A3'] && worksheet['A3'].v) || ''; 2750 const A3_ShipInfo = (worksheet['A3'] && worksheet['A3'].v) || '';
2744 const A7_CNEInfo = (worksheet['A7'] && worksheet['A7'].v) || ''; 2751 const A7_CNEInfo = (worksheet['A7'] && worksheet['A7'].v) || '';
2745 2752
2746 - this.addForm.fhl.waybillNum = AF1; 2753 + this.addForm.fhl.waybillNum =A1+"-"+D1;
2747 this.addForm.hbs.hbs_serial_number = AF1; 2754 this.addForm.hbs.hbs_serial_number = AF1;
2748 if (AF1) { 2755 if (AF1) {
2749 this.blur(); 2756 this.blur();
2750 } 2757 }
2751 this.addForm.hbs.hbs_origin = A16; 2758 this.addForm.hbs.hbs_origin = A16;
2752 this.addForm.cvd.cvd_currency_code = S16; 2759 this.addForm.cvd.cvd_currency_code = S16;
  2760 + this.addForm.cvd.cvd_charge_prepaid = Z16;
2753 this.addForm.hbs.hbs_destination = K16; 2761 this.addForm.hbs.hbs_destination = K16;
2754 this.addForm.hbs.hbs_pieces = A22; 2762 this.addForm.hbs.hbs_pieces = A22;
2755 this.addForm.hbs.hbs_weight = parseFloat(C22).toFixed(2); 2763 this.addForm.hbs.hbs_weight = parseFloat(C22).toFixed(2);
@@ -2904,7 +2912,7 @@ export default { @@ -2904,7 +2912,7 @@ export default {
2904 quantity_weight: '', 2912 quantity_weight: '',
2905 quantity_picecs: '', 2913 quantity_picecs: '',
2906 origin: '', 2914 origin: '',
2907 - destination: '', 2915 + destination: ''
2908 }, 2916 },
2909 shp: { 2917 shp: {
2910 shp_detail_identifier: 'TE', 2918 shp_detail_identifier: 'TE',
@@ -2931,7 +2939,7 @@ export default { @@ -2931,7 +2939,7 @@ export default {
2931 cvd_value_for_carriage: 'NVD', 2939 cvd_value_for_carriage: 'NVD',
2932 cvd_value_for_customs: 'NCV', 2940 cvd_value_for_customs: 'NCV',
2933 cvd_amount_of_insurance: 'XXX', 2941 cvd_amount_of_insurance: 'XXX',
2934 - cvd_charge_prepaid: 'CC', 2942 + cvd_charge_prepaid: 'PP',
2935 cvd_charge_code: '', 2943 cvd_charge_code: '',
2936 cvd_currency_code: 'CNY', 2944 cvd_currency_code: 'CNY',
2937 }, 2945 },