diff --git a/src/views/examined/components/audit_other.vue b/src/views/examined/components/audit_other.vue
index 5f40a26..127f1bc 100644
--- a/src/views/examined/components/audit_other.vue
+++ b/src/views/examined/components/audit_other.vue
@@ -128,6 +128,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -162,7 +183,8 @@ const emit = defineEmits(["success", "close"]);
const formRef = shallowRef();
const popupRef = shallowRef>();
const mode = ref("add");
-
+const showInput=reactive([7,6,8])
+const InputTit=ref("销售金额")
// 弹窗标题
const popupTitle = computed(() => {
return mode.value == "edit" ? "审核" : "详情";
@@ -193,6 +215,8 @@ const formData = reactive({
area_manager: "",
check_status: 1,
remark: "",
+ amount:"",
+ type:-1
});
// 表单验证
@@ -243,11 +267,22 @@ const handleSubmit = async () => {
await formRef.value?.validate();
if (formData.check_status == 3 && formData.remark == "")
return ElMessage.error("驳回必须填写备注");
+if(showInput.includes(formData.type) ){
await apiApproveAudit({
id: formData.id,
check_status: formData.check_status,
remark: formData.remark,
+ amount:formData.amount
});
+}else{
+ await apiApproveAudit({
+ id: formData.id,
+ check_status: formData.check_status,
+ remark: formData.remark,
+
+ });
+}
+
popupRef.value?.close();
emit("success");
};
diff --git a/src/views/examined/index_list.vue b/src/views/examined/index_list.vue
index f64dad7..b7f1aaa 100644
--- a/src/views/examined/index_list.vue
+++ b/src/views/examined/index_list.vue
@@ -174,7 +174,7 @@ const checkStatusList = ref([
]);
// 显示默认审批界面的类型
-const showAuditTypeList = ref([1, 5, 6]);
+const showAuditTypeList = ref([1, 5, 6,7,8,9]);
const showAuditOther = computed(() => {
return showAuditTypeList.value.includes(openType.value);
});
@@ -205,6 +205,9 @@ const handleAdd = async () => {
// 编辑
const handleEdit = async (data: any, type = "edit") => {
+
+console.log(data.type)
+
openType.value = data.type;
showEdit.value = true;
await nextTick();
diff --git a/src/views/task_template/edit_admin.vue b/src/views/task_template/edit_admin.vue
index 72386e2..3ef3e74 100644
--- a/src/views/task_template/edit_admin.vue
+++ b/src/views/task_template/edit_admin.vue
@@ -76,6 +76,17 @@
+
+
+