Browse Source

fix:[资源库管理][供试品管理]中英

lkf
HanLong 3 months ago
parent
commit
030a36d95e
30 changed files with 88 additions and 43 deletions
  1. +19
    -0
      src/lang/en/business/resource/gsp.js
  2. +20
    -0
      src/lang/zh/business/resource/gsp.js
  3. +1
    -1
      src/views/business/resource/gsp/comps/ffjl/Gd.vue
  4. +1
    -1
      src/views/business/resource/gsp/comps/ffjl/Jd.vue
  5. +1
    -1
      src/views/business/resource/gsp/comps/ffjl/Jq.vue
  6. +1
    -1
      src/views/business/resource/gsp/comps/ffjl/Js.vue
  7. +1
    -1
      src/views/business/resource/gsp/comps/ffjl/Jy.vue
  8. +1
    -1
      src/views/business/resource/gsp/comps/ffjl/Sd.vue
  9. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Bj.vue
  10. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Cz.vue
  11. +1
    -1
      src/views/business/resource/gsp/comps/gsp/CzBatch.vue
  12. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Ff.vue
  13. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Gd.vue
  14. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Gh.vue
  15. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Jd.vue
  16. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Js.vue
  17. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Jy.vue
  18. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Sd.vue
  19. +11
    -8
      src/views/business/resource/gsp/comps/gsp/Shbj.vue
  20. +11
    -8
      src/views/business/resource/gsp/comps/gsp/Shxgkc.vue
  21. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Xgkc.vue
  22. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Xz.vue
  23. +2
    -2
      src/views/business/resource/gsp/comps/gsp/Ysff.vue
  24. +1
    -1
      src/views/business/resource/gsp/comps/rkjl/Bj.vue
  25. +1
    -1
      src/views/business/resource/gsp/comps/rkjl/Gd.vue
  26. +1
    -1
      src/views/business/resource/gsp/comps/rkjl/Jd.vue
  27. +1
    -1
      src/views/business/resource/gsp/comps/rkjl/Js.vue
  28. +1
    -1
      src/views/business/resource/gsp/comps/rkjl/Jy.vue
  29. +1
    -1
      src/views/business/resource/gsp/comps/rkjl/Sd.vue
  30. +1
    -1
      src/views/business/resource/gsp/comps/rkjl/Xz.vue

+ 19
- 0
src/lang/en/business/resource/gsp.js View File

@ -111,4 +111,23 @@ export default {
ffjlxq: '发放回收记录详情', ffjlxq: '发放回收记录详情',
dr: 'Import', dr: 'Import',
gd: '归档', gd: '归档',
bjgsp: 'Edit',
xzgsp: 'Add',
lqff: 'Distribution',
sqgd: 'Apply for Archiving',
sqjd: 'Apply for De-archiving',
gh: 'Return',
jsgsp: 'Unlock',
sqjy: 'Apply for Check-out',
sdgsp: 'Lock',
tyjjbj: '同意/拒绝编辑',
tyjjxgkc:'同意/拒绝修改库存',
bcsm: '补充说明',
jsffjl: '解锁发放记录',
sdffjl: '锁定发放记录',
bjgsprkjl: '编辑供试品入库记录',
jsgsprkjl: '解锁供试品入库记录',
sdgsprkjl: '锁定供试品入库记录',
xzgsprkjl: '新增供试品入库记录',
} }

+ 20
- 0
src/lang/zh/business/resource/gsp.js View File

@ -115,4 +115,24 @@ export default {
ffjlxq: '发放回收记录详情', ffjlxq: '发放回收记录详情',
dr: '导入', dr: '导入',
gd: '归档', gd: '归档',
bjgsp: '编辑供试品',
xzgsp: '新增供试品',
lqff: '领取发放',
sqgd: '申请归档',
sqjd: '申请解档案',
sqjy: '申请借阅',
gh: '归还',
jsgsp: '解锁供试品',
sdgsp: '锁定供试品',
tyjjbj: '同意/拒绝编辑',
tyjjxgkc:'同意/拒绝修改库存',
bcsm: '补充说明',
jsffjl: '解锁发放记录',
sdffjl: '锁定发放记录',
bjgsprkjl: '编辑供试品入库记录',
jsgsprkjl: '解锁供试品入库记录',
sdgsprkjl: '锁定供试品入库记录',
xzgsprkjl: '新增供试品入库记录',
} }

+ 1
- 1
src/views/business/resource/gsp/comps/ffjl/Gd.vue View File

@ -118,7 +118,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '申请归档',
qmyy: this.$t('page.business.resource.gsp.sqgd'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/ffjl/Jd.vue View File

@ -106,7 +106,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '申请解档',
qmyy: this.$t('page.business.resource.gsp.sqjd'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/ffjl/Jq.vue View File

@ -96,7 +96,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '补充说明',
qmyy: this.$t('page.business.resource.gsp.bcsm'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/ffjl/Js.vue View File

@ -96,7 +96,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '解锁发放记录',
qmyy: this.$t('page.business.resource.gsp.jsffjl'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/ffjl/Jy.vue View File

@ -129,7 +129,7 @@ export default {
startDate: null, startDate: null,
endDate: null, endDate: null,
bh: null, bh: null,
qmyy: '申请借阅',
qmyy: this.$t('page.business.resource.gsp.sqjy'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/ffjl/Sd.vue View File

@ -118,7 +118,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '锁定发放记录',
qmyy: this.$t('page.business.resource.gsp.sdffjl'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Bj.vue View File

@ -190,7 +190,7 @@ export default {
}, },
reset() { reset() {
this.form = { this.form = {
qmyy: '编辑',
qmyy: this.$t('page.business.resource.gsp.bjgsp'),
} }
this.resetForm("form") this.resetForm("form")
}, },

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Cz.vue View File

@ -128,7 +128,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '处置',
qmyy: this.$t('page.business.resource.gsp.cz'),
kcdw: '', kcdw: '',
qmrmm: null qmrmm: null
} }

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/CzBatch.vue View File

@ -136,7 +136,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '处置',
qmyy: this.$t('page.business.resource.gsp.cz'),
kcdw: '', kcdw: '',
qmrmm: null qmrmm: null
} }

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Ff.vue View File

@ -364,7 +364,7 @@ export default {
ffr2Id: null, ffr2Id: null,
ffr2mm: null, ffr2mm: null,
xmId: null, xmId: null,
qmyy: '领取发放',
qmyy: this.$t('page.business.resource.gsp.lqff'),
qmrmm: null, qmrmm: null,
remark: null remark: null
} }

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Gd.vue View File

@ -94,7 +94,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '申请归档',
qmyy: this.$t('page.business.resource.gsp.sqgd'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Gh.vue View File

@ -262,7 +262,7 @@ export default {
jsr1mm: null, jsr1mm: null,
jsr2Id: null, jsr2Id: null,
jsr2mm: null, jsr2mm: null,
qmyy: '归还',
qmyy: this.$t('page.business.resource.gsp.gh'),
} }
this.resetForm("form") this.resetForm("form")
}, },

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Jd.vue View File

@ -119,7 +119,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '申请解档',
qmyy: this.$t('page.business.resource.gsp.sqjd'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Js.vue View File

@ -98,7 +98,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '解锁供试品',
qmyy: this.$t('page.business.resource.gsp.jsgsp'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Jy.vue View File

@ -153,7 +153,7 @@ export default {
bh: null, bh: null,
startDate: null, startDate: null,
endDate: null, endDate: null,
qmyy: '申请借阅',
qmyy: this.$t('page.business.resource.gsp.sqjy'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Sd.vue View File

@ -93,7 +93,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '锁定供试品',
qmyy: this.$t('page.business.resource.gsp.sdgsp'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 11
- 8
src/views/business/resource/gsp/comps/gsp/Shbj.vue View File

@ -58,10 +58,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('form.qmyy')" prop="qmyy"> <el-form-item :label="$t('form.qmyy')" prop="qmyy">
<el-select v-model="form.qmyy" :placeholder="$t('form.placeholderSelect')" >
<el-option label="同意编辑" :value="10" />
<el-option label="拒绝编辑" :value="1" />
</el-select>
<el-input type="text" :value="form.qmyyMc" maxlength="50" disabled />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@ -89,8 +86,8 @@
</el-row> </el-row>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="save">{{ $t('form.confirm') }}</el-button>
<el-button @click="cancel">{{ $t('form.cancel') }}</el-button>
<el-button type="danger" @click="save(1)">{{ $t('form.reject') }}</el-button>
<el-button type="primary" @click="save(10)">{{ $t('form.approve') }}</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
@ -144,7 +141,8 @@ export default {
qmrmm: null, qmrmm: null,
bjrMc: null, bjrMc: null,
bjbz: null, bjbz: null,
qmyy: 10,
qmyy: null,
qmyyMc: this.$t('page.business.resource.gsp.tyjjbj'),
remark: '' remark: ''
} }
this.resetForm("form") this.resetForm("form")
@ -167,12 +165,17 @@ export default {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })
}, },
save() {
save(qmyy) {
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
this.$modal.loading()
this.form.qmyy=qmyy
shbj(this.form).then(response => { shbj(this.form).then(response => {
this.open = false this.open = false
this.$modal.closeLoading()
this.$emit('callback') this.$emit('callback')
}).finally(() => {
this.$modal.closeLoading()
}) })
} }
}) })

+ 11
- 8
src/views/business/resource/gsp/comps/gsp/Shxgkc.vue View File

@ -48,10 +48,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('form.qmyy')" prop="qmyy"> <el-form-item :label="$t('form.qmyy')" prop="qmyy">
<el-select v-model="form.qmyy" :placeholder="$t('form.placeholderSelect')" >
<el-option label="同意修改库存" :value="10" />
<el-option label="拒绝修改库存" :value="1" />
</el-select>
<el-input type="text" :value="form.qmyyMc" maxlength="50" disabled />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@ -79,8 +76,8 @@
</el-row> </el-row>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="save">{{ $t('form.confirm') }}</el-button>
<el-button @click="cancel">{{ $t('form.cancel') }}</el-button>
<el-button type="danger" @click="save(1)">{{ $t('form.reject') }}</el-button>
<el-button type="primary" @click="save(10)">{{ $t('form.approve') }}</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
@ -143,7 +140,8 @@ export default {
qmrmm: null, qmrmm: null,
kcbjrMc: null, kcbjrMc: null,
kcbjbz: null, kcbjbz: null,
qmyy: 10,
qmyy: null,
qmyyMc: this.$t('page.business.resource.gsp.tyjjxgkc'),
remark: '' remark: ''
} }
this.resetForm("form") this.resetForm("form")
@ -165,12 +163,17 @@ export default {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })
}, },
save() {
save(qmyy) {
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
this.$modal.loading()
this.form.qmyy=qmyy
shxgkc(this.form).then(response => { shxgkc(this.form).then(response => {
this.open = false this.open = false
this.$emit('callback') this.$emit('callback')
this.$modal.closeLoading()
}).finally(() => {
this.$modal.closeLoading()
}) })
} }
}) })

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Xgkc.vue View File

@ -108,7 +108,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '修改库存',
qmyy: this.$t('page.business.resource.gsp.xgkc'),
sdrmm: null, sdrmm: null,
kc: '', kc: '',
kcdw: '', kcdw: '',

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Xz.vue View File

@ -209,7 +209,7 @@ export default {
cctj: null, cctj: null,
ccwz: null, ccwz: null,
qmrmm: null, qmrmm: null,
qmyy: '新增供试品',
qmyy: this.$t('page.business.resource.gsp.xzgsp'),
bjbz: '' bjbz: ''
} }
this.resetForm("form") this.resetForm("form")

+ 2
- 2
src/views/business/resource/gsp/comps/gsp/Ysff.vue View File

@ -91,7 +91,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.mjy.ffr')"> <el-form-item :label="$t('page.business.resource.mjy.ffr')">
<el-input type="text" v-model="nickName" maxlength="50"
<el-input type="text" v-model="nickName" maxlength="50"
:placeholder="$t('form.placeholderInput')" disabled/> :placeholder="$t('form.placeholderInput')" disabled/>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -186,7 +186,7 @@ export default {
reset() { reset() {
this.form = { this.form = {
ids: null, ids: null,
qmyy: '钥匙发放',
qmyy: this.$t('page.business.resource.gsp.ysff'),
zcgId: null, zcgId: null,
qmrmm: null, qmrmm: null,
remark: null, remark: null,

+ 1
- 1
src/views/business/resource/gsp/comps/rkjl/Bj.vue View File

@ -180,7 +180,7 @@ export default {
}, },
reset() { reset() {
this.form = { this.form = {
qmyy: '编辑供试品入库记录',
qmyy: this.$t('page.business.resource.gsp.bjgsprkjl'),
} }
this.resetForm("form") this.resetForm("form")
}, },

+ 1
- 1
src/views/business/resource/gsp/comps/rkjl/Gd.vue View File

@ -118,7 +118,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '申请归档',
qmyy: this.$t('page.business.resource.gsp.sqgd'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/rkjl/Jd.vue View File

@ -106,7 +106,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '申请解档',
qmyy: this.$t('page.business.resource.gsp.sqjd'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/rkjl/Js.vue View File

@ -96,7 +96,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '解锁发放记录',
qmyy: this.$t('page.business.resource.gsp.jsgsprkjl'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/rkjl/Jy.vue View File

@ -129,7 +129,7 @@ export default {
startDate: null, startDate: null,
endDate: null, endDate: null,
bh: null, bh: null,
qmyy: '申请借阅',
qmyy: this.$t('page.business.resource.gsp.sqjy'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/rkjl/Sd.vue View File

@ -118,7 +118,7 @@ export default {
ids: null, ids: null,
mc: null, mc: null,
bh: null, bh: null,
qmyy: '锁定发放记录',
qmyy: this.$t('page.business.resource.gsp.sdgsprkjl'),
qmrmm: null qmrmm: null
} }
this.resetForm("form") this.resetForm("form")

+ 1
- 1
src/views/business/resource/gsp/comps/rkjl/Xz.vue View File

@ -194,7 +194,7 @@ export default {
cctj: null, cctj: null,
ccwz: null, ccwz: null,
qmrmm: null, qmrmm: null,
qmyy: '新增供试品入库记录',
qmyy: this.$t('page.business.resource.gsp.xzgsprkjl'),
bjbz: '' bjbz: ''
} }
this.resetForm("form") this.resetForm("form")

Loading…
Cancel
Save