|
@@ -50,7 +50,7 @@ import WorkFlowCheck from "@/components/WorkFlows/workFlowCheck.vue";
|
|
|
import LookFlowStep from "@/views/flow/common/LookFlowStep.vue";
|
|
|
import { cancelSeqInFlow,submitSeqInFlow } from "@/api/flow";
|
|
|
const { isShowTable, tableType } = toRefs(useCommonStoreHook());
|
|
|
-
|
|
|
+const { dicts } = useDictionaryStore();
|
|
|
// 工作流相关 start
|
|
|
const workFlowCheckRef = ref(null);
|
|
|
const openCheckView = (row) => {
|
|
@@ -113,14 +113,6 @@ const {
|
|
|
} = Methords; //增删改查
|
|
|
const { selectionChange, multipleDelete } = Methords; //选中和批量删除事件
|
|
|
const { checkBtnPerm, downloadTemplate, exportData } = Utils; //按钮权限等工具
|
|
|
-// checkBtnPerm(ButtonPermKeys.PLAN.BTNS.order_add) :permission="permission"
|
|
|
-// const permission = reactive({
|
|
|
-// delBtn: checkPerm(buttonPermission.PLAN.BTNS.order_del),
|
|
|
-// addBtn: checkPerm(buttonPermission.PLAN.BTNS.order_add),
|
|
|
-// editBtn: checkPerm(buttonPermission.PLAN.BTNS.order_edit),
|
|
|
-// menu: true,
|
|
|
-// });
|
|
|
-
|
|
|
onMounted(() => {
|
|
|
search.value.workOrderCode = props.workOrderCode;
|
|
|
dataNoPageList();
|
|
@@ -146,7 +138,6 @@ option.value = Object.assign(option.value, {
|
|
|
{
|
|
|
label: "入库数量",
|
|
|
prop: "inventoryNum",
|
|
|
- width: 110,
|
|
|
},
|
|
|
{
|
|
|
label: "管号",
|
|
@@ -155,9 +146,68 @@ option.value = Object.assign(option.value, {
|
|
|
overHidden: true,
|
|
|
},
|
|
|
{
|
|
|
+ label: "检验码",
|
|
|
+ prop: "checkCode",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "单据类型",
|
|
|
+ prop: "billType",
|
|
|
+ type: "select",
|
|
|
+ dicData: dicts.bill_type,
|
|
|
+ props: { label: "dictLabel", value: "dictValue" },
|
|
|
+ rules: [
|
|
|
+ {
|
|
|
+ required: true,
|
|
|
+ message: "请选择单据类型",
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "仓库类型",
|
|
|
+ prop: "warehouseType",
|
|
|
+ span: 24,
|
|
|
+ type: "select",
|
|
|
+ dicData: dicts.warehouse_type,
|
|
|
+ props: { label: "dictLabel", value: "dictValue" },
|
|
|
+ rules: [
|
|
|
+ {
|
|
|
+ required: true,
|
|
|
+ message: "请选择仓库类型",
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "批号",
|
|
|
+ prop: "lotCode",
|
|
|
+ rules: [
|
|
|
+ {
|
|
|
+ required: true,
|
|
|
+ message: "请输入批号",
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "流程状态",
|
|
|
+ prop: "flowState",
|
|
|
+ width: 120,
|
|
|
+ addDisplay: false,
|
|
|
+ editDisplay: false,
|
|
|
+ overHidden: true,
|
|
|
+ type: "select",
|
|
|
+ dicData: dicts.flow_ins_state,
|
|
|
+ props: {
|
|
|
+ label: "dictLabel",
|
|
|
+ value: "dictValue",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "备注",
|
|
|
prop: "remark",
|
|
|
- overHidden: true,
|
|
|
+ span: 24,
|
|
|
+ type: "textarea",
|
|
|
},
|
|
|
{
|
|
|
label: "创建人",
|