1
This commit is contained in:
parent
5162156045
commit
508e0fa37e
|
|
@ -112,7 +112,7 @@
|
|||
v-model="scope.row.shelvesNum"
|
||||
:min="0"
|
||||
:max="scope.row.goodsNum"
|
||||
:disabled="scope.row.orderStatus == 1"
|
||||
:disabled="scope.row.sts == 1"
|
||||
></el-input-number>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
@ -313,6 +313,13 @@ export default {
|
|||
if (element.shelvesNum == undefined || element.shelvesNum == 0) {
|
||||
element.shelvesNum = element.goodsNum - element.pickNum;
|
||||
}
|
||||
if(element.orderStatus == 1){
|
||||
element.sts = 1;
|
||||
}
|
||||
if(element.goodsNum == element.pickNum){
|
||||
element.sts = 1;
|
||||
element.shelvesNum = 0;
|
||||
}
|
||||
});
|
||||
this.single = selection.length!==1
|
||||
this.multiple = !selection.length
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user