修改
This commit is contained in:
@@ -147,8 +147,12 @@
|
||||
<el-button type="text" @click="crud.cancelCU">取消</el-button>
|
||||
<el-button :loading="crud.cu === 2" type="primary" @click="submit">确认</el-button>
|
||||
</div>
|
||||
<MaterDtl :dialog-show.sync="materialShow" :is-single="true" :mater-opt-code="materType"
|
||||
@setMaterValue="setMaterValue"/>
|
||||
<MaterDtl
|
||||
:dialog-show.sync="materialShow"
|
||||
:is-single="true"
|
||||
:mater-opt-code="materType"
|
||||
@setMaterValue="setMaterValue"
|
||||
/>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
@@ -156,7 +160,7 @@
|
||||
|
||||
import CRUD, { crud, header, presenter } from '@crud/crud'
|
||||
import MaterDtl from '@/views/wms/pub/MaterDialog'
|
||||
import crudWorkProcedure from "@/api/wms/basedata/pdm/workProcedure"
|
||||
import crudWorkProcedure from '@/api/wms/basedata/pdm/workProcedure'
|
||||
import crudProduceshiftorder from '@/api/wms/mps/produceshiftorder'
|
||||
|
||||
export default {
|
||||
@@ -252,8 +256,7 @@ export default {
|
||||
},
|
||||
deleteRow(index, rows) {
|
||||
rows.splice(index, 1)
|
||||
}
|
||||
,
|
||||
},
|
||||
submit() {
|
||||
for (let i = 0; i < this.tableData.length; i++) {
|
||||
const row = this.tableData[i]
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
<el-input v-model="form.device_model" style="width: 370px;" />
|
||||
</el-form-item>
|
||||
<el-form-item label="设备产能">
|
||||
<el-input type="number" oninput="value = value.replace(/[^\d]/g, '')" v-model="form.productivity" style="width: 370px;" />
|
||||
<el-input v-model="form.productivity" type="number" oninput="value = value.replace(/[^\d]/g, '')" style="width: 370px;" />
|
||||
</el-form-item>
|
||||
<el-form-item label="所属工序">
|
||||
<el-select v-model="form.workprocedure_id" filterable clearable class="filter-item" style="width: 370px">
|
||||
@@ -157,7 +157,7 @@ import pagination from '@crud/Pagination'
|
||||
import DeviceItemDialog from '@/views/wms/pdm/device/DeviceItemDialog'
|
||||
import DeviceInfoDialog from '@/views/wms/pdm/device/DeviceInfoDialog'
|
||||
import CopyDialog from '@/views/wms/pdm/device/CopyDialog'
|
||||
import crudSectattr from "@/api/wms/basedata/st/sectattr";
|
||||
import crudSectattr from '@/api/wms/basedata/st/sectattr'
|
||||
|
||||
const defaultForm = { device_id: null, device_code: null, device_name: null, device_model: null, workprocedure_id: null, extend_code: null, devicebill_id: null, remark: null, is_active: null, create_id: null, create_name: null, create_time: null, is_delete: null, productivity: null }
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user