|
@@ -8,6 +8,7 @@
|
8
|
8
|
import { just_required, number_required, required_array } from '@/utils/rules'
|
9
|
9
|
import { deleteField, genKey } from '@/utils/systemUtils'
|
10
|
10
|
import { getDetail } from '@/api/grainQualityManagement/storehouseWholeInspect'
|
|
11
|
+ import {getNameByIdSync} from "@/utils/systemEnum";
|
11
|
12
|
|
12
|
13
|
const props = defineProps({
|
13
|
14
|
visible: {
|
|
@@ -165,7 +166,6 @@
|
165
|
166
|
const getData = () => {
|
166
|
167
|
getDetail(props.editData.id).then((resp) => {
|
167
|
168
|
const items = resp.items
|
168
|
|
-
|
169
|
169
|
if (resp.zbjgpd) {
|
170
|
170
|
resp.zbjgpd = resp.zbjgpd.split('|')
|
171
|
171
|
}
|
|
@@ -199,6 +199,8 @@
|
199
|
199
|
basicStorehouseId: null, // integer(int32) basic_storehouse的id;仓房id
|
200
|
200
|
bgcjsj: null, // string(date-time) 报告出具时间,格式:yyyy-MM-dd
|
201
|
201
|
bz: null, // string 备注
|
|
202
|
+ address: null, // string 库区地址
|
|
203
|
+ modifyDate: null, // string 入库日期
|
202
|
204
|
checkResult: null, // integer(int32) 检验结果
|
203
|
205
|
createdate: null, // string(date-time) 创建日期
|
204
|
206
|
dbsl: null, // number 代表数量,单位:公斤
|
|
@@ -216,14 +218,16 @@
|
216
|
218
|
jyyj: null, // string 检验依据,1:国标,
|
217
|
219
|
orgId: null, // integer(int32) 库区id
|
218
|
220
|
orgName: null, // string 库区名称
|
219
|
|
- produceArea: null, // string 产地
|
|
221
|
+ // produceArea: null, // string 产地
|
|
222
|
+ gb: null, // string 产地
|
220
|
223
|
qfrq: null, // string 签发日期,格式:yyyy-MM-dd
|
221
|
224
|
qydbh: null, // string 抽样单编号;扦样单编号
|
222
|
225
|
qyqy: null, // string 扦样区域
|
223
|
226
|
qyrxm: null, // string 抽样人员;扦样人姓名
|
224
|
227
|
qysj: null, // string(date-time) 抽样日期;扦样时间,格式:yyyy-MM-dd
|
225
|
|
- receiveYear: null, // string 收获年度
|
226
|
|
- rkrq: null, // string(date-time) 入库日期,格式:yyyy-MM-dd
|
|
228
|
+ // receiveYear: null, // string 收获年度
|
|
229
|
+ scnf: null, // string 收获年度
|
|
230
|
+ // rkrq: null, // string(date-time) 入库日期,格式:yyyy-MM-dd
|
227
|
231
|
samplePackageModel: null, // string 样品包装型号
|
228
|
232
|
sampleStatus: null, // string 样品状态
|
229
|
233
|
sfzcccnx: null, // string 是否正常存储年限,0:否,
|
|
@@ -252,7 +256,7 @@
|
252
|
256
|
grainGradeId: just_required,
|
253
|
257
|
xzId: just_required,
|
254
|
258
|
produceArea: just_required,
|
255
|
|
- rkrq: just_required,
|
|
259
|
+ modifyDate: just_required,
|
256
|
260
|
jydw: just_required,
|
257
|
261
|
jyyj: just_required,
|
258
|
262
|
jysj: just_required,
|
|
@@ -350,8 +354,8 @@
|
350
|
354
|
</a-form-item>
|
351
|
355
|
</a-col>
|
352
|
356
|
<a-col :span="8">
|
353
|
|
- <a-form-item label="库区地址" name="registeredAddress">
|
354
|
|
- <a-input :disabled="readonly" v-model:value="formData.registeredAddress" />
|
|
357
|
+ <a-form-item label="库区地址" name="address">
|
|
358
|
+ <a-input :disabled="readonly" v-model:value="formData.address" />
|
355
|
359
|
</a-form-item>
|
356
|
360
|
</a-col>
|
357
|
361
|
</a-row>
|
|
@@ -424,18 +428,20 @@
|
424
|
428
|
|
425
|
429
|
<a-row :gutter="42">
|
426
|
430
|
<a-col :span="8">
|
427
|
|
- <a-form-item label="入库日期" name="rkrq">
|
428
|
|
- <a-date-picker v-model:value="formData.rkrq" valueFormat="YYYY-MM-DD" :disabled="readonly" />
|
|
431
|
+ <a-form-item label="入库日期" name="modifyDate">
|
|
432
|
+ <a-date-picker v-model:value="formData.modifyDate" valueFormat="YYYY-MM-DD" :disabled="readonly" />
|
429
|
433
|
</a-form-item>
|
430
|
434
|
</a-col>
|
431
|
435
|
<a-col :span="8">
|
432
|
|
- <a-form-item label="收获年度" name="receiveYear">
|
433
|
|
- <a-date-picker v-model:value="formData.receiveYear" picker="year" valueFormat="YYYY" :disabled="readonly" />
|
|
436
|
+ <a-form-item label="收获年度" name="scnf">
|
|
437
|
+ <a-input :disabled="readonly" v-model:value="formData.scnf" />
|
|
438
|
+<!-- <a-input :disabled="readonly" :value="getNameByIdSync(formData.scnf).name" />-->
|
|
439
|
+<!-- <a-date-picker v-model:value="formData.receiveYear" picker="year" valueFormat="YYYY" :disabled="readonly" />-->
|
434
|
440
|
</a-form-item>
|
435
|
441
|
</a-col>
|
436
|
442
|
<a-col :span="8">
|
437
|
|
- <a-form-item label="产地" name="produceArea">
|
438
|
|
- <a-input :disabled="readonly" v-model:value="formData.produceArea" />
|
|
443
|
+ <a-form-item label="产地" name="gb">
|
|
444
|
+ <a-input :disabled="readonly" v-model:value="formData.gb" />
|
439
|
445
|
</a-form-item>
|
440
|
446
|
</a-col>
|
441
|
447
|
</a-row>
|