huangxw 1 ay önce
ebeveyn
işleme
dca06dcaa8

+ 4 - 4
src/plant/storage/agro-product/info-update/index.vue

@@ -4,9 +4,9 @@
             <ut-navbar :title="did ? '编辑农资入库' : '新增农资入库'" :fixed="false" border></ut-navbar>
         </template>
         <up-form class="p-rtv" labelPosition="top" :model="form" :rules="rules" labelWidth="auto" ref="upFormRef">
-            <!-- 种源信息(复制自 info-edit 字段与顺序) -->
+            <!-- 农资信息(复制自 info-edit 字段与顺序) -->
             <view class="pd-24">
-                <view class="startline-title">种源信息</view>
+                <view class="startline-title">农资信息</view>
             </view>
             <view class="pd-24 bg-#fff">
                 <view class="h-1" id="materialNamepppp"></view>
@@ -188,7 +188,7 @@ const { proxy } = getCurrentInstance() as ComponentInternalInstance;
 const { pt_material_type, pt_materail_unit, pt_materail_spec_unit, pt_source_type, yes_no, pt_seed_instore_type, pt_warehouse_type } = toRefs<any>(proxy?.useDict('pt_material_type', 'pt_materail_unit', 'pt_materail_spec_unit', 'pt_source_type', 'yes_no', 'pt_seed_instore_type', 'pt_warehouse_type') || {});
 const paging = ref<any>(null);
 const upFormRef = ref<any>(null);
-// 单条种源信息 + 入库信息的合并表单
+// 单条农资信息 + 入库信息的合并表单
 const form = ref<AgroProductInstoreAddTypeEnum | any>({
     materialName: '',
     materialType: '',
@@ -264,7 +264,7 @@ const rules = reactive({
     'instoreBizInfo.instoreMg': [{ required: true, message: '请输入入库人' }],
 });
 
-// 提交:当前页面改为单条种源信息,直接提交合并后的对象
+// 提交:当前页面改为单条农资信息,直接提交合并后的对象
 const submitForm = async () => {
     uni.$u.debounce(
         async () => {

+ 2 - 2
src/plant/storage/agro-product/list/index.vue

@@ -115,7 +115,7 @@ const clickTempSwipe = async (event: object) => {
         try {
             const res = await uni.showModal({
                 title: '删除提示',
-                content: '确定删除种源信息吗?',
+                content: '确定删除农资信息吗?',
                 confirmColor: '#F74C30',
             });
             if (!res.confirm) return;
@@ -131,7 +131,7 @@ const clickTempSwipe = async (event: object) => {
             });
             paging.value?.reload();
         } catch (error) {
-            console.error('删除暂存种源信息失败:', error);
+            console.error('删除暂存农资信息失败:', error);
         }
     }
 };