|
@@ -321,6 +321,9 @@ $(document).ready(() => {
|
|
pos.estimate_qty = !checkZero(pos.real_qty)
|
|
pos.estimate_qty = !checkZero(pos.real_qty)
|
|
? ZhCalc.sub(ZhCalc.sub(pos.real_qty, pos.quantity), pos.end_qc_qty)
|
|
? ZhCalc.sub(ZhCalc.sub(pos.real_qty, pos.quantity), pos.end_qc_qty)
|
|
: null;
|
|
: null;
|
|
|
|
+ pos.final_1_qty = ZhCalc.add(pos.end_qc_minus_qty, pos.quantity);
|
|
|
|
+ pos.deal_final_1_qty = ZhCalc.add(pos.end_qc_minus_qty, pos.deal_qty);
|
|
|
|
+ pos.end_final_1_qty = ZhCalc.add(pos.end_qc_qty, pos.final_1_qty);
|
|
};
|
|
};
|
|
const stagePos = new StagePosData(stagePosSetting);
|
|
const stagePos = new StagePosData(stagePosSetting);
|
|
|
|
|
|
@@ -2014,6 +2017,7 @@ $(document).ready(() => {
|
|
},
|
|
},
|
|
selectionChanged: function (e, info) {
|
|
selectionChanged: function (e, info) {
|
|
stagePosSpreadObj.loadExprToInput(info.sheet);
|
|
stagePosSpreadObj.loadExprToInput(info.sheet);
|
|
|
|
+ console.log(SpreadJsObj.getSelectObject(info.sheet));
|
|
},
|
|
},
|
|
addPegs: function (pegs) {
|
|
addPegs: function (pegs) {
|
|
if (!pegs || pegs.length <= 0) return;
|
|
if (!pegs || pegs.length <= 0) return;
|