123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803 |
- <template>
-
- <div class="main-contain">
- <div class="position">
- <bread-crumb v-if="type == 1" :crumbs='crumbs'></bread-crumb>
- <bread-crumb v-if="type == 2" :crumbs='crumbs2'></bread-crumb>
-
- <div style="float:right;">
- <el-button size="small" @click="back()" class="filter-item">取 消</el-button>
- <el-button size="small" type="primary" @click="submit()" class="filter-item">保 存</el-button>
- </div>
- </div>
- <div class="app-container">
-
- <stock-in-dialog ref="dialog" :propForm="propForm"
- :visibility="isVisibility"
- v-on:dialog-comfirm="comfirm"
- v-on:dialog-cancle="cancle">
- </stock-in-dialog>
-
-
- <div class="cell clearfix">
- <label class="title"><span class="name">入库时间</span> : </label>
- <el-date-picker size="small" v-model="warehousing_time" prefix-icon="el-icon-date" :editable="false"
- style="width: 196px;" type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
- value-format="yyyy-MM-dd"></el-date-picker>
- </div>
-
- <!-- <div class="cell clearfix">
- <label class="title"><span class="name">经销商</span> : </label>
-
- <el-select size="small" v-model="form.dealer" filterable placeholder="请选择经销商" @change="changeDealer">
- <el-option
- v-for="(option, index) in dealer"
- :key="index"
- :label="option.dealer_name"
- :value="option.id">
- </el-option>
- </el-select>
- </div> -->
-
- <!-- <div class="cell clearfix">
- <label class="title"><span class="name">厂商</span> : </label>
-
- <el-select size="small" v-model="form.manufacturer" filterable placeholder="请选择厂商"
- @change="changeManufacturer">
- <el-option
- v-for="(option, index) in manufacturer"
- :key="index"
- :label="option.manufacturer_name"
- :value="option.id">
- </el-option>
- </el-select>
- </div> -->
-
- <el-form :rules="tableRules" :model="recordInfo" ref="tableForm">
- <el-table id="oictable" :data="recordInfo.recordData" :class="signAndWeighBoxPatients" border
- style="width: 100%"
- max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
- >
- <el-table-column align="center" width="200">
- <template slot="header" slot-scope="scope">
- <span>耗材名称</span>
- </template>
- <template slot-scope="scope">
- <el-autocomplete
- class="checkSearch"
- popper-class="my-autocomplete"
- v-model="scope.row.good_name"
- :fetch-suggestions="querySearchAsync"
- :trigger-on-focus="false"
- placeholder="请输入耗材名称"
- @select="handleSelect"
- @input="changeGoodName(scope.$index)"
- style="width:160px;"
- >
- <i class="el-icon-search el-input__icon" slot="suffix"></i>
- <template slot-scope="{ item }">
- <div class="name">{{ item.good_name +" " +item.specification_name }}</div>
- </template>
- </el-autocomplete>
- </template>
- </el-table-column>
- <el-table-column align="center" width="200">
-
- <template slot="header" slot-scope="scope">
- <span>耗材类型<span style="color: red">*</span></span>
- </template>
-
- <template slot-scope="scope">
- <el-form-item style="padding-top: 15px;margin-left: 10px;margin-right: 10px">
- <el-input placeholder="请输入耗材类型" v-model="scope.row.good_type_id" :value="typeName(scope.row.good_type_id)"></el-input>
- </el-form-item>
- </template>
- </el-table-column>
- <el-table-column align="center" width="200">
-
- <template slot="header" slot-scope="scope">
- <span>规格&单位<span style="color: red">*</span></span>
- </template>
- <template slot-scope="scope">
-
- <el-form-item style="padding-top: 15px">
- <el-input placeholder="请输入规格名称" v-model="scope.row.name"></el-input>
- </el-form-item>
-
- </template>
- </el-table-column>
-
- <el-table-column align="center" width="150">
- <template slot="header" slot-scope="scope">
- <span>批号</span>
- </template>
- <template slot-scope="scope">
- <el-form-item style="padding-top: 17px">
- <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
- </el-form-item>
-
- </template>
- </el-table-column>
-
-
- <el-table-column align="center" width="180">
- <template slot="header" slot-scope="scope">
- <span>入库数量<span style="color: red">*</span></span>
- </template>
- <template slot-scope="scope">
- <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
- :rules='tableRules.warehousing_count' style="padding-top: 17px">
- <el-input placeholder="请输入入库数量" type="number" v-model="scope.row.warehousing_count" style="width:120px"></el-input>
- {{scope.row.min_unit}}
- </el-form-item>
-
- </template>
- </el-table-column>
-
- <el-table-column align="center" width="150">
- <template slot="header" slot-scope="scope">
- <span>进货单价<span style="color: red">*</span></span>
- </template>
- <template slot-scope="scope">
-
- <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
- style="padding-top: 17px">
- <el-input placeholder="请输入单价" type="number" v-model="scope.row.price"></el-input>
- </el-form-item>
-
-
- </template>
- </el-table-column>
-
- <el-table-column label="总价" align="center" width="150">
- <template slot-scope="scope">
- {{calculate(scope.row.price*scope.row.warehousing_count)}}
- </template>
- </el-table-column>
-
- <el-table-column label="生产厂家" align="center" width="150">
- <template slot-scope="scope">
- <el-select size="small" v-model="scope.row.manufacturer" filterable placeholder="请选择厂商">
- <el-option
- v-for="(option, index) in manufacturerList"
- :key="index"
- :label="option.manufacturer_name"
- :value="option.id">
- </el-option>
- </el-select>
- </template>
- </el-table-column>
-
- <el-table-column label="生产日期" align="center" width="250">
- <template slot-scope="scope">
- <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
- type="date" placeholder="选择日期时间" format="yyyy-MM-dd"
- value-format="yyyy-MM-dd">
- </el-date-picker>
-
- </template>
- </el-table-column>
- <el-table-column label="有效日期" align="center" width="250">
- <template slot-scope="scope">
- <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
- type="date" placeholder="选择日期时间" format="yyyy-MM-dd"
- value-format="yyyy-MM-dd">
- </el-date-picker>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="备注" align="center" width="150">
- <template slot-scope="scope">
- <el-input placeholder="请输入备注" v-model="scope.row.remark"></el-input>
- </template>
- </el-table-column>
-
- <el-table-column label="操作" align="center" fixed="right" width="150">
- <template slot-scope="scope">
- <el-tooltip class="item" effect="dark" content="新增" placement="top">
-
- <el-button
- size="mini"
- type="primary"
- icon="el-icon-circle-plus-outline"
- @click="handleEdit(scope.$index, scope.row)">
- </el-button>
- </el-tooltip>
- <el-tooltip class="item" effect="dark" content="删除" placement="top">
-
- <el-button
- size="mini"
- type="danger"
- icon="el-icon-delete"
- @click="handleDelete(scope.$index, scope.row)">
- </el-button>
- </el-tooltip>
-
- </template>
- </el-table-column>
-
- </el-table>
- </el-form>
-
-
- </div>
- </div>
-
- </template>
-
- <script>
- import stockInDialog from './Dialog/stockInDialog'
- import { uParseTime } from '@/utils/tools'
- import {getDataConfig } from "@/utils/data";
- import {
- deleteWarehouseInfo,
- GetAllConfig,
- GetAllGoodInfo,
- GetAllGoodInfoByID,
- GetAllGoodType,
- getWarehouseInfoByOrdeNumber,
- modifyWarehouseInfo,
- postWarehouse,
- postSearchGoodList
- } from '@/api/stock'
- import BreadCrumb from '../components/bread-crumb'
-
- export default {
- components: { BreadCrumb, stockInDialog },
- name: 'stockIn',
-
- data() {
- var checkGoodId = (rule, value, callback) => {
- setTimeout(() => {
- if (value == '' || value == 0) {
- return callback(new Error('规格名称不能为空'))
- }
- }, 2000)
- }
-
- return {
- crumbs: [
- { path: false, name: '库存管理' },
- { path: false, name: '耗材入库单' },
- { path: false, name: '新增入库单' }
- ],
- crumbs2: [
- { path: false, name: '库存管理' },
- { path: false, name: '其他入库单' },
- { path: false, name: '新增入库单' }
- ],
- signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
- warehousing_time: '',
- adminUserOptions: null,
- currentIndex: 0,
-
- recordInfo: {
- recordData: [],
- stock_in_code: '',
- current_index: ''
-
- },
- tableRules: {
- price: [
- { required: true, message: '单价不能为空', trigger: 'blur' }
- ],
- warehousing_count: [
- { required: true, message: '数量不能为空', trigge: 'blur' }
- ],
-
- good_id: [
- { validator: checkGoodId, trigger: 'blur' }
- ]
-
- },
- type: this.$route.query.type,
- total: '',
- product_date: '',
- expiry_date: '',
- numbers: '',
-
- // prop
- isVisibility: false,
- propForm: {
- goods: [],
- goodType: [],
- goodInfo: [],
- goodUnit: [],
- title: '入库',
- formValue: {
- good_type_id: '',
- good_id: '',
- number: '',
- product_date: '',
- expiry_date: '',
- warehousing_count: '',
- price: '',
- remark: '',
- dealer: '',
- manufacturer: ''
-
- },
- isCreated: 1
-
- },
-
- goodInfo: {
- loading: false,
- goodTypeData: [],
- type_code: ''
- },
- form: {
- manufacturer: '',
- dealer: ''
- },
-
- formValue: {
- good_type_id: '',
- good_id: '',
- number: '',
- product_date: '',
- expiry_date: '',
- warehousing_count: '',
- price: '',
- remark: '',
- dealer: '',
- manufacturer: ''
-
- },
-
- manufacturer: [],
- dealer: [],
- goodType: [],
- manufacturerList:[],
- goodList:[]
- }
- },
- methods: {
- handleSave: function() {
- if (this.recordInfo.recordData.length <= 0) {
- this.$message.error('请添加入库信息')
- return
- }
- sessionStorage.removeItem('warehousing_orders')
- this.$router.back(-1)
- }, handleCancle: function() {
- this.$confirm('是否放弃编辑返回上一页?', '放弃编辑', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- sessionStorage.removeItem('warehousing_orders')
- this.$router.back(-1)
- }).catch(() => {
-
- })
- }, handleCreate: function() {
-
- this.propForm.formValue = {}
- this.propForm.isCreated = 1
- this.isVisibility = true
- },
- comfirm: function(val) {
- console.log("val99999999999999",val)
- this.propForm.goodType = []
- this.propForm.goods = []
-
- this.$refs.dialog.hide()
- console.log(val)
- if (val.selectedGoodInfo.length > 0) {
- for (let i = val.selectedGoodInfo.length - 1; i >= 0; i--) {
- if (i == 0) {
- this.recordInfo.recordData[this.currentIndex].good_type_id = val.selectedGoodInfo[i].good_type_id
- this.recordInfo.recordData[this.currentIndex].good_id = val.selectedGoodInfo[i].id
- this.recordInfo.recordData[this.currentIndex].price = val.selectedGoodInfo[i].buy_price.toString()
- this.recordInfo.recordData[this.currentIndex].good_unit = val.selectedGoodInfo[i].good_unit
- this.recordInfo.recordData[this.currentIndex].good_name = val.selectedGoodInfo[i].good_name
- } else {
- const tempForm = {}
- tempForm['good_type_id'] =val.selectedGoodInfo[i].good_type_id
- tempForm['good_id'] = val.selectedGoodInfo[i].id
- tempForm['number'] = ''
- tempForm['product_date'] = ''
- tempForm['expiry_date'] = ''
- tempForm['warehousing_count'] = ''
- tempForm['price'] = val.selectedGoodInfo[i].buy_price.toString()
- tempForm['remark'] = ''
- tempForm['dealer'] = ''
- tempForm['manufacturer'] = ''
- tempForm['good_unit'] = val.selectedGoodInfo[i].good_unit
- tempForm['good_name'] = val.selectedGoodInfo[i].good_name
- this.recordInfo.recordData.splice(this.currentIndex + 1, 0, tempForm)
- }
- }
- }
-
- this.currentIndex = -1
- }, cancle: function() {
- this.propForm.goodType = []
- this.propForm.goods = []
- this.$refs.dialog.hide()
- },
- GetAllGoodType: function() {
- GetAllGoodType().then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg)
- return false
- } else {
- for (let i = 0; i < response.data.data.goodType.length; i++) {
- this.propForm.goodType.push(response.data.data.goodType[i])
- }
- }
- })
- },
- GetAllGoodInfo: function() {
- GetAllGoodInfo().then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg)
- return false
- } else {
- for (let i = 0; i < response.data.data.goodInfo.length; i++) {
- this.propForm.goodInfo.push(response.data.data.goodInfo[i])
- }
- }
- })
- }, GetConfigInfo: function() {
- const loading = this.$loading({
- lock: true,
- text: 'Loading',
- spinner: 'el-icon-loading',
- background: 'rgba(0, 0, 0, 0.7)'
- })
-
- GetAllConfig().then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg)
- return false
- } else {
- this.manufacturer = response.data.data.manufacturer
- this.dealer = response.data.data.dealer
- this.goodType = response.data.data.goodType
- this.goodInfo = response.data.data.goodInfo
- this.manufacturer.splice(0, 0, { id: 0, manufacturer_name: '全部' })
- this.dealer.splice(0, 0, { id: 0, dealer_name: '全部' })
- this.manufacturer.splice(0, 0, { id: -1, manufacturer_name: '其他' })
- this.dealer.splice(0, 0, { id: -1, dealer_name: '其他' })
- this.form.manufacturer = 0
- this.form.dealer = 0
- }
- loading.close()
-
- })
- }, typeName: function(good_type_id) {
- let name = ''
- for (let i = 0; i < this.goodType.length; i++) {
- if (this.goodType[i].id == good_type_id) {
- name = this.goodType[i].type_name
- }
- }
- return name
- }, specificationName: function(good_info_id) {
-
- let name = ''
- for (let i = 0; i < this.goodInfo.length; i++) {
- if (this.goodInfo[i].id == good_info_id) {
- name = this.goodInfo[i].specification_name
- }
- }
- return name
- }, handleEdit: function(index, row) {
- const tempObj = {}
- tempObj['good_type_id'] = 0
- tempObj['good_id'] = 0
- tempObj['number'] = ''
- tempObj['product_date'] = ''
- tempObj['expiry_date'] = ''
- tempObj['warehousing_count'] = ''
- tempObj['price'] = ''
- tempObj['remark'] = ''
- tempObj['dealer'] = ''
- tempObj['manufacturer'] = ''
- tempObj['good_unit'] = ''
- tempObj['specification_name'] = ''
- tempObj['name'] = ''
- this.recordInfo.recordData.push(tempObj)
- }, handleDelete: function(index, row) {
- if (this.recordInfo.recordData.length <= 1) {
- this.$message.error('只有一条记录的时候无法删除')
- return
- } else {
- this.recordInfo.recordData.splice(index, 1)
- }
- }, calculate: function(val) {
- if (val == 0) {
- return ''
- }
- return Math.round(parseFloat(val) * 100) / 100
- },
- GetWarehouseInfoByOrdeNumber: function() {
- const params = {
- 'warehousing_order': sessionStorage.getItem('warehousing_orders')
- }
- this.recordInfo.recordData = []
- getWarehouseInfoByOrdeNumber(params).then(response => {
- if (response.data.state != 0) {
-
- for (let i = 0; i < response.data.data.info.length; i++) {
- this.recordInfo.recordData.push(response.data.data.info[i])
- }
- console.log("333333333",this.recordInfo.recordData)
- }
- })
- }, getTime(val, temp) {
- if (val != 0) {
- return uParseTime(val, temp)
- } else {
- return ''
- }
- },
- showDialog(index, row) {
- const loading = this.$loading({
- lock: true,
- text: 'Loading',
- spinner: 'el-icon-loading',
- background: 'rgba(0, 0, 0, 0.7)'
- })
- this.currentIndex = index
- this.isVisibility = true
- const params = {
- manufacturer_id: this.form.manufacturer,
- dealer_id: this.form.dealer
- }
- this.propForm.goods = []
-
- GetAllGoodInfoByID(params).then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg)
- return false
- loading.close()
-
- } else {
- loading.close()
-
- if (response.data.data.goodInfo.length <= 0) {
- this.$message.error('该厂商或经销商没有物品信息')
- return
- }
- this.$refs.dialog.show()
- for (let i = 0; i < response.data.data.goodInfo.length; i++) {
- this.propForm.goodType.push(response.data.data.goodInfo[i].type)
- }
- const obj = {}
- this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
- obj[next.id] ? '' : obj[next.id] = true && cur.push(next)
- return cur
- }, []) // 设置cur默认类型为数组,并且初始值为空的数组
- }
-
- for (let i = 0; i < this.propForm.goodType.length; i++) {
- let goodInfo = []
- let goodObj = {}
-
- for (let a = 0; a < response.data.data.goodInfo.length; a++) {
- var respObj = response.data.data.goodInfo[a]
- respObj['isSelected'] = false
- if (respObj.type.id == this.propForm.goodType[i].id) {
- goodInfo.push(respObj)
- }
- }
- const obj = {}
- goodInfo = goodInfo.reduce((cur, next) => {
- obj[next.id] ? '' : obj[next.id] = true && cur.push(next)
- return cur
- }, []) // 设置cur默认类型为数组,并且初始值为空的数组
-
- this.$set(goodObj, this.propForm.goodType[i].id, goodInfo)
- this.propForm.goods.push(goodObj)
-
- }
- console.log( this.propForm.goods)
- }
- )
- },
- getSummaries(param) {
- const { columns, data } = param
- const sums = []
- columns.forEach((column, index) => {
- if (index === 0) {
- sums[index] = '总价'
- return
- }
- const values = data.map(item => Number(item[column.property]))
- if (!values.every(value => isNaN(value))) {
- sums[index] = values.reduce((prev, curr) => {
- const value = Number(curr)
- if (!isNaN(value)) {
- return prev + curr
- } else {
- return prev
- }
- }, 0)
- sums[index] += ' 元'
- } else {
- sums[index] = 'N/A'
- }
- })
-
- return sums
- }
- ,
- back() {
- this.$router.go(-1)
- }
- ,
- submit() {
- this.$refs['tableForm'].validate((valid) => {
- if (valid) {
- const array = this.recordInfo.recordData
- console.log("array9999999",array)
-
- for (let i = 0; i < array.length; i++) {
- if (array[i].good_type_id == 0) {
- this.$message.error('商品类型不能为空')
- return
- }
- array[i].price = array[i].price.toString()
- }
-
- if(this.recordInfo.recordData.length <= 0){
- this.$message.success('请添加入库商品')
- return
- }
-
- const params = {
- 'stockIn': this.recordInfo.recordData
- }
-
- postWarehouse(params, this.warehousing_time, this.form.manufacturer, this.form.dealer, this.type).then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg)
- return false
- } else {
- this.$message.success('入库成功')
-
- this.$router.back(-1)
- }
- })
- } else {
- return false
- }
- })
- }
- ,
- changeManufacturer(val) {
-
- }, changeDealer(val) {
-
- },
- getDataConfig(module, filed_name){
- return getDataConfig(module, filed_name)
- },
- querySearchAsync(keyword, cb) {
- let key = '';
- if (keyword != undefined) {
- key = keyword
- }
- console.log("keyrowrd",key)
- postSearchGoodList(key).then(response => {
- if (response.data.state == 1) {
-
- var list = response.data.data.list
- this.goodList = list
- var manufacturerList = response.data.data.manufacturerList
- this.manufacturerList = manufacturerList
- for(let i=0;i<this.goodList.length;i++){
- for(let j=0;j<this.manufacturerList.length;j++){
- if(this.goodList[i].manufacturer == this.manufacturerList[j].id){
- this.goodList[i].manufacturer = this.manufacturerList[j].manufacturer_name
- }
- }
- }
-
- cb(this.goodList)
- } else {
- cb([])
- }
- })
- },
- changeGoodName(val){
- this.currentIndex = val
- },
- handleSelect(val){
- console.log("val",val)
- for(let i=0;i<this.recordInfo.recordData.length;i++){
- if(this.currentIndex == i){
- this.recordInfo.recordData[i].good_type_id = val.id
- this.recordInfo.recordData[i].good_name = val.good_name
- this.recordInfo.recordData[i].good_type_id = val.good_type_id
- this.recordInfo.recordData[i].name = val.specification_name + "*" + val.min_number+val.min_unit
- this.recordInfo.recordData[i].number = val.number
- this.recordInfo.recordData[i].manufacturer = val.manufacturer
- this.recordInfo.recordData[i].remark = val.remark
- this.recordInfo.recordData[i].price = val.buy_price
- this.recordInfo.recordData[i].specification_name = val.specification_name
- this.recordInfo.recordData[i].good_id = val.id
- this.recordInfo.recordData[i].min_unit = val.min_unit
- }
- }
- }
- }
- ,
- created() {
- var nowDate = new Date()
- var nowYear = nowDate.getFullYear()
- var nowMonth = nowDate.getMonth() + 1
- var nowDay = nowDate.getDate()
- this.warehousing_time =
- nowYear +
- '-' +
- (nowMonth < 10 ? '0' + nowMonth : nowMonth) +
- '-' +
- (nowDay < 10 ? '0' + nowDay : nowDay)
- const tempObj = {}
- tempObj['good_type_id'] = 0
- tempObj['good_id'] = 0
- tempObj['number'] = ''
- tempObj['product_date'] = ''
- tempObj['expiry_date'] = ''
- tempObj['warehousing_count'] = ''
- tempObj['price'] = ''
- tempObj['remark'] = ''
- tempObj['dealer'] = ''
- tempObj['manufacturer'] = ''
- tempObj['good_unit'] = ''
- tempObj['good_name'] = ''
- tempObj['specification_name'] = ''
- tempObj['name'] = ''
- this.recordInfo.recordData.push(tempObj)
- this.GetConfigInfo()
- this.propForm.goodUnit = this.$store.getters.good_unit
-
- console.log("单位",this.getDataConfig('hemodialysis','units'))
- }
-
- }
- </script>
-
- <style>
- #oictable ::-webkit-scrollbar {
- height: 15px;
- }
- </style>
-
- <style rel="stylesheet/css" lang="scss" scoped>
- .information {
- border: 1px #dcdfe6 solid;
- padding: 30px 20px 30px 20px;
-
- .border {
- border-bottom: 1px #dcdfe6 solid;
- margin: 0px 0 20px 0;
- }
-
- }
-
- .edit_separater {
- border-top: 1px solid rgb(233, 233, 233);
- margin-top: 15px;
- margin-bottom: 15px;
- }
-
- </style>
-
- <style>
- .sign-and-weigh-box .sign-and-weigh-box-patients .cell {
- font-size: 12px;
- }
-
- .sign-and-weigh-box .sign-and-weigh-box-patients .current-row > td {
- background: #6fb5fa;
- }
-
- </style>
|