|
@@ -385,7 +385,7 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
- v-if="scope.row.fBillstatus === 4 || scope.row.fBillstatus === 5"
|
|
|
+ v-if="scope.row.fBillstatus == '请核' || scope.row.fBillstatus == '审核中' "
|
|
|
@click="check(scope.row, true)"
|
|
|
v-hasPermi="['warehouseBusiness:stockTransfer:edit']"
|
|
|
>审批进度
|
|
@@ -394,7 +394,11 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
- v-if="scope.row.fBillstatus <= 3"
|
|
|
+ v-if="
|
|
|
+ scope.row.fBillstatus == '录入' ||
|
|
|
+ scope.row.fBillstatus == '暂存' ||
|
|
|
+ scope.row.fBillstatus == '驳回'
|
|
|
+ "
|
|
|
@click="handleUpdate(scope.row, false)"
|
|
|
v-hasPermi="['warehouseBusiness:stockTransfer:edit']"
|
|
|
>修改
|
|
@@ -404,7 +408,7 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="handleDelete(scope.row)"
|
|
|
- v-if="scope.row.fItemsStatus === 1"
|
|
|
+ v-if="scope.row.fItemsStatus == '计划'"
|
|
|
v-hasPermi="['warehouseBusiness:stockTransfer:remove']"
|
|
|
>删除
|
|
|
</el-button>
|
|
@@ -5199,6 +5203,7 @@ export default {
|
|
|
}
|
|
|
if (dataList.length !== 0) {
|
|
|
let formData = new window.FormData();
|
|
|
+ formData.append("type", "1");
|
|
|
formData.append("warehouseBills", JSON.stringify(this.form));
|
|
|
formData.append("tEnclosure", JSON.stringify(this.relevantAttachments));
|
|
|
formData.append("warehousebillsitems", JSON.stringify(dataList));
|