|
|
@@ -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 () => {
|