This commit is contained in:
zx
2026-02-13 10:21:25 +08:00
2 changed files with 16 additions and 9 deletions

View File

@@ -113,8 +113,9 @@
>否</span
>
<span v-else-if="scope.row.isDelivery === '1'">是</span>
<span v-else-if="scope.row.isDelivery === '2'">配送</span>
<span v-else-if="scope.row.isDelivery === '3'">配送完成</span>
<span v-else-if="scope.row.isDelivery === '2'">配送</span>
<span v-else-if="scope.row.isDelivery === '3'">配送</span>
<span v-else-if="scope.row.isDelivery === '4'">配送完成</span>
</template>
</el-table-column>
<el-table-column

View File

@@ -114,6 +114,7 @@
ref="infoTableRef"
highlight-current-row
@row-click="(row) => tableInfoRowClick(row, infoTableRef)"
@selection-change="printSelectionChange"
border>
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" type="index" width="70" />
@@ -347,7 +348,7 @@ const showSearch = ref(true);
const warehouseCode = ref(''); //所属仓库下拉数据
const printList = ref([]) //要打印的数据列表
const optionTime = ref([]) //入库时间
@@ -416,6 +417,11 @@ function getList() {
}
getList();
const printList = ref([]) //要打印的数据列表
const printSelectionChange = (selection) => {
printList.value = selection
}
// 获取总计
const totalMoney = ref(null)
const pcodeCount = ref(null)
@@ -560,12 +566,12 @@ function submitMoveForm() {
proxy.$modal.msgError("仓库不能为空");
return;
}
if (checkStockList.value[0].pcode == checkStockList.value[0].toPcode) {
proxy.$modal.msgError(
"不允许选择原来的库位" + checkStockList.value[0].pcode + ""
);
return;
}
// if (checkStockList.value[0].pcode == checkStockList.value[0].toPcode) {
// proxy.$modal.msgError(
// "不允许选择原来的库位" + checkStockList.value[0].pcode + ""
// );
// return;
// }
if (checkStockList.value[0].realQty > checkStockList.value[0].num) {
proxy.$modal.msgError("移库数量不正确");
return;