Browse Source

修改表头

master
lihua 5 years ago
parent
commit
ab25c2b00e
  1. 32
      src/views/material/audit/index.vue
  2. 24
      src/views/material/log/LogDetail.vue
  3. 62
      src/views/material/warehouse/index.vue
  4. 10
      src/views/material/warn/index.vue

32
src/views/material/audit/index.vue

@ -18,10 +18,10 @@
<el-select v-model="field" placeholder="请选择字段">
<el-option label="操作人员" value="user_name" />
<el-option label="物料编号" value="code" />
<el-option label="物料数值" value="value"/>
<el-option label="物料型号" value="model_num"/>
<el-option label="物料封装" value="packages"/>
<el-option label="物料位置" value="position"/>
<el-option label="值" value="value"/>
<el-option label="型号" value="model_num"/>
<el-option label="封装" value="packages"/>
<el-option label="位号" value="position"/>
<el-option label="公司名称" value="company"/>
</el-select>
</el-col>
@ -59,27 +59,23 @@
min-width="10%"/>
<el-table-column
prop="num"
label="物料数量"
min-width="10%"/>
<el-table-column
prop="code"
label="物料编号"
label="数量"
min-width="10%"/>
<el-table-column
prop="value"
label="物料数值"
label="值"
min-width="10%"/>
<el-table-column
prop="modelNum"
label="物料型号"
label="型号"
min-width="10%"/>
<el-table-column
prop="packages"
label="物料封装"
label="封装"
min-width="10%"/>
<el-table-column
prop="position"
label="物料位置"
label="位号"
min-width="10%"/>
<el-table-column
prop="company"
@ -112,23 +108,23 @@
min-width="10%"/>
<el-table-column
prop="num"
label="物料数量"
label="数量"
min-width="10%"/>
<el-table-column
prop="value"
label="物料数值"
label="值"
min-width="10%"/>
<el-table-column
prop="modelNum"
label="物料型号"
label="型号"
min-width="10%"/>
<el-table-column
prop="packages"
label="物料封装"
label="封装"
min-width="10%"/>
<el-table-column
prop="position"
label="物料位置"
label="位号"
min-width="10%"/>
<el-table-column
prop="company"

24
src/views/material/log/LogDetail.vue

@ -17,10 +17,10 @@
<el-select v-model="field" placeholder="请选择字段">
<el-option label="操作人员" value="user_name" />
<el-option label="物料编号" value="code" />
<el-option label="物料数值" value="value"/>
<el-option label="物料型号" value="model_num"/>
<el-option label="物料封装" value="packages"/>
<el-option label="物料位置" value="position"/>
<el-option label="值" value="value"/>
<el-option label="型号" value="model_num"/>
<el-option label="封装" value="packages"/>
<el-option label="位号" value="position"/>
<el-option label="公司名称" value="company"/>
</el-select>
</el-col>
@ -54,25 +54,25 @@
prop="code"
label="物料编号"
min-width="10%"/>
<el-table-column
prop="num"
label="数量"
min-width="10%"/>
<el-table-column
prop="value"
label="物料数值"
label="值"
min-width="10%"/>
<el-table-column
prop="modelNum"
label="物料型号"
label="型号"
min-width="10%"/>
<el-table-column
prop="packages"
label="物料封装"
min-width="10%"/>
<el-table-column
prop="num"
label="物料数量"
label="封装"
min-width="10%"/>
<el-table-column
prop="position"
label="物料位置"
label="位号"
min-width="10%"/>
<el-table-column
prop="company"

62
src/views/material/warehouse/index.vue

@ -6,10 +6,10 @@
<el-col :span="3">
<el-select v-model="field" placeholder="请选择字段">
<el-option label="物料编号" value="code" />
<el-option label="物料数值" value="value"/>
<el-option label="物料型号" value="model_num"/>
<el-option label="物料封装" value="packages"/>
<el-option label="物料位置" value="position"/>
<el-option label="值" value="value"/>
<el-option label="型号" value="model_num"/>
<el-option label="封装" value="packages"/>
<el-option label="位号" value="position"/>
<el-option label="公司名称" value="company"/>
<el-option label="备注" value="description"/>
</el-select>
@ -74,23 +74,23 @@
min-width="10%"/>
<el-table-column
prop="num"
label="物料数量"
label="数量"
min-width="10%"/>
<el-table-column
prop="value"
label="物料数值"
label="值"
min-width="10%"/>
<el-table-column
prop="modelNum"
label="物料型号"
label="型号"
min-width="10%"/>
<el-table-column
prop="packages"
label="物料封装"
label="封装"
min-width="10%"/>
<el-table-column
prop="position"
label="物料位置"
label="位号"
min-width="10%"/>
<el-table-column
prop="company"
@ -131,23 +131,23 @@
<el-form-item label="物料编号" prop="code">
<el-input v-model="form.code" :disabled="editVisible||subVisible" autocomplete="off" placeholder="请输入物料编号"/>
</el-form-item>
<el-form-item v-if="addVisible||editVisible" label="物料数量" prop="num">
<el-input-number v-model="form.num" :min="0" label="请输入物料数量"/>
<el-form-item v-if="addVisible||editVisible" label="数量" prop="num">
<el-input-number v-model="form.num" :min="0" label="请输入数量"/>
</el-form-item>
<el-form-item v-if="subVisible" label="物料数量" prop="num">
<el-input-number v-model="form.num" :min="0" :max="lastNum" label="请输入物料数量"/>
<el-form-item v-if="subVisible" label="数量" prop="num">
<el-input-number v-model="form.num" :min="0" :max="lastNum" label="请输入数量"/>
</el-form-item>
<el-form-item v-if="!subVisible" label="物料数值" prop="value">
<el-input v-model="form.value" autocomplete="off" placeholder="请输入物料数值"/>
<el-form-item v-if="!subVisible" label="值" prop="value">
<el-input v-model="form.value" autocomplete="off" placeholder="请输入值"/>
</el-form-item>
<el-form-item v-if="!subVisible" label="物料型号" prop="modelNum">
<el-input v-model="form.modelNum" autocomplete="off" placeholder="请输入物料型号"/>
<el-form-item v-if="!subVisible" label="型号" prop="modelNum">
<el-input v-model="form.modelNum" autocomplete="off" placeholder="请输入型号"/>
</el-form-item>
<el-form-item v-if="!subVisible" label="物料封装" prop="packages">
<el-input v-model="form.packages" autocomplete="off" placeholder="请输入物料封装"/>
<el-form-item v-if="!subVisible" label="封装" prop="packages">
<el-input v-model="form.packages" autocomplete="off" placeholder="请输入封装"/>
</el-form-item>
<el-form-item v-if="!subVisible" label="物料位置" prop="position">
<el-input v-model="form.position" autocomplete="off" placeholder="请输入物料位置"/>
<el-form-item v-if="!subVisible" label="位号" prop="position">
<el-input v-model="form.position" autocomplete="off" placeholder="请输入位号"/>
</el-form-item>
<el-form-item v-if="!subVisible" label="公司名称" prop="company">
<el-input v-model="form.company" autocomplete="off" placeholder="请输入公司名称"/>
@ -185,23 +185,23 @@
min-width="10%"/>
<el-table-column
prop="value"
label="物料数值"
label="值"
min-width="10%"/>
<el-table-column
prop="modelNum"
label="物料型号"
label="型号"
min-width="10%"/>
<el-table-column
prop="packages"
label="物料封装"
label="封装"
min-width="10%"/>
<el-table-column
prop="num"
label="物料数量"
label="数量"
min-width="10%"/>
<el-table-column
prop="position"
label="物料位置"
label="位号"
min-width="10%"/>
<el-table-column
prop="company"
@ -243,19 +243,19 @@ export default {
{ required: true, message: '物料编号不能为空', trigger: 'blur' }
],
value: [
{ required: true, message: '物料数值不能为空', trigger: 'blur' }
{ required: true, message: '值不能为空', trigger: 'blur' }
],
modelNum: [
{ required: true, message: '物料型号不能为空', trigger: 'blur' }
{ required: true, message: '型号不能为空', trigger: 'blur' }
],
packages: [
{ required: true, message: '物料封装不能为空', trigger: 'blur' }
{ required: true, message: '封装不能为空', trigger: 'blur' }
],
num: [
{ type: 'number', required: true, message: '请输入物料数量', trigger: 'blur' }
{ type: 'number', required: true, message: '请输入数量', trigger: 'blur' }
],
position: [
{ required: true, message: '物料位置不能为空', trigger: 'blur' }
{ required: true, message: '位号不能为空', trigger: 'blur' }
],
company: [
{ required: true, message: '公司名称不能为空', trigger: 'blur' }

10
src/views/material/warn/index.vue

@ -18,7 +18,7 @@
min-width="10%"/>
<el-table-column
prop="num"
label="物料数量"
label="数量"
min-width="10%"/>
<el-table-column
prop="baseNum"
@ -26,19 +26,19 @@
min-width="10%"/>
<el-table-column
prop="value"
label="物料数值"
label="值"
min-width="10%"/>
<el-table-column
prop="modelNum"
label="物料型号"
label="型号"
min-width="10%"/>
<el-table-column
prop="packages"
label="物料封装"
label="封装"
min-width="10%"/>
<el-table-column
prop="position"
label="物料位置"
label="位号"
min-width="10%"/>
<el-table-column
prop="company"

Loading…
Cancel
Save